Yohei Yukawa
fafac8ef79
Add an API sample to show subtype enabler.
...
At least on AOSP InputMethodManager#showInputMethodAndSubtypeEnabler()
has been broken for long time. Also, there has been a valid alternative
way to do the same thing.
This CL adds an API sample to officially encourage people to use
Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS intent rather than trying
to rely on InputMethodManager#showInputMethodAndSubtypeEnabler(), which
is highly likely to be broken.
Bug: 26189558
Change-Id: I915a2d81948598ed08b4ef9111bdd128fd93f3df
2015-12-14 18:59:44 -08:00
Filip Gruszczynski
e32aaa0f02
Use new Window API in caption overlay activity sample.
...
Bug: 25486369
Bug: 25818398
Change-Id: I37692748471481063c3e655fb1008856b7ba2845
2015-12-09 16:49:05 -08:00
Teng-Hui Zhu
8b5cd2fe95
Correct the R.java import
...
am: 61ea82804c
* commit '61ea82804ca5b496a7530a3e833b217f3c6e61f4':
Correct the R.java import
2015-12-08 23:58:50 +00:00
Teng-Hui Zhu
61ea82804c
Correct the R.java import
...
Change-Id: Idc58008f28e6974eb3b4597cc8182db34596ab51
2015-12-08 15:42:47 -08:00
Tenghui Zhu
3c356ac985
Merge "Add the vector drawable support lib demo code" into mnc-ub-dev
...
am: 6574effbd5
* commit '6574effbd547a286e8ae2c613170c86e7081ea8a':
Add the vector drawable support lib demo code
2015-12-08 21:38:40 +00: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
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
Kirill Grouchnikov
0810f900e3
Align DrawerLayout width with Material design spec.
...
am: 903605cba5
* commit '903605cba59773341f511ab3d14b9f9de939c210':
Align DrawerLayout width with Material design spec.
2015-12-07 23:29: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
Dianne Hackborn
55769bbc8c
Merge "Extend foreground service test to demonstrate doze behavior."
2015-12-04 21:29:09 +00:00
Kirill Grouchnikov
a29dac054f
Merge "Fix drawer layout sample app layout issue." into mnc-ub-dev
...
am: 559507c607
* commit '559507c6075a3a2922fe41d34b04c629358bdc00':
Fix drawer layout sample app layout issue.
2015-12-04 15:37:28 +00: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
8286da9213
Merge "Add use of NavigationView without drawer" into mnc-ub-dev
...
am: 6e96f544ef
* commit '6e96f544ef706d02a91f59215516769b8cf86106':
Add use of NavigationView without drawer
2015-12-04 04:24:40 +00:00
Yuichi Araki
9a8e7f280f
Merge "Add usage of hideable BottomSheetBehavior" into mnc-ub-dev
...
am: 78bb3f6176
* commit '78bb3f61768f8ad6b1b461688262c970c4cf45aa':
Add usage of hideable BottomSheetBehavior
2015-12-04 04:21:24 +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
Dianne Hackborn
1cd11bc0ff
Extend foreground service test to demonstrate doze behavior.
...
Change-Id: I81162b6a309a09c1041b71fce1e9a8335afa5b53
2015-12-02 14:17:08 -08:00
Dake Gu
f67aad364a
Fix Context.getDrawable() crash on earlier platforms
...
am: 9ad497c285
* commit '9ad497c2850e2e47d8083b342f58ee33f1ea26d9':
Fix Context.getDrawable() crash on earlier platforms
2015-12-02 21:21:33 +00: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
17e7aabc6a
SupportLeanbackDemos: first showcase of drop down selection
...
am: d245e0fc5d
* commit 'd245e0fc5dcec7fdda2b1460dc3b556a34f9a610':
SupportLeanbackDemos: first showcase of drop down selection
2015-11-24 02:52:25 +00: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
Filip Gruszczynski
2645556431
Use light theme on an activity with a white background.
...
With overlay background the caption will be translucent. The theme must
match the colors used on the background, otherwise the caption buttons
will not be visible.
Bug: 25486369
Change-Id: Ibe3d7443e6491347bf8fb7152faca204ac14c9ad
2015-11-20 09:43:55 -08:00
Filip Gruszczynski
083b71fa5d
Sample for an activity that overlay caption on content.
...
Bug: 25486369
Change-Id: I4bcb5299dfd8f5c125451fabd2b8b1a876c12198
2015-11-19 17:18:18 -08:00
Alan Viverette
067a381e05
Merge "Add sample magnification controller service"
2015-11-17 15:51:51 +00:00
Chris Banes
d5bc0c47e8
Update TabLayout demo to use new ViewPager functionality
...
am: 372bb98e8a
* commit '372bb98e8acf4a75401f0bfa58afcd2e493db156':
Update TabLayout demo to use new ViewPager functionality
2015-11-16 09:42:26 +00: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
6d2e5288b2
SupportLeanbackDemos: guidedstep changes am: d775d3a528
...
am: 3af594e9d7
* commit '3af594e9d7764e810a98937769de2199b71c7aa8':
SupportLeanbackDemos: guidedstep changes
2015-11-13 21:59:15 +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
Alan Viverette
c3042be803
Add sample magnification controller service
...
Bug: 22718911
Change-Id: I25d2ca95836f7fe033accf215fd925fd06505b12
2015-11-13 10:49:10 -05:00
Kirill Grouchnikov
3ed6fd6b5a
Add "select tab" to the tab layout / view pager demo. am: fffb2474d2
...
am: e59ebc5459
* commit 'e59ebc54597066db9028a9aeb6a0a73ddd23504d':
Add "select tab" to the tab layout / view pager demo.
2015-11-06 15:54:36 +00:00
Tenghui Zhu
ed6385398a
Merge "Add horizontal indeterminate progress bar into ApiDemos"
2015-11-05 23:21:32 +00:00
Tenghui Zhu
6cff2e6826
Merge "Remove ProgressBar4, it is deprecated from Lollipop"
2015-11-05 23:21:24 +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
Kirill Grouchnikov
30d4f8f095
Remove pre-Material drawer demo apps.
...
Bug: 25321348
Change-Id: I30727aa62445789abe69bd809e52c20b08a000c3
2015-11-05 14:23:23 +00:00
Alan Viverette
3ba4769fb0
resolve merge conflicts of 5149c313bc to master.
...
Change-Id: Ie687503f9d35bc0cda15c7fd2f62633b47ceb3f3
2015-11-05 09:17:33 -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
e99e08fbf4
GuidedStepFragment: Example of two columns actions am: 0c356e44b3
...
am: 23807100f6
* commit '23807100f68b1aa26a2a0ca55ac741e5def85079':
GuidedStepFragment: Example of two columns actions
2015-11-04 00:44:11 +00:00
Teng-Hui Zhu
6324dbbae2
Add horizontal indeterminate progress bar into ApiDemos
...
Change-Id: Iae72019d5ecdfbc710d01bd341b6de058d3b665a
2015-11-03 15:08:20 -08:00
Dake Gu
0c356e44b3
GuidedStepFragment: Example of two columns actions
...
Bug 24979563
Change-Id: Id28e9b374d464846043e96c6b24ee95eed1af1d7
2015-11-03 14:51:03 -08:00
Teng-Hui Zhu
ac7c153cce
Remove ProgressBar4, it is deprecated from Lollipop
...
Change-Id: Ia2a038a973eb6c6021c73d157410be6e64c2b1a7
2015-11-03 13:57:44 -08:00
Kirill Grouchnikov
8f829fc202
Material-compliant sample app for drawer layout. am: 220a8ecaa3
...
am: e5a8da02f7
* commit 'e5a8da02f7bf2471b74ba6ea269d0d70239fbc1c':
Material-compliant sample app for drawer layout.
2015-11-02 19:21:03 +00: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
Dake Gu
f26047b6c9
Dont use R.id.content to host GuidedStepFragment am: caaf7b076e
...
am: e354e923dc
* commit 'e354e923dc008aee939861cc1c32f9596cf494f3':
Dont use R.id.content to host GuidedStepFragment
2015-10-30 00:04:09 +00:00
Dake Gu
caaf7b076e
Dont use R.id.content to host GuidedStepFragment
...
Added example of set action not focusable
Bug 25352427
Change-Id: Ie9aed8c52d7639c3a39938117be94a65cf2005eb
2015-10-29 11:57:43 -07:00
Dake Gu
302feab751
Merge "GuidedStep example: Use standard action IDs and titles" into mnc-ub-dev am: bea9cef302
...
am: 6d1a961714
* commit '6d1a96171425a2842ee71d8b1b7ed60b3ab65ece':
GuidedStep example: Use standard action IDs and titles
2015-10-28 21:35:33 +00:00
Dake Gu
bea9cef302
Merge "GuidedStep example: Use standard action IDs and titles" into mnc-ub-dev
2015-10-28 21:14:25 +00:00