How to create a UI like the new market or Google plus?

后端 未结 4 1789
无人及你
无人及你 2021-01-30 05:30

I was wondering if there is an \"official\" way to create apps for Android that will have the same design as the new Android market or Google+ app. By that I mean having the pos

4条回答
  •  南笙
    南笙 (楼主)
    2021-01-30 06:31

    I believe this is what your referring to ' Android Compatibility Package '

    http://developer.android.com/sdk/compatibility-library.html

    This allows the following:

    ViewPager: A ViewGroup that manages the layout for the child views, which the user can swipe between.

    PagerAdapter: An adapter that populates the ViewPager with the views that represent each page.

    These are used in the G+ app

    ListFragment

    is used in the Market app.

    Your best reading the URL I posted at the top for full description and use.

    Another way to get best practive UI is to read the source of the Google Official Apps:

    Google IO Sched Source

    You might also want to check out some of the Google IO Presentations:

    On the web: Implementing UIs IO 2011

    On your phone: All IO 2011 & 2010 Videos ( Shameless Plug :p )

提交回复
热议问题