Commit Graph

2845 Commits

Author SHA1 Message Date
Dake Gu
b571663f91 Merge "Add example of DatePicker" into mnc-ub-dev 2016-01-21 22:34:26 +00:00
Kirill Grouchnikov
38a34c05f7 Merge "Simplify the content layout of the DrawerLayout demo." into mnc-ub-dev 2016-01-21 20:05:24 +00: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
Yuichi Araki
711d3d346d Merge "BottomSheetBehavior passes View to callbacks" into mnc-ub-dev 2016-01-21 04:21:01 +00:00
Chris Banes
e9535f2cdc Merge "TabLayout layout items sample" into mnc-ub-dev 2016-01-15 16:33:33 +00: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
91e3d95fcf TabLayout layout items sample
BUG: 19634570

Change-Id: I9501e0cb44f975370330117bfffdee8c1de89141
2016-01-14 11:54:41 +00:00
Chris Banes
39eac83a81 Merge "Make sample use TextInputEditText" into mnc-ub-dev 2016-01-14 10:58:41 +00:00
Yuichi Araki
625889b674 BottomSheetBehavior passes View to callbacks
Bug: 26509449
Change-Id: I7de0dd0f59d7bd16fe50fae32b3b2f13761c93fc
2016-01-14 18:06:20 +09:00
Yuichi Araki
8abd4451a9 Merge "Use of bottom sheet with ScrollView in background" into mnc-ub-dev 2016-01-14 03:41:30 +00:00
Dake Gu
5df19367bb Merge "SupportLeanbackDemo: demo of custom theme of ImageCardView" into mnc-ub-dev 2016-01-13 18:44:02 +00:00
Chris Banes
079eca8847 Make sample use TextInputEditText
Change-Id: Ic995fa3086316ddb19b1b3929d5142091331f469
2016-01-13 16:24:13 +00:00
Yuichi Araki
6dc55051fc Use of bottom sheet with ScrollView in background
Bug: 26237244
Change-Id: I79d500ce1262021368aeb4693246bbc6bba8c6e7
2016-01-13 20:02:53 +09:00
Dake Gu
c77aa4f798 GuidedStepFragment: add test for icon
Bug 26473407

Change-Id: I2f59fe2d869c39c802a6451533a49f6682cdef8a
2016-01-11 16:00:33 -08:00
Dake Gu
7d3da1d678 Add example of DatePicker
Bug 25390757

Change-Id: Iec578a2a195a7f8c6873fd95ceb08a33f502894b
2016-01-11 13:26:34 -08:00
Chris Banes
f5b1907589 Add demo for ShareActionProvider
Change-Id: I083354ef09738da812ea508f3091496f08f10123
2016-01-04 12:07:31 +00:00
Chris Banes
7eb7c4f7df Fix SupportVectorDrawable sample not building
Change-Id: I0a304cd7ea9320b0e5636121c89e8e24d3f7180f
2015-12-21 11:54:47 +00:00
Dake Gu
cb09b7bf22 SupportLeanbackDemo: demo of custom theme of ImageCardView
Change-Id: I8ba65d9d6ffbc461460acff99ac1c3125eb87d00
2015-12-18 17:16:13 -08:00
Chris Banes
91eee205f3 Make the SupportDemo apps work the AppCompat + VDC
Change-Id: Ib13152d2256081e4534b4b03bb1e376b8cc18f79
2015-12-18 10:45:04 +00:00
Yuichi Araki
05b1dd5dbd Merge "Rename BottomSheetListener to BottomSheetCallback" into mnc-ub-dev 2015-12-17 04:25:05 +00:00
Dake Gu
9fa96ad4f6 Tuning GuidedAction APIs
Change-Id: I6d7f354d32315270201d9ab5ccae1c3d5f7b7e0d
2015-12-16 14:50:09 -08:00
Yuichi Araki
4679acae75 Rename BottomSheetListener to BottomSheetCallback
Bug: 26181788
Change-Id: I17cfad6a684706ea7874be387f2457bd18446168
2015-12-16 11:31:39 +09:00
Yuichi Araki
7ab527176d Merge "Add usage of BottomSheetDialogFragment" into mnc-ub-dev 2015-12-16 02:14:12 +00:00
Tenghui Zhu
94ef3e21db Merge "update library name, just for Android.mk." into mnc-ub-dev 2015-12-15 21:50:32 +00:00
Kirill Grouchnikov
e83e677687 Simple sample app for ListPopupWindow
Change-Id: I239b885313014019226dc0e1a95a3b3f098cad09
2015-12-15 16:33:06 -05:00
Chris Banes
7a42332712 Merge "Demo showing Theme.AppCompat.DayNight usage" into mnc-ub-dev 2015-12-15 12:19:00 +00:00
Chris Banes
48fcebe0cf Merge "Add CTL + nested Toolbar demo" into mnc-ub-dev 2015-12-15 11:27:31 +00:00
Teng-Hui Zhu
cd95132bbf update library name, just for Android.mk.
b/22564270

