Aurimas Liutikas
0265072c79
Set card background using ColorStateList.
...
This allows Support7Demos activity to show CardView support for ColorStateList.
This sample activity already contains R.color.card_selector and now it sets it
fully.
Bug: 26791833
Change-Id: I481d510501596f0d3a59cb194a7056a20ca9b72c
2016-03-03 14:04:58 -08:00
Aurimas Liutikas
45da2f701d
Make CardViewActivity in Support7Demos extend AppCompatActivity.
...
Activities that use AppCompat themes must extend AppCompatActivity.
Bug: 27453786
Change-Id: I9c780fd17ee0a98ec0579b43dba754ea5d525d10
2016-03-02 14:20:08 -08:00
Chris Banes
4744854d79
Update Support Demos to use their own search icon
...
Change-Id: I8e1fc1ac990dd0ef1830a0e5126328b8657cf24e
2016-02-23 16:02:34 +00:00
Kirill Grouchnikov
8369074daf
Switch DrawerLayout to new listener API.
...
setDrawerListener is deprecated in favor of the new
addDrawerListener.
Change-Id: I374cff5ff481f206d5a94835c0c00e719c2f6e25
2016-02-09 17:07:03 -08:00
Chris Banes
2353152044
Make AVDC sample drawable larger
...
Makes it easier to see
Change-Id: Ied27b97481d9d523e6410d6769229b3abb10c14f
2016-01-29 11:49:44 +00:00
Chris Banes
cb5ed20163
Add AVDC demo to Support7Demos
...
Also renamed some of the other demos to
fit into the correct categories.
BUG: 26638431
Change-Id: Iaa7333f67cd7606bb504e7bbfe766da543ea7afa
2016-01-29 09:16:39 +00:00
Kirill Grouchnikov
4d3dc3cfd0
Sample app for appcompat-v7's PopupMenu.
...
Change-Id: I3daaf8fcd9fce204d2cc50ff493cb7b544df6afc
2016-01-21 16:13:19 -05:00
Kirill Grouchnikov
c8d7c07e4a
Simplify the content layout of the DrawerLayout demo.
...
No need to overcomplicate things with FrameLayout and margins.
Vertical LinearLayout does the job for this specific case.
Change-Id: I23bf53cc2a90b602f8956782a0c0af1e20a8cd52
2016-01-21 11:18:28 -05:00
Kirill Grouchnikov
7da5bbb6e9
Add end drawer to the sample app.
...
Bug: 26555813
Change-Id: Ia7f00f8bb1a3342750c5c2db76b6ea1bb7cbb1bd
2016-01-14 10:55:46 -05:00
Chris Banes
f5b1907589
Add demo for ShareActionProvider
...
Change-Id: I083354ef09738da812ea508f3091496f08f10123
2016-01-04 12:07:31 +00:00
Chris Banes
91eee205f3
Make the SupportDemo apps work the AppCompat + VDC
...
Change-Id: Ib13152d2256081e4534b4b03bb1e376b8cc18f79
2015-12-18 10:45:04 +00:00
Kirill Grouchnikov
e83e677687
Simple sample app for ListPopupWindow
...
Change-Id: I239b885313014019226dc0e1a95a3b3f098cad09
2015-12-15 16:33:06 -05:00
Chris Banes
816ed4a802
Demo showing Theme.AppCompat.DayNight usage
...
Change-Id: If3f98acb64cc767ac3d4251e6f02e55b10b173e0
2015-12-08 14:16:05 +00:00
Kirill Grouchnikov
903605cba5
Align DrawerLayout width with Material design spec.
...
Bug: 26027590
Change-Id: If5e80c99f3be5ebd89c0b5d2e915db4c0da14adc
2015-12-04 23:27:02 -05:00
Kirill Grouchnikov
e8ac210962
Fix drawer layout sample app layout issue.
...
On GB and older devices FrameLayout has a bug that makes it
incorrectly treat margins when gravity is not specified.
Bug: 26002719
Change-Id: Ib3deaf8a6cebe3430bf017208bee8c0b956ea430
2015-12-03 17:56:37 -05:00
Kirill Grouchnikov
d0b4919441
Remove pre-Material drawer demo apps.
...
Bug: 25321348
Change-Id: I53859ee48b3821192344e70f54a7f4fc20f8d4e7
2015-11-02 13:01:41 -05:00
Kirill Grouchnikov
220a8ecaa3
Material-compliant sample app for drawer layout.
...
Bug: 25321348
Change-Id: Ib26c112bbcb515869bd3bacc91be553b9aca8ef0
2015-11-02 12:45:32 -05:00
Sungsoo Lim
6327806028
Remove route providers which use RouteGroup
...
Bug: 24831500
Change-Id: I272a2a944685384166308aa745e67d743e0b7637
2015-10-13 13:28:04 +09:00
Jae Seo
2bd1f62c4c
Support7Demos: Update the MediaRouter demo
...
Change-Id: I661e17073bd71e45610360bbf5b372eaf41c4fe3
2015-10-07 10:33:09 -07:00
Yigit Boyar
3d1224e652
RecyclerView in place animations
...
Bug: 22507896
Change-Id: I0344348011c412ea00b97eec97fa8d566bb09c7e
2015-09-23 13:12:34 -07:00
Jae Seo
106e33404a
MediaRouter: Remove uses of not-yet-public API
...
Change-Id: I05949c75081fc963fe4b025f6f4db13d0255eeef
2015-08-27 17:54:54 -07:00
Jae Seo
3fb1da70ef
MediaRouter: Remove an unused member in SampleMediaRouteProvider
...
Change-Id: I9eb7d16a49017697e2586dc1988e4411566d65d4
2015-08-25 14:46:29 +09:00
Jae Seo
b26f52f2c0
MediaRouter: Add a sample for the custom route icon
...
Bug: 23116379
Change-Id: Ie744f40584e4f39cf17cd58d238f98059a8a88a3
2015-08-25 13:59:20 +09:00
Jaewan Kim
5d04bdb493
MediaRouter: Prevent activity from restarting
...
This keeps the playlist for orientation changes.
Bug: 23399327
Change-Id: I89d436a0455190798180ceef3bcb2028eacbf23b
2015-08-24 20:03:45 +09:00
Jae Seo
cbfd7cd506
MediaRouter: Add route groups
...
Change-Id: Ideab1c0fccd01a68e3f6a5997b9c66aed9b1332e
2015-08-18 16:00:05 -07:00
Vadim Tryshev
09e174875c
am 1461b8e9: Merge "Fixing a crash introduced by my previous CL." into lmp-mr1-ub-dev
...
* commit '1461b8e9a0573442d8259c5035025e847cb511d7':
Fixing a crash introduced by my previous CL.
2015-07-10 01:31:11 +00:00
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
Vadim Tryshev
3823d992ee
am 43774e87: Eliminating AnimatedRecyclerView demo crashes.
...
* commit '43774e878dd1ea72eab77bf46d9c01b6deae8ce3':
Eliminating AnimatedRecyclerView demo crashes.
2015-06-27 01:42:18 +00:00
Vadim Tryshev
43774e878d
Eliminating AnimatedRecyclerView demo crashes.
...
Also, some minimal cleanup.
Bug: 21643257
Change-Id: I956d8fd63b1e51b03e215ac3434ff7c73c0bdce3
2015-06-26 18:29:17 -07:00
Chris Banes
28701d108d
Revert "Tinted icons sample"
...
This reverts commit 8e7ff4c3f2 .
Change-Id: I011cc2afc4de0a572f42faaa4b19b90ba661140c
2015-06-11 08:32:41 +00:00
Vladislav Kaznacheev
d18f135ae2
am d57a9edb: Adding AsyncListUtilActivity to Support7Demo
...
* commit 'd57a9edb663615b84ac7467328619e5801053787':
Adding AsyncListUtilActivity to Support7Demo
2015-06-11 01:34:11 +00:00
Vladislav Kaznacheev
d57a9edb66
Adding AsyncListUtilActivity to Support7Demo
...
Bug: 20180767
Change-Id: Ib097e3aa0f4fa9179b6bfd743fa43b584e7860ce
2015-06-10 15:13:07 -07:00
Vladislav Kaznacheev
66ca00a6a2
am eda065a4: Merge "Add StaggeredGridLayoutManagerActivity to Support7Demos" into lmp-mr1-ub-dev
...
* commit 'eda065a4b89d1964e87db8f15b4b586968eba42c':
Add StaggeredGridLayoutManagerActivity to Support7Demos
2015-05-22 19:03:41 +00:00
Vladislav Kaznacheev
fbd288c843
Add StaggeredGridLayoutManagerActivity to Support7Demos
...
Change-Id: Ifeac68ab61f25faff64289168d34d52810a0cba5
2015-05-20 10:32:37 -07:00
Chris Banes
53267867a7
Add DialogFragment demo
...
BUG: 20590925
Change-Id: I6506d841f70ffb5adf200febe60a24445eca5abd
2015-05-05 15:55:41 +00:00
Yigit Boyar
16ac7516f4
ItemTouchHelper demo activities
...
NOTICE: TBR
Change-Id: I8d4c0bd2662fc0deb6465de753c1107938fbe6ee
2015-04-22 18:35:58 -07:00
Yigit Boyar
074b0611de
ItemTouchHelper demo activities
...
NOTICE: TBR
Change-Id: I8d4c0bd2662fc0deb6465de753c1107938fbe6ee
2015-04-21 18:47:00 -07:00
Deepanshu Gupta
04c53d8617
am 01edcb86: Add recycler view resources to Support7Demos.
...
* commit '01edcb86be8413ef58c1b26198029a16c1e14ebb':
Add recycler view resources to Support7Demos.
2015-04-21 23:01:35 +00:00
Deepanshu Gupta
01edcb86be
Add recycler view resources to Support7Demos.
...
Missed that in the earlier CL.
Change-Id: I6bd3eb24eb1506fa4dba57250141bf36fabe0286
2015-04-21 12:10:59 -07:00
Chris Banes
8e7ff4c3f2
Tinted icons sample
...
Change-Id: If8d456b2cb4c24a7548eae6d29a1e49ee662988e
2015-04-17 15:41:43 +01:00
Chris Banes
97930fc88b
Disable the design support library and demos
...
Change-Id: Ia0247179d3230d0ec2a198d458bc417fe3102d9d
2015-04-08 08:11:06 +01:00
Chris Banes
e1556d3dfc
Revert "Remove the redundant dependency on Support7Demos"
...
This reverts commit 12edcb5d03 .
Change-Id: Ie9ab4114afb2a674fdfd2bae535ebac8e18a5ec9
2015-04-07 19:22:45 +00:00
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