Commit Graph

14 Commits

Author SHA1 Message Date
Philip Milne
888ac28d79 Fixes to GridLayout demos.
Include a GridLayout version of the "Simple Form" example provided in the
LinearLayout and RelativeLayout demos.

Make the existing Form demo work on all devices and orientations
(it was previously too wide for portrait mode).

Change-Id: Ia01d49230bc3ef3d2e70bc34e936c8b4b421b796
2012-11-01 13:16:37 -07:00
Dianne Hackborn
10c33528e0 Extract support lib samples out of ApiDemos and in to their own app.
Change-Id: I2ca344e5f1b44c4825de938c9a4f9375a523ede5
2011-05-27 18:40:15 -07:00
Dianne Hackborn
6b3f9b3ac9 Clean up support library samples.
Move them off into their own directory, so it is less confusing to
find them.

Also put in some additional samples -- throttle and arguments.

And add some docs.

Change-Id: I221e56c7ff203934796979bb5ed7ab8835f84b83
2011-03-08 18:18:10 -08:00
Dianne Hackborn
7f308f27bf New API demo showing arguments to fragments.
Change-Id: I5bc41bb23b7ac6a6d7cbbd08cec67879dc4ae2fe
2011-03-03 22:20:11 -08:00
Dianne Hackborn
9fd3b6e993 New sample code for fragment support library.
Also tweak a few things to make the demos run on Donut.

Change-Id: I298fdf8fb0f12ee6db10e66657a22e19a527811a
2011-02-24 15:18:25 -08:00
Dianne Hackborn
ab88ed55d7 Hide XML adapter sample, since the APIs are now gone.
Also tweak API demos to use the new pretty background.

Change-Id: Idbb523880fff81f6e0f3ca241e4bdaa1dbc2f8f2
2011-01-04 17:28:02 -08:00
Dianne Hackborn
9d247ad58b 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
2011-01-04 11:39:22 -08:00
Dianne Hackborn
8fc1811242 Make FramementLayout demo better... and, um actually work.
Also some other small cleanup.

Change-Id: Iaaf5d4a85113b4a01a4bd3986e2334972e1096ad
2010-09-21 19:29:47 -07:00
Dianne Hackborn
b15335142e Update preference samples.
Change-Id: Ia78d9c0f4f7e58f500aef55413b911904d0c40cd
2010-08-26 17:09:27 -07:00
Dianne Hackborn
1164f90b8a Update API demos to mark up for java doc insertion.
Change-Id: Ib0147af6c82f7781fd50f9a5f85c34c140973909
2010-08-17 18:53:23 -07:00
Dianne Hackborn
9e6f12a598 Update to follow fragment API changes.
Also make use of fragment arguments and targets to simplify code.

Change-Id: I79884854f4c7ff4fdc35c68087b5b2235a75c79f
2010-08-15 17:18:15 -07:00
Dianne Hackborn
132ab286a1 Update preference example to show switching with fragments.
Change-Id: I2b1db31b5e1a0e83d843ad68b0a177048d2914f4
2010-08-03 17:07:45 -07:00
Dianne Hackborn
05c2cb0748 Add sample code for PreferenceFragment.
Change-Id: I64222124daa117a2ea61dc55f2e26af78d3689c2
2010-07-28 16:07:15 -07:00
Dianne Hackborn
165ca04d0e Add new fragment demo for changing with config.
This changes the FragmentLayout demo to show how the layout
(and entire UI flow) can easily be changed based on screen configuration
using fragments.  Here we have different UI for landscape vs portrait.

The old FragmentLayout demo is renamed to FragmentAnim and extended a
bit.

Various other tweaks to follow fragment API changes.

Change-Id: I8df918dbf32b3617cae2b20f77eb37d8211b8c89
2010-05-19 19:25:46 -07:00