Support v4 Demos
Hello, World!
Lorem ipsum dolor sit aie consectetur adipiscing\nPlloaso mako nuto
siwuf cakso dodtos anr koop.
OK
Cancel
Initial text.
Pick a result to send, or BACK to cancel.
Corky
Violet
Press the button to get an activity result, which will be displayed here:
Get Result
Fragment/Alert Dialog
Fragment/Arguments
Demonstrates a fragment that takes arguments
as a Bundle at runtime (on the right) or from attributes in a layout (on the left).
From Attributes
Landscape Only
Fragment/Custom Animation
Fragment/Hide and Show
Fragment/Context Menu
Fragment populating a context
menu; long press the button to see.
Long press me
Fragment/Dialog
Show
Hide
Fragment/Dialog or Activity
Demonstrates the same fragment
being shown as a dialog and embedded inside of an activity.
Fragment embedded inside
of the activity:
Fragment/Layout
Fragment/List Array
Fragment/Menu
Build menus from two fragments, allowing
you to hide them to remove them..
Show fragment 1 menu
Show fragment 2 menu
Fragment/Nesting Tabs
Fragment/Retain Instance
Current progress of retained fragment;
restarts if fragment is re-created.
Restart
Fragment/Receive Result
Fragment/Stack
Go home
Add new
Pop top
Fragment/Tabs
Fragment/Tabs and Pager
Fragment/Pager
First
Last
Fragment/State Pager
Loader/Cursor
Loader/Retained
Loader/Custom
Loader/Throttle
Content/Local Service Broadcaster
Demonstrates use of LocalBroadcastManager
to communicate from a Service to an Activity.
Start Service
Stop Service
Content/Simple WakefulReceiver
Demonstrates use of WakefulBroadcastReceiver
to keep the device awake while dispatching a broadcast to a service.
Wakeup in 30 seconds
Alarm scheduled
Accessibility/Accessibility Manager
1. Enable TalkBack from Settings->Accessibility.
\n2. Go back to this activity.
\n3. Disable TalkBack from Settings->Accessibility.
No enabled accessibility services or API level lower than ICS.
ENABLED ACCESSIBILITY SERVICES:
\n\nService: %1$s\nFeedback: %2$s\nDescription: %3$s\nSettings: %4$s\n
Accessibility enabled: %1$s
Accessibility/Accessibility Delegate
1. Enable TalkBack from Settings->Accessibility.
\n2. Go back to this activity.
\n3. Touch the button below.
Button
Custom text added via an accessibility delegate.
Share some text
Share a file
Share multiple files
App/ShareCompat Demo
ShareCompat Receiver
Content/FileProvider example
Without BidiFormatter:
With BidiFormatter:
Text/BidiFormatter Demo
Media/TransportController
View/View pager
Widget/Sliding pane layout
This activity illustrates the use of sliding panes. The content pane may be slid to one side on narrow devices to reveal the left pane used to select content. Sliding panes can be used to fit a UI intended for wider screens in a smaller space. Tapping the Action Bar\'s Up button at the left side of the bar will navigate up in the hierarchy, represented by the left pane. If you rotate the device to landscape mode, on most devices you will see that both panes fit together side by side with no sliding necessary.
Widget/Explore by Touch helper
Sample item A
Sample item B
Widget/Content Loading Progress Bar
Widget/SwipeRefreshLayout
Widget/Nested Scrolling
This is some long text. It just keeps going. Look at it. Scroll it. Scroll the nested version of it. This is some long text. It just keeps going. Look at it. Scroll it. Scroll the nested version of it. This is some long text. It just keeps going. Look at it. Scroll it. Scroll the nested version of it. This is some long text. It just keeps going. Look at it. Scroll it. Scroll the nested version of it. This is some long text. It just keeps going. Look at it. Scroll it. Scroll the nested version of it. This is some long text. It just keeps going. Look at it. Scroll it. Scroll the nested version of it. This is some long text. It just keeps going. Look at it. Scroll it. Scroll the nested version of it. This is some long text. It just keeps going. Look at it. Scroll it. Scroll the nested version of it. This is some long text. It just keeps going. Look at it. Scroll it. Scroll the nested version of it. This is some long text. It just keeps going. Look at it. Scroll it. Scroll the nested version of it.
regular
round
Not tint
Color tint
Color state list