Commit Graph

48 Commits

Author SHA1 Message Date
Chris Banes
4744854d79 Update Support Demos to use their own search icon
Change-Id: I8e1fc1ac990dd0ef1830a0e5126328b8657cf24e
2016-02-23 16:02:34 +00:00
Yuichi Araki
03349d5713 Add usage of BottomSheetBehavior with Fragment
Bug: 26507828
Change-Id: I62bb8db4bb6b1c7b8a908ecc88d603347839301a
2016-01-25 15:22:42 +09: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
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
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
Chris Banes
91eee205f3 Make the SupportDemo apps work the AppCompat + VDC
Change-Id: Ib13152d2256081e4534b4b03bb1e376b8cc18f79
2015-12-18 10:45:04 +00: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
Yuichi Araki
0321a0d1f4 Add usage of BottomSheetDialogFragment
Change-Id: I9438e3ecca220525fc5df55c43457d5c286d3b12
2015-12-09 17:27:57 +09:00
Chris Banes
01c621aed6 Add CTL + nested Toolbar demo
BUG: 25680977
Change-Id: I50a64d1cf08f779aa37fa4c0221eac556c1fb087
2015-12-07 11:08:52 +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
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
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
Kirill Grouchnikov
fffb2474d2 Add "select tab" to the tab layout / view pager demo.
Change-Id: I30c6b86a220692ef61a8e8eac5acd2952464f15c
2015-11-05 10:37:45 -05:00
Chris Banes
0fc3f916b8 Add AppBar sample using SwipeRefreshLayout
Change-Id: I8d2c84fcbdf13ec66f256d083bc8f2384928f161
2015-10-23 13:41:31 +01:00
Chris Banes
88436bd9f4 Add demo for TextInputLayout's counter
Change-Id: I3a2453b6d5ad3d5ea2abd5de66c95a7db0bd6f83
2015-10-21 11:17:17 +01:00
Yuichi Araki
3848c332a7 Merge "Add usage of BottomSheetBehavior" into mnc-ub-dev 2015-10-16 09:05:09 +00:00
Yuichi Araki
d9b5ca8fb8 Add usage of app:actionLayout in NavigationView
Change-Id: Ia89c13233226bebba9a0d0bde57f183debd85ba4
2015-09-29 18:21:16 +09:00
Yuichi Araki
e088638164 Add usage of BottomSheetBehavior
Change-Id: Ia6a6098c9a2ab7bcda0cc29c6800494faa97b440
2015-09-28 14:44:48 +09:00
Chris Banes
8402e53c26 Merge "Add snapping scroll example to SupportDesignDemos" into mnc-ub-dev 2015-09-10 00:25:10 +00:00
Mady Mellor
69bd278c0c Add proguard configuration to support design demos sample app
Proguard was stripping out the coordinator layout behavior and the
linear layout manager classes.

Change-Id: Ibe72d5952bee20cf386e7384e261f46eea1cb67d
2015-09-09 10:42:59 -07:00
Chris Banes
4e650fbf0b Add snapping scroll example to SupportDesignDemos
BUG: 23792717
Change-Id: Ida0ba53fdf14534daa5a2a61ba5c035a1b782e82
2015-09-04 11:19:45 +10:00
Yuichi Araki
16283511f2 Remove unnecessary code
The checked status is now automatically handled by NavigationView.

Change-Id: Id2a4670d3313d40875040472e0b3b81ce8f7d60e
2015-06-08 20:04:07 +09:00
Yuichi Araki
3cd44d4399 NavigationViewUsage saves its state on rotation
Also changes it to use app:menu instead of inflating the menu in Java.

Change-Id: I140fb042c8ea77b5a7c889abf50a1a7926e2dc8b
2015-06-02 16:42:06 +09:00
Deepanshu Gupta
f188f7e1a0 Add default application theme to SupportDesignDemo.
A default theme helps Android Studio to select the right theme when
opening a layout in the Layout Editor. Without this, Android Studio
selects Holo as the default theme and it causes the preview to fail
because of missing attributes.

Change-Id: I5564530637554ecad6823f6082b60b291cd00710
2015-05-21 21:58:49 +00:00
Chris Banes
a8daca6d02 AppBar demo using SwipeRefreshLayout
Change-Id: Iae006f6b1ac52874c7b3c4f54b2b23c0c45066b0
2015-05-17 10:58:52 +01:00
Chris Banes
b1629398d3 Tweaks around AppBar demos
Change-Id: Id24b71d88071412816668d791c2deedd68b7a6db
2015-05-11 14:05:09 +01:00
Chris Banes
39d167037c Update TabLayout demo to use new APIs
Depends-on: I7d944d2ebcd169c5c084000bd17f20da5c60e7ea

BUG: 20897298
Change-Id: Ide33aec225ba63592ffac43aabe5322bc25c4628
2015-05-09 12:27:39 +00:00
Dan Albert
bf140c36ba Merge "Revert "Update TabLayout demo to use new APIs"" into lmp-mr1-ub-dev 2015-05-08 20:55:41 +00:00
Dan Albert
0f17c3b0e5 Revert "Update TabLayout demo to use new APIs"
Build is still broken in other projects, so reverting for now.

This reverts commit 98d32d8146.

Change-Id: Ieaef5f14da425d43d65d11595024083899134787
2015-05-08 20:48:54 +00:00
Chris Banes
f655a80cbe Merge "Update TabLayout demo to use new APIs" into lmp-mr1-ub-dev 2015-05-08 18:33:09 +00:00
Chris Banes
98d32d8146 Update TabLayout demo to use new APIs
Depends-on: I7d944d2ebcd169c5c084000bd17f20da5c60e7ea

BUG: 20897298
Change-Id: I4976b16fc7d04e9facc9236fee4b5704c5b1ac0c
2015-05-08 18:44:37 +01:00
Chris Banes
c7495a949c Add transparent status bar demo
BUG: 20652400

Change-Id: Iac7b06c18f0f370a8afdc4f91131ee9c59dc1c02
2015-05-07 16:49:35 +01:00
Chris Banes
2194f821f0 AppBarLayout demo
Change-Id: I0b4439c4658371db6c4a4cfe95f8e77cd7015891
2015-05-01 11:28:13 +01:00
Chris Banes
9114a88d70 Add Snackbar demo without a CoordinatorLayout
Change-Id: I7e3b8af60666ccdbf476ce21b04d728f4bcc8617
2015-04-23 09:55:06 +01:00
Chris Banes
f2b0677d93 Re-enable TextInputLayout demo
Change-Id: I2e1f28362c415ea30a19cd90a2b3197e109c7bb0
2015-04-21 16:03:54 +01:00
Yuichi Araki
405b3da398 Add NavigationView usage to SupportDesignDemos
Change-Id: Ia9a4070dcae554970f0205a575d218fcb190f226
2015-04-08 13:00:40 +09: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
1d6d833cb8 TextInputLayout and Snackbar demos
Change-Id: I8de5e4d21528225f9688e8d42c73f51ce42bc8b8
2015-03-12 13:33:05 +00:00
Narayan Kamath
91e4714918 Fix build (again).
Another set of strings that needed to be localized but were
missed in 4fe89883c2.

(cherry picked from commit 6da3c008cb)

Change-Id: Ibb08df992129361578aeb1c556f4d965ab3404c2
2015-02-12 16:46:11 +00:00
Chris Banes
4fe89883c2 Localize Strings in SupportDesignDemos
Change-Id: I40940d6629f32128b969d169e2893df9c0d169e7
2015-02-11 22:03:04 -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