Commit Graph

70 Commits

Author SHA1 Message Date
Chris Banes
12edcb5d03 Remove the redundant dependency on Support7Demos
Change-Id: I5cf4e061547ad33caa71f802f7a36b36468d17bf
2015-04-07 19:17:46 +01:00
Chris Banes
2ea6b5d060 Add hide on scroll demo
Change-Id: I1c76ad7c5f2c37a4cdfde4e73b9579ec3a633fcb
2015-03-23 10:01:15 +00:00
Chris Banes
2797e1a401 Merge "AlertDialog Demo" into lmp-mr1-ub-dev 2015-02-20 12:00:52 +00:00
Chris Banes
0dfad9e6b0 Add ActionMode demos to Support7Demos
Change-Id: I6e98fbe932f3c9569a96cdfac8fe54b7913d2784
2015-02-17 12:02:38 +00:00
Chris Banes
5ffcd96f0b AlertDialog Demo
Change-Id: Iffbc9bccbc5f6a2975368dceaf3b9e76854df6eb
2015-02-11 16:38:54 -08:00
Chris Banes
f212598d83 Add new SupportDesignDemos sample app
- I've moved the design stuff from Support7Demos

Change-Id: Ibb62a1692550419fea25d297aca5c0c7da0b0dbd
2015-02-10 11:12:30 -08:00
Chris Banes
42e327a729 Add button bar dialog sample
BUG: 19192942
Change-Id: I942cbd427c521efc7e284d5dea033e7026f689bb
2015-01-29 21:14:09 +00:00
Chris Banes
563eac6b8a Add FAB Sample to Support7Demos
Depends on Ia88c28c2ab0da0779f1092495e3a417969cb1d2a

Change-Id: Id1505396a9d062ede626dbdeb352abccd9494ce9
2015-01-26 15:21:13 +00:00
Chris Banes
c3716abd3c Merge "Add some samples for AppCompat's styled widgets" into lmp-mr1-ub-dev 2015-01-23 21:18:38 +00:00
Chris Banes
743aa0de96 Add some samples for AppCompat's styled widgets
Change-Id: I930044339024d01c5ad4a2cfafca184c8c72dc8a
2015-01-23 10:13:10 +00:00
Yigit Boyar
5366c30c84 SortedList demo activity
This CL adds a new activity which demostrates using a
SortedList with a RecyclerView.

Bug: 18753633
Change-Id: I02307df129d44ac8a110a8c7f467787870336cf1
2015-01-22 13:25:48 -08:00
Chris Banes
58bf5b99e6 Update Support7Demos with Dialog and Preferences samples
Also move to AppCompatActivity

Depends on I88a7e4de5de85477982e401c832aeae732f81647

Change-Id: I47c6a60ad07915cc391f8b757fef24785874d7ef
2015-01-13 19:05:53 +00:00
Chris Banes
f1cfecc432 Change Support7Demos to use android:theme instead
Change-Id: I17507af86df4ceb38dd76b8414cb77e92aad3627
2015-01-09 09:54:25 +00:00
RoboErik
4424852bbb Updates for compatLib changes to MedaiRouter support lib
The ControllerDialog in MediaRouter now gets the session token from
the MediaRouter instead of needing it to be set. Removed the calls to
set it directly on the dialog.

bug:18186638
Change-Id: If7499108c226d3405ea70e2f332694a92a921e50
2014-12-04 13:51:26 -08:00
RoboErik
e98a5d4e19 Update for MediaSessionCompat support
Switches the MediaRouter sample to using MediaSessionCompat instead of
RemoteControlClient. This goes along with the update to the support lib
for full MediaSessionCompat support of RCC.

bug:18186638
Change-Id: If8dd25346b850512ea8d248012d8a369a39d301f
2014-12-01 15:11:20 -08:00
RoboErik
cdc171cd04 Merge "Update the MediaRouter support demo for new UIs" into lmp-mr1-dev 2014-11-24 23:04:30 +00:00
RoboErik
c00f64fbb9 Update the MediaRouter support demo for new UIs
Updates the MediaRouter support demo for the new material UI spec.

