Commit Graph

2815 Commits

Author SHA1 Message Date
Teng-Hui Zhu
cd95132bbf update library name, just for Android.mk.
b/22564270

Change-Id: Id57db81d1ea6eb0d1e2da65e7fd6a0afcb416e4b
2015-12-11 15:44:34 -08: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
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
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
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
bea9cef302 Merge "GuidedStep example: Use standard action IDs and titles" into mnc-ub-dev 2015-10-28 21:14:25 +00:00
Kirill Grouchnikov
d4035382f2 Merge "Test app for ViewPager." into mnc-ub-dev 2015-10-28 21:04:34 +00:00
Dake Gu
37836fd9d7 GuidedStep example: Use standard action IDs and titles
Bug 25193684

Change-Id: Iced3aa78db1437d1823b60d2be1188993f557958
2015-10-28 13:43:44 -07:00
Dake Gu
23ee659cba Merge "SupportLeanbackDemo: add example finishGuidedStepFragments()" into mnc-ub-dev 2015-10-28 20:20:17 +00:00
Kirill Grouchnikov
5493040235 Merge "Add a comment on drawer layout file." into mnc-ub-dev 2015-10-28 12:51:18 +00:00
Dake Gu
d80cfde31d SupportLeanbackDemo: add example finishGuidedStepFragments()
and popBackStackToGuidedStepFragment()

Change-Id: I747673f886bebf5ccc81b8f686c801ede4b5ac0b
2015-10-27 17:03:51 -07:00
Kirill Grouchnikov
84d4654927 Add a comment on drawer layout file.
Bug: 9075592
Change-Id: I839d54ccf4a4eb82e30798408927759da247cde9
2015-10-27 17:29:45 -04:00
Kirill Grouchnikov
afeff426a9 Test app for ViewPager.
Bug: 25113163
Change-Id: Idd49f9e74831875a55ea19c5fa5e9adc732dd091
2015-10-27 13:53:56 -04:00
Dake Gu
58ccc4ace2 GuidedStep: More example of editing
Example of switching text when editing.
Example of error checking and next action.
Example of InputType.
Example of enable/disable action.

Change-Id: Iea5108cb3f3d487be0a8cd892568c3e053ee3d0d
2015-10-26 14:36:21 -07: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
Sungsoo Lim
6327806028 Remove route providers which use RouteGroup
Bug: 24831500
Change-Id: I272a2a944685384166308aa745e67d743e0b7637
2015-10-13 13:28:04 +09:00
Dake Gu
2157e7f4ec SupportLeanbackShowcase: get rid of card view background overdraw
Change-Id: I3a46d34df265eda2cf38bfca80d3786aa5a8a23b
2015-10-08 11:59:50 -07:00
Jae Seo
052b1d4aeb Merge "Support7Demos: Update the MediaRouter demo" into mnc-ub-dev 2015-10-07 17:33:47 +00:00
Jae Seo
2bd1f62c4c Support7Demos: Update the MediaRouter demo
Change-Id: I661e17073bd71e45610360bbf5b372eaf41c4fe3
2015-10-07 10:33:09 -07:00
Dake Gu
0750ff8d6b SupportLeanbackShowcase: performance fix of ImageCardView resource
Use Picasso to load Image in background thread instead of decoding
Bitmap in UI thread.

Change-Id: Ib798d167108f8445b3898cab72dc7dfabfe13c8a
2015-10-06 13:46:42 -07:00
Dake Gu
7d120188ca SupportLeanbackShowcase: dont expand side info
Transition animation isn't right.  Browse fragment hasn't implemented
the pre-layout for row children horizontal layout change.

Change-Id: Ib4f55651c3f568ad9224c474036663f35935c4e3
2015-10-05 18:15:17 -07:00
Dake Gu
c8ad1e5263 Leanback Demo: demo of edit title
Bug 24673827

Change-Id: I1e4d9378cc862d748055387a71129692bd4cf53b
2015-10-05 14:21:47 -07:00
Dake Gu
6fe262dae9 Supportleanbackshowcase: Polishing 2 and transition performance fix
Move background of browse/details/music from layout to windowBackground.
Setting background on view will cause the whole RelativeLayout being
faded in while transition move content inside the RelativeLayout.
The RelativeLayout does not have a hardwarelayer, nor does it specify
hasOverlappingRendering=false.  This falls to the slowest rendering
path.

Change-Id: I78bacc965e641d7f960aae5cf212c29f6b1f0f11
2015-10-01 15:10:07 -07:00
Dake Gu
ab2a8a7dae Supportleanbackshowcase: Polishing
Support staggered slide in/out transition for VerticalGrid.

Move background from layout file to windowBackground in theme.  Defining
background on view conflicts with transitions.

Change-Id: If823f492fd5bdd0b16c1d1e735f4214f925f3ae3
2015-10-01 14:36:25 -07:00
Dake Gu
8ab0d48a61 Merge "Showcase: Update SDK to 23 and support lib to 23.0.1" into mnc-ub-dev 2015-10-01 20:59:29 +00:00
Dake Gu
5bf3eba9dd Showcase: Update SDK to 23 and support lib to 23.0.1
Updated for new API addAsRoot() for GuidedStepFragment.
Rmove the awkward setStep() call,  we can find current GuidedStepFragment
using standard API.

Change-Id: I7ecb108a36ab5d0091c230dd5c5686e3a91f1857
2015-10-01 12:59:41 -07:00
Dake Gu
2e3684e007 GuidedStepFragment Subclass need explcitly specify a container id for background
After fixed Bug 24570987

Change-Id: I1ec51f8ea39b21e4d547e923386dd357a538ff4a
2015-10-01 11:46:10 -07:00
Dake Gu
8894dc714a Merge "Generate test for PlaybackOverlaySupportFragment" into mnc-ub-dev 2015-10-01 18:16:10 +00:00
Dake Gu
fedab48a80 Merge "Generate support version of leanback fragment tests" into mnc-ub-dev 2015-10-01 17:53:47 +00:00
Dake Gu
c7e4f19c33 Generate test for PlaybackOverlaySupportFragment
Change-Id: Ia3064006f3fb3fc4fd5230ff3ab24a7c4ba2470f
2015-09-30 13:41:45 -07:00
Dake Gu
48b4a134a4 Generate support version of leanback fragment tests
Include all leanback support version of fragment except
PlaybackOverlayFragment missing a support version of PlaybackControlHelper.

Change-Id: Icb5c99e8677630e8541b22b009051dd3908d4f35
2015-09-30 11:26:37 -07:00
Yuichi Araki
d9b5ca8fb8 Add usage of app:actionLayout in NavigationView
Change-Id: Ia89c13233226bebba9a0d0bde57f183debd85ba4
2015-09-29 18:21:16 +09:00