* UI is organized into multiple screens to make it easier to understand
* More feedback about local vs global (aggregate) policies
* Uses preference fragments for modern appearance
Backport of: I075161d389942786e6c95483becbff7ebe847078
Change-Id: Ie88c1577b2ebae124615cc4b45968851cf11187e
* UI is organized into multiple screens to make it easier to understand
* More feedback about local vs global (aggregate) policies
* Uses preference fragments for modern appearance
Change-Id: I075161d389942786e6c95483becbff7ebe847078
* Add Check Password button
* Use it to report overall password status - isActivePasswordSufficient()
and various password settings.
* Fixed a minor bug that cause the password quality to be reset to
"unspecified" every time you start the activity.
* Leave the two password buttons enabled all the time (set password
can be used when not active, and check password just puts up a toast
explaining why it can't be used when inactive.)
This code can be used to confirm bug b/4445007 and hopefully its fix, too.
Change-Id: I136706072257d2e49184a29b0aa5d7a524960c40
Also clean up the demo for the w/h qualifiers to use numbers
that are the same as what we will be recommending.
Change-Id: I87ed35d8dfcb41985e19f450f7853f883effd207
New API demo for the support library FragmentPager class.
Add API demo for new -wNNNdp and -hNNNdp configs.
Add new API demo for implementing a custom loader.
Also turn the fragment cursor list demo into a loader cursor demo.
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
When a container's child count goes to zero, it may report a measurement size
of zero. This affects LayoutTransition's fading-out of target views
because they may get clipped out by a layout that got sized to 0 because it
thinks it has no children. The workaround is to tell the layout to size itself
either with some minimal size (in the case of the FixedGridLayout used by some
demos) or with match_parent in some cases to ensure that the layout always has
some nonzero size.
Change-Id: I908e64d4fb054928af277a021a328e94477c9c83
Shows how to make a basic custom theme with a custom background,
and a theme that selects between the old theme and Holo.
Also use a little trick to make the API demos for HC specific
samples be hidden on older versions of the platform.
Change-Id: Ie53e8103147e81975fca73b96bda989a00504534
This is to show off and test the handling of views that become
visible after the primary ACTION_DRAG_STARTED broadcast happens.
Change-Id: I8bb575c2e055a9d60fc6ed8bc77457dec13a80b4
startDrag() that crosses application boundaries will remain @hide until we get
more of the surrounding behaviors nailed down.
Drag-and-drop demo updated to only show app-local drag operations pro tem.
Change-Id: I9cdcd132c1aae45bc472e70293b7187b4cba9bca
The new sample code is a complete self-contained end-to-end
implementation of a content provider populating a list view
through a loader, dynamically changing its contents based on
user input in about 500 lines.
Once the framework support is implemented, this will demonstrate
using CursorLoader's new throttling feature.
Change-Id: Ia67da7284607477125c613c3135f93bc1d95d0cb
- 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