Add alphabetic shortcuts to the menu in ActionBarUsage. This mirrors
what is already present in a similar support lib demo.
Bug: 31045453
Test: run com.example.android.apis.app.ActionBarUsage on a device
with keyboard shortcuts enabled (such as Chromebook). Action menu
items should display keyboard shortcuts.
Change-Id: I9e6b04df8e2a6cbc728cb60b3706d054521da7cb
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
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
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
also modify the sub-menu item to something that makes sense
and demonstrate how to invalidate the action bar and redraw it
Change-Id: I84f5414c74ab47f7657c226daa2334e7e4449e91