Commit Graph

120 Commits

Author SHA1 Message Date
Jae Seo
54e5abf15c Support7Demos: Set LOCAL_MIN_SDK_VERSION to 7
Bug: 28302992
Change-Id: I549401fb9ea225afa081d229a2392f952bd11f7b
2016-04-20 16:54:58 -07:00
Adam Lesinski
6ec7099f1a Build Support7Demos with AAPT2
Bug:25958912
Change-Id: I9820188e07bbc7be7d7e4807f42ee4b6a7bef1c4
2016-04-07 11:28:18 -07:00
Adam Lesinski
058c240180 Revert "Build Support7Demos with AAPT2"
This reverts commit 9eb025a98d.

Change-Id: Ia0c13e51cdf01b704bd945332cbef6239f5403b6
2016-04-01 22:13:06 +00:00
Adam Lesinski
9eb025a98d Build Support7Demos with AAPT2
Bug:25958912
Change-Id: I4920fda963d1c852ce3e8cfe2295db02bd2e5e43
2016-03-31 15:22:17 -07:00
Adam Lesinski
5e2da3839e Revert "Build Support7Demos with AAPT2"
This reverts commit ed5b81b139.

Change-Id: I2688fc2fbbe913b4a4108bfe58a794e36544cd53
2016-03-31 03:19:27 +00:00
Adam Lesinski
ed5b81b139 Build Support7Demos with AAPT2
Bug:25958912
Change-Id: Iddaf9a72c14f2b1b3559f8b569cf31d26c7a51c3
2016-03-30 16:08:41 -07:00
Sungsoo Lim
79e05d5970 Support7Demos: Add an override annotation
Change-Id: Ice0a1960733a15cb5d78e28686f700cf3aad1409
2016-03-24 16:58:12 +09:00
Sungsoo Lim
813d715270 Support7Demos: Enable the route discovery action only when needed
Bug: 27464709
Change-Id: I4b685d8857d1f8efa830b430f4d694776b758f92
2016-03-24 16:33:24 +09:00
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