Commit Graph

36 Commits

Author SHA1 Message Date
Vadim Tryshev
218d64bd51 Fixing a crash introduced by my previous CL.
I didn't notice that method deleteItem(View) is used via reflection.
Restoring its (unused) parameter, which is needed for reflection,
but keeping a better name deleteSelectedItems.

Actually, we have a problem that click handlers like this one are also
used as helper methods for other handlers, where View parameter is
unnecessary, but I don't think it's worth fixing, so let's pass View and
not use it.

Bug: 21643257
Change-Id: Ibc0cd919706156ddc00890f322e51cb0774bc26b
2015-06-29 13:27:24 -07:00
Yigit Boyar
074b0611de ItemTouchHelper demo activities
NOTICE: TBR

Change-Id: I8d4c0bd2662fc0deb6465de753c1107938fbe6ee
2015-04-21 18:47:00 -07: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
Yigit Boyar
e70d01bbf5 Add color picker to cardview demo
Bug: 17668891
Change-Id: Id54bae8e37ffb4d1f077ca4ef9a721766277c02e
2014-10-14 12:31:08 -07: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
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
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
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
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
036c81a9d2 Support7Demos: media router sample
Change-Id: Ie2a6a98cd256caae84f76dd398f9113f07cd4dd3
(cherry picked from commit ba708c7f49)
2013-08-02 12:46:30 -07:00
Chris Banes
247fe6d499 Remove Toggle System UI options from Support7Demos
As system ui visibility can not be reliably controlled
at the moment for <v11. Remove this from the demo.

Bug: 8910792.

Change-Id: Id55f8ae57c0961130c2ad2ab7a5b97cc43e36883
Signed-off-by: Chris Banes <chrisbanes@google.com>
2013-05-25 13:27:28 +01:00
Adam Powell
04c8633dee Update Support7Demos for action bar compat API changes.
Change-Id: I61914ff777a0eada9525db6fad7d53c97303eb36
2013-04-29 17:38:23 -07:00
Jeff Brown
e14dfaf571 appcompat: Add samples for options menu usage with fragments.
Bug: 8661191
Change-Id: I3664f00c09d81c01b904f8c5203a69a12180c565
2013-04-18 23:38:33 -07:00
Jeff Brown
84e6be0c69 Add action bar support library samples.
These samples are simply ported from the ApiDemos package
with package names updated to use the support library
implementation instead.

Bug: 8175766
Change-Id: Idfa35708d4db65a201a20c3726bb18663c2c0a81
2013-03-20 18:20:18 -07:00
Jeff Brown
63c90a5512 Add grid layout support library samples.
These samples are simply ported from the ApiDemos package
with package names updated to use the support library
implementation instead.

Bug: 8175766
Change-Id: Ib24c1250ed7571353f606422734a4660f382b368
2013-03-20 18:20:18 -07:00
Jeff Brown
bda0c73168 Move media router samples to new Support7Demos project.
Add media router support library to SDK build.

Bug: 8175766
Change-Id: I2f333d40ad39e820e8d706a7dab086241692a861
2013-03-20 18:20:18 -07:00