Shows the ideal way for a game to interact with system UI, hiding
the status bar and nav bar while being played, making them visible
when paused or otherwise interacting with controls of the game,
and determing layout of game controls to not be covered by the
status bar or nav bar.
Change-Id: Ia192c31321113d81f96c06c7a69a06ef72c4682a
1. Added a sample for printing a bitmap.
2. Added a sample for printing an on-screen WebView.
3. Added s sample for printing an off-screen WebView.
4. Fixed a bug in the custom layout print sample.
Change-Id: I35b2bbf8c7fd9bc39be795b1f793d9ea7bdfc8a0
This is a very comprehensive code sample in which:
1. Layout based on the selected print options is performed.
2. Layout work is performed only if print options change would change the content.
3. Layout result is properly reported.
4. Only requested pages are written.
5. Write result is properly reported.
6. Both Layout and write respond to cancellation.
7. Layout and render of views is demonstrated.
Change-Id: I0179b025b286f0a511cb2268da18c729c66874ba
- Content browser that hides nav bar.
- Translucent bars.
- All the new flags on the direct system UI tweaker example.
Change-Id: I16fc8da252174db1ed45b0f60c37d6cbb8d7f13c
New demo in ApiDemos: animations/Simple Transitions
Issue #10460684 KLP API Review: android.view.transition and android.animation
Change-Id: I2c376343c2b945240bc5f3619786e9354a8c1a10
Adds a sample application which uses the AndroidKeyStore and
KeyPairGenerator for AndroidKeyStore.
Bug: 8608817
Change-Id: Iec78a74461dc259e4080ed1fab7d923593fcdf75
This serves as a complete, formal layout, with attributes
and all that good stuff. Intended for use as sample code
in the java docs.
Change-Id: Ic45b9387d724bf574e2bfb8970b26c7b47fc0a2b
- Buttons for showing/hiding action bar and system UI
in the basic action bar demo.
- New system UI demo that uses a non-overlay action bar.
Change-Id: Id3fbaa77365476489c558a2a43855a01f383551c
New feature in App/Activity/Rotation Animation for overriding
default rotation animation with crossfade or jumpcut.
Change-Id: I3cb3cdb26770e6c7d040f4492eb02149af73b757
Add one of the CTS test videos so the demo works out of the box, and
make the video fill the screen instead of hardcoding it to a tiny size.
Change-Id: Ie26a4ae0e186fe966d0679b088492a0c7d035713
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
Improved the documentation and robustness of the samples.
Modified the existing Presentation sample to use the new
DisplayManager API for querying displays that support a
particular category of uses.
Bug: 7409073
Change-Id: I2a19afa373c408c2bcbaa633370480b717630088
Added three ApiDemos for secure surfaces. One for Activity,
one for Dialog and one for SurfaceView. The mechanism is the
same in each case but the API is a little different.
Bug: 7368436
Change-Id: I78bc2a456b4c0f1a553120d72f433095ba7e038c
Store which Displays are presenting, their images and their
background colors. That way the don't change between onPause
and onResume.
Change-Id: I01328583ef309bf12e7f5750aa4abea50f847a99
[Problem]
LinearLayout5, RelativeLayout2 of ApiDemos has text input field
display error.
[Cause]
They use Holo theme although text input field use old style edit text
drawable as background.
[Solution]
Use default edit text without custom background for RelativeLayout2,
LinearLayout5 sample.
Change-Id: I102bf267119ba0903bd17e898b525af0aa2f0c5d
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
- Content browser now lets you long press to go into selection mode.
- Overscan demo has more options for controlling more window state.
Change-Id: I04cfb58f515882cc6dccd65cb68bc073e53dcad5
UI is now a set of check boxes to toggle the various modes.
Also add new API demos for two typical implementations using
system UI flags: a content browser and a video player.
Change-Id: If93659343cfc42b903b18997a5a0a04ee10e8343