Support v7 Demos
MediaRouter/Dark Theme
MediaRouter/Light Theme
MediaRouter/Light Theme, Dark Action Bar
This activity demonstrates how to
use MediaRouter from the support library. Select a route from the action bar.
Play on...
Sample route settings
Use default media control
My Media Control
Library
Playlist
Route Info
Media Route Provider Service Support Library Sample
Fixed Volume Remote Playback Route
Variable Volume (Basic) Remote Playback Route
Variable Volume (Queuing) Remote Playback Route
Variable Volume (Session) Remote Playback Route
Variable Volume Route Group
Mixed Volume Route Group
Sample route from Support7Demos
GridLayout/1. Simple Form
GridLayout/2. Form (XML)
GridLayout/3. Form (Java)
Type here:
Ok
Cancel
AppCompat/Action Bar/Action Bar Mechanics
AppCompat/Action Bar/Action Bar Usage
AppCompat/Action Bar/Action Bar Tabs
AppCompat/Action Bar/Settings Action Provider
AppCompat/Action Bar/ShareActionProvider
Handling in onOptionsItemSelected avoided
AppCompat/Action Bar/Navigation Drawer Toggle
AppCompat/Action Bar/Preferences
AppCompat/Action Bar/Action Mode
AppCompat/Action Bar/Hide on Scroll
AppCompat/Widgets/Buttons
AppCompat/Widgets/Spinners
AppCompat/Widgets/Text Input
AppCompat/Widgets/Text Views
Search
Add
Add description
Add tooltip
Edit
Edit description
Edit tooltip
Share
Sort
Alphabetically
By size
Settings
AppCompat/Action Bar/Display Options
DISPLAY_HOME_AS_UP
DISPLAY_SHOW_HOME
DISPLAY_USE_LOGO
DISPLAY_SHOW_TITLE
DISPLAY_SHOW_CUSTOM
Navigation
Cycle Custom View Gravity
Toggle Visibility
Custom View!
Menu Item
Add new tab
Remove last tab
Toggle tab mode
Remove all tabs
AppCompat/Action Bar/Fragment Menu
Build menus from three fragments, the last one
nested, allowing you to hide them to remove them...
Show fragment 1
Show fragment 2
Show nested fragment (within fragment 2)
Set has options menu to true
Set menu visibility to true
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.
AppCompat/Toolbar/Toolbar as Action Bar
AppCompat/Toolbar/Toolbar Display Options
AppCompat/Toolbar/Toolbar Fragment ViewPager
AppCompat/Toolbar/Action Mode
AppCompat/Dialog/Dialog Usage
My great dialog
My great dialog is great
AppCompat/Dialog/AlertDialog Usage
AppCompat/Dialog/DialogFragment Usage
Remote Playback (Simulated)
Local Playback
Local Playback on Presentation Display
RecyclerView/RecyclerViewActivity
RecyclerView/PagerRecyclerViewActivity
RecyclerView/Animated RecyclerView
RecyclerView/Nested RecyclerView
RecyclerView/Linear Layout Manager
RecyclerView/Janky Linear Layout Manager
RecyclerView/Grid Layout Manager
RecyclerView/Staggered Grid Layout Manager
RecyclerView/AsyncListUtil
Horz.
Rev.
Layout Dir
Stack From End
Snap
Animate
Predictive
In Place Change
Slow inflate
Slow bind
Prefetch
Add
Del
A+D
D+A
d1a2d3
Card View
Radius
Width
Height
Background
Elevation
Max Elevation
Alpha
Sample text on right
Resize CardView
Resize Content
Selector
Palette
Full color palette
Search...
RecyclerView/Sorted List
RecyclerView/Diff Util
Add New Item
Start Action Mode
RecyclerView/ItemTouchHelper/Swipe To Dismiss
RecyclerView/ItemTouchHelper/Drag and Drop Activity
start
end
pointer swipe
custom swipe
up
down
long press drag
drag me
swipe me
swiping
vertical
Drawer layout
This activity illustrates the use of sliding drawers. The drawer may be pulled out from the starting edge, which is left on left-to-right locales, with an edge swipe. You can tap the hamburger (three horizontal lines) icon at the starting side of the action bar to open the drawer as well.
Navigation
Open navigation drawer
Close navigation drawer
MODE_NIGHT_YES
MODE_NIGHT_NO
MODE_NIGHT_AUTO
AppCompat/DayNight/Activity Usage
AppCompat/DayNight/Dialog Usage
AppCompat/DayNight/AlertDialog Usage
AppCompat/List popup window
This activity illustrates the use of list popup windows. The popup window is shown by clicking the button above. The checkbox controls the modality. The text area below logs various events - it should log a tap on itself when a non-modal popup window is dismissed by tapping on the log area.
Show popup!
is modal
AppCompat/Popup menu
This activity illustrates the use of popup menus. The popup menu is shown by clicking the button above. The text area below logs various events.
Show popup!
Use default elevation on popup
Highlight
Highlight description
Highlight tooltip
Edit
Edit description
Edit tooltip
Delete
Ignore
Share
Via email
To my circles
Print
AppCompat/ListView styling
AnimatedVectorDrawableCompat does not work on devices running API v10 or below
AppCompat/Integrations/AnimatedVectorDrawable
DAY
Plain enabled
Plain disabled
With link enabled
With link disabled
AppCompat/Menu Item Icons