bug:17879842
Change-Id: I3340e65384050fbf561cf506cb5b80028d69d849
2014-11-19 23:32:23 +00:00
Yigit Boyar
82905bae66 Remove deprecated API usage
Bug: 18213371
Change-Id: I6acaec5e8a7e5fa4ce5d7cab7040219048d4dcc6
2014-11-11 18:22:29 -08:00
Yigit Boyar
e70d01bbf5 Add color picker to cardview demo
Bug: 17668891
Change-Id: Id54bae8e37ffb4d1f077ca4ef9a721766277c02e
2014-10-14 12:31:08 -07:00
Chris Banes
cb838606af Merge "Update Support7Demos for L appcompat" into lmp-mr1-dev 2014-10-03 08:37:00 +00:00
Yigit Boyar
52af255018 Don't layout removed scrap views
This CL also changes the addView logic in demo LM. Previously, removed
views were not added. Now, RV takes care of this so LM can simply add them.

Bug: 17783492
Change-Id: I375405ef888fd43f9da0e1a1c13ae54bae381b44
2014-10-02 17:43:03 +00:00
Chris Banes
cbeaa03cb8 Update Support7Demos for L appcompat
New Toolbar samples along with some improvements
for the other Action Bar activities.

Change-Id: I28dca1bd86ea4c269b711f4d10283e71384a33ac
2014-10-02 10:08:24 +01:00
Yigit Boyar
98f71019b1 SupportV7 Navigation Bar Demo
Change-Id: I4347762a621a887ccac03372071abac5b56b52f3
2014-08-29 15:31:39 -07:00
Yigit Boyar
4d101ac303 Add grid manager demo to Support7Demo app
Change-Id: Ie90a4e2be35db1500adcf8e358b3d9d8fccc68b2
2014-08-07 12:46:06 -07:00
Yigit Boyar
eb785dc7f3 Add elevation settings to cardview demo app
Bug: 16501750
Change-Id: I831f191c8db1864ba2f1dfa3af9ffbe4005b2e0c
2014-07-30 13:29:01 -07:00
Yigit Boyar
cc33d7ec0f Update divider item decorator to account for view translation
Bug: 16241985
Change-Id: Id441a07fe547493007e9e05d1039bac526847a1c
2014-07-17 16:37:21 -07:00
Chet Haase
73244273b9 Add RecyclerView animations for change actions
Issue #15691746 RecyclerView item animations for changed/resizing item views

Change-Id: Ibe735eefa704189d17f63406de941d76282e9272
2014-07-10 07:46:18 -07:00
Chris Banes
170658dd69 Update Support7Demos to include Palette demos
Change-Id: Iff13ca1a2551e54a98c655955654cf8be5930d0b
2014-07-08 09:20:06 +01:00
Yigit Boyar
c77710e3eb Remove calls to LM.getItemCount in demos.
Bug: 15410611
Change-Id: Ie31616f792501f29fbb9e68f742563fbb1cde0ca
2014-06-12 15:58:16 -07:00
Chet Haase
2d719d6c71 AnimatedRecyclerActivity demo supports simpler RV item animations
Add logic to AnimatedRecyclerActivity to allow it to opt into, or out of,
predictive item animations in RecyclerView.

Issue #15542012 Simplify RecyclerView animations

Change-Id: Ibb089a98c4d465730cfbff2a9dec369e28feff82
2014-06-10 12:35:41 -07:00
Yigit Boyar
1d6673588c Remove deprecated RecyclerView methods
Change-Id: If9b0aca85221d64dbbb5cda75f985a91de6c67d2
(cherry picked from commit 67bdb44d98)
2014-05-29 17:53:37 +00:00
Yigit Boyar
b5de9c7b9d Added CardView demo to SupportV7 demo app
Change-Id: Ie1b81426dc67c67766eb20fb8f1fc984d25a42cf
2014-05-27 18:32:53 -07:00
Chet Haase
3b3ab0e040 Add demo for animating RecyclerView actions
Change-Id: Ie076db6646cf734706fe2ea8659ee57f3a7742e9
2014-05-17 15:21:44 +00:00
Chet Haase
abbe7bd1e0 Revert "Add demo for animating RecyclerView actions"
This reverts commit 828b2aa2f4.