Change-Id: Id57db81d1ea6eb0d1e2da65e7fd6a0afcb416e4b
2015-12-11 15:44:34 -08:00
Yuichi Araki
0321a0d1f4 Add usage of BottomSheetDialogFragment
Change-Id: I9438e3ecca220525fc5df55c43457d5c286d3b12
2015-12-09 17:27:57 +09:00
Teng-Hui Zhu
61ea82804c Correct the R.java import
Change-Id: Idc58008f28e6974eb3b4597cc8182db34596ab51
2015-12-08 15:42:47 -08:00
Tenghui Zhu
6574effbd5 Merge "Add the vector drawable support lib demo code" into mnc-ub-dev 2015-12-08 21:32:32 +00:00
Chris Banes
816ed4a802 Demo showing Theme.AppCompat.DayNight usage
Change-Id: If3f98acb64cc767ac3d4251e6f02e55b10b173e0
2015-12-08 14:16:05 +00:00
Teng-Hui Zhu
ddf2bab3ea Add the vector drawable support lib demo code
b/22564270

Change-Id: Id4f721cfd6e9450d8346410997ecfc1f2c3926c1
2015-12-07 15:44:48 -08:00
Chris Banes
01c621aed6 Add CTL + nested Toolbar demo
BUG: 25680977
Change-Id: I50a64d1cf08f779aa37fa4c0221eac556c1fb087
2015-12-07 11:08:52 +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
559507c607 Merge "Fix drawer layout sample app layout issue." into mnc-ub-dev 2015-12-04 15:34:00 +00:00
Yuichi Araki
6e96f544ef Merge "Add use of NavigationView without drawer" into mnc-ub-dev 2015-12-04 04:18:00 +00:00
Yuichi Araki
78bb3f6176 Merge "Add usage of hideable BottomSheetBehavior" into mnc-ub-dev 2015-12-04 04:14:43 +00: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
Dake Gu
9ad497c285 Fix Context.getDrawable() crash on earlier platforms
Change-Id: I821577795f17e48e6fe58208861be501e9ee4627
2015-12-02 13:08:43 -08:00
Yuichi Araki
7dec9d366c Add use of NavigationView without drawer
Change-Id: Ic6344e7cbfad0d37726d3c2ee4d070f133674033
2015-12-01 18:15:01 +09:00
Yuichi Araki
1ee513f969 Add usage of hideable BottomSheetBehavior
Change-Id: I32ef3bea0594a803af4c551dd0c81b64d75c60cc
2015-11-27 12:42:37 +09:00
Dake Gu
d245e0fc5d SupportLeanbackDemos: first showcase of drop down selection
Showcase of sub actions (aka dropdown list) and the typical payment
steps: a dropdown list of available cards plus "add new card" step
which will add more options to the list.

Bug 24979518

Change-Id: I1c7b83381cda37081c7438700b6800a02b36fe71
2015-11-23 15:03:27 -08:00
Chris Banes
372bb98e8a Update TabLayout demo to use new ViewPager functionality
Also removed an old unused layout file

BUG: 20908355
Change-Id: I95d79f7faec68122b43c68b621af4121c52c17aa
2015-11-16 09:11:03 +00:00
Dake Gu
d775d3a528 SupportLeanbackDemos: guidedstep changes
1. no longer provide a view to host background view
2. add demo of checkbox
3. add demo of customize Ime options.

Change-Id: I76dbbbd7e341906ff4e7b8923b1ddc2c01026f44
2015-11-13 13:14:42 -08:00
Kirill Grouchnikov
fffb2474d2 Add "select tab" to the tab layout / view pager demo.
Change-Id: I30c6b86a220692ef61a8e8eac5acd2952464f15c
2015-11-05 10:37:45 -05:00
Alan Viverette
8d3349a080 Add sample activity for ViewPager in Support4Demos
Bug: 23467280
Change-Id: I20453e15e5fb7b235da910d0c290641bd1c3d4c8
2015-11-04 15:31:00 -05:00
Dake Gu
0c356e44b3 GuidedStepFragment: Example of two columns actions
Bug 24979563

Change-Id: Id28e9b374d464846043e96c6b24ee95eed1af1d7
2015-11-03 14:51:03 -08: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