Christopher Ferris
0e2da18081
Fix up the makefiles and some samples.
...
Add LOCAL_DEX_PREOPT := false to force the samples to build actual apks.
In addition, fix a couple of other small issues:
- TtsEngine didn't have the api level set properly.
- SimpleJNI used a non-ndk library and was using libc++.
Change-Id: I1fd7c187956eed4620049bb746f4d62babcd648a
2016-04-19 14:32:13 -07: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