OSDN Git Service

Some cleanup of fragment API demos:
authorDianne Hackborn <hackbod@google.com>
Tue, 4 Jan 2011 19:35:55 +0000 (11:35 -0800)
committerDianne Hackborn <hackbod@google.com>
Tue, 4 Jan 2011 19:39:22 +0000 (11:39 -0800)
commit9d247ad58babd36cf9fab06d3dcc9697f4316f45
treeca6bd1de1c814f92853fed897ccbfef47be653e7
parentd7394da1a054d73ef1ccd305e9fda3c697c6af20
Some cleanup of fragment API demos:

- Rename FragmentAnim to FragmentHideShow, and tweak it to look
  less stupid.
- Reworking FragmentLayout to better represent a typical way to
  use fragments.
- Tweak various UI elements.

Change-Id: I3f4861c33bafafd27108fe0e4193e0ac7711f69e
14 files changed:
samples/ApiDemos/AndroidManifest.xml
samples/ApiDemos/res/layout-land/fragment_layout.xml
samples/ApiDemos/res/layout/fragment_context_menu.xml
samples/ApiDemos/res/layout/fragment_dialog.xml
samples/ApiDemos/res/layout/fragment_dialog_or_activity.xml
samples/ApiDemos/res/layout/fragment_hide_show.xml [moved from samples/ApiDemos/res/layout/fragment_anim.xml with 78% similarity]
samples/ApiDemos/res/layout/fragment_menu.xml
samples/ApiDemos/res/layout/fragment_retain_instance.xml
samples/ApiDemos/res/layout/hello_world.xml
samples/ApiDemos/res/layout/receive_result.xml
samples/ApiDemos/res/values/strings.xml
samples/ApiDemos/src/com/example/android/apis/app/FragmentHideShow.java [moved from samples/ApiDemos/src/com/example/android/apis/app/FragmentAnim.java with 83% similarity]
samples/ApiDemos/src/com/example/android/apis/app/FragmentLayout.java
samples/ApiDemos/src/com/example/android/apis/app/FragmentStack.java