Change-Id: I0f773b5c42530cad924e454dc816ddc372db95f7
2014-05-15 00:01:07 +00:00
Chet Haase
828b2aa2f4 Add demo for animating RecyclerView actions
Change-Id: Ieb14cfb627663f507c24205d697347a1da389094
2014-05-14 14:01:18 -07:00
Yigit Boyar
c270d6d8ba Updated recycler view demo with smooth scrolling
Change-Id: I039d10a0e707e05dd4c5ce37344f4ecc80d00880
2014-05-02 13:08:21 -07:00
Yigit Boyar
7cbaf60e92 LinearLayoutManager examples
Added a new activity to Support7Demos to showcase LinearLayoutManager.
Extracted helper classes from RecycleViewActivity so that they can be used in other examples.

Change-Id: Id00325afee00eefd259f688e65d6124e23d6eb83
2014-03-27 15:51:53 -07:00
Adam Powell
c12c207351 Update RecyclerView sample to show use of ItemDecoration
Add dividers between list items. These modify the space allocated for
each item.

Change-Id: I995a172ed0b6acef6b84faaa50c02f0ae8db1002
2014-03-13 09:40:35 -07:00
Adam Powell
ff08b2c10c Update Support7Demos for RecyclerView API change
LayoutManager#layoutChildren updates as well as onCreate/onBind
changes for adapters

Change-Id: I9cd1940dac8d3fd60d9219a87ae5b05c609346d6
2014-02-21 18:39:54 -08:00
Adam Powell
8c433780af Update Support7Demos for new RecyclerView additions
Use item range changes instead of full adapter updates

Change-Id: Ia796bdb5138f4762b3fe325da3e5bf02e31042d4
2014-02-13 11:43:26 -08:00
Adam Powell
b9767caa95 Updated Support7Demos to follow RecyclerView API changes
Move off of deprecated RecyclerView API to illustrate preferred
practices.

Change-Id: I6d2b6450bbb29c55090802b2ccafab6661036dcb
2014-01-28 18:51:11 -08:00
Adam Powell
35421b1229 Follow RecyclerView API changes
Change-Id: Ic273cc51cc9d7096a7a0d8b5f90accd5986e275a
2014-01-23 16:11:09 -08:00
Adam Powell
ebea7fc21e Update sample for RecyclerView
Fix some issues around relayout. Add data set changes and cheese.

Change-Id: Ie3651fa16f2eadd0bf1b168b95509172fcf425fe
2014-01-22 10:50:21 -08:00
Adam Powell
544a42f00f Example activity for RecyclerView
Also includes a very basic custom RecyclerView LayoutManager.

Change-Id: Ic6dca39a4e71dbe8b3b82965299bc554fad18a43
2013-12-19 22:17:33 +00:00
Chong Zhang
c1eb23062b Add sample code to customize the MediaRouteControllerDialog
Bug: 11320487
Change-Id: I365c93173a74e99c63d919d2852690eed174d3b3
2013-11-05 09:53:24 -08:00
Chong Zhang
fd6d06a19c mrp sample: refactor and use helper class
Bug: 10955351

Change-Id: Ib607d27bc93a35460c6acd295d29afad3f255e25
2013-10-21 16:36:15 -07:00
Jeff Brown
6a81c4be16 Fix NPE in sample code.
Change-Id: I61b348192cd39813027ae5b4d2cedb2e84b701f1
2013-10-21 11:23:24 -07:00
Jeff Brown
5d3d35ee89 Always register the RCC even for local playback.
Change-Id: I6f2ca31b746f9f53ef9aa6edb674514979ad1893
2013-09-28 00:52:07 +00:00
Chong Zhang
184f79db44 Support7Demo: fix video playback on GB
Change-Id: I2d403832d82428746dd3ccdbe0cfd56315d72ed9
(cherry picked from commit dbcc746cb0d727ac9aed60bb4156b3bf9f4668aa)
2013-08-26 16:25:45 +00:00
Jeff Brown
9299c6cdd8 Ensure sample runs on Gingerbread. (DO NOT MERGE)
Unfortunately, the video does not play due to a MediaPlayer
exception but at least this version does not crash.

Change-Id: I0baf9239a8a12f92b4805bab226f21f46fa63693
(cherry picked from commit 854e16afda)
2013-08-23 03:23:46 +00:00