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
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
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
Chris Banes
87d5e9b38c
Merge "Make the SupportDemo apps work the AppCompat + VDC" into mnc-ub-dev
2015-12-21 11:05:00 +00:00
Dake Gu
cb09b7bf22
SupportLeanbackDemo: demo of custom theme of ImageCardView
...
Change-Id: I8ba65d9d6ffbc461460acff99ac1c3125eb87d00
2015-12-18 17:16:13 -08:00
Aurimas Liutikas
9cd6eaacba
Update Checkstyle rules to better match the style guide.
...
- Correct import order.
Bug: 25852971
Change-Id: I6addc06f7bb91df3d9d011807b5688b5aeba0a0d
2015-12-18 15:10:14 -08:00
Aurimas Liutikas
8c1e871ae2
Merge "Fix import order config file for Intellij." into mnc-ub-dev
2015-12-18 19:26:14 +00:00
Jeff Sharkey
221249dc6e
And yet another pass at cleaning up ordering.
...
To meet the spirit of the style guide, this places "com.android" near
"android" to separate it from other "com" items.
It also enforces identical ordering on all static imports.
Change-Id: I51e9847a42505db5cec8b9083d1dbc840a47c2c3
2015-12-18 19:24:05 +00:00
Aurimas Liutikas
5afb1b3781
Fix import order config file for Intellij.
...
Start following out public style guide for imports:
https://source.android.com/source/code-style.html#order-import-statements
Bug: 25852971
Change-Id: I4fb05aba2d114b6dee56d1bcf94246cf38526a37
2015-12-18 11:21:13 -08:00
Jeff Sharkey
cc31a92c11
Fix import order to match style guide.
...
Change-Id: Ibd0d15b8d92f2d02d4279c9c7a90016d390e6abd
2015-12-18 17:45:30 +00:00
Chris Banes
91eee205f3
Make the SupportDemo apps work the AppCompat + VDC
...
Change-Id: Ib13152d2256081e4534b4b03bb1e376b8cc18f79
2015-12-18 10:45:04 +00:00
Aurimas Liutikas
6b82b75c69
Allow to run checkstyle with untracked files present.
...
Additionally, this CL adds basic tests.
Bug: 25852971
Change-Id: Ia8a62e0d49428e1d933d2cef832c977e62f9c614
(cherry picked from commit 55e7480eff )
2015-12-18 00:54:02 +00:00
Aurimas Liutikas
4e8bad8045
Fix a crash when a brand new file is added.
...
Checkstyle.py was not handling additions of new files resulting in
a crash. For new files git.modified_lines() returns None. Added code
handles that case.
Bug: 25852971
Change-Id: I91e2b8c92581ec9e89bcbbcd2d274f56c791f3a9
(cherry picked from commit 5b87dbad0c )
2015-12-18 00:53:20 +00:00
Aurimas Liutikas
1fc79c2192
Add a script that allows developers to run checkstyle.
...
Allow developers to run Java style check in two ways.
Specific file:
checkstyle.py -f path/to/file/View.java
Lines modified in the latest commit:
checkstyle.py
Review moved from https://googleplex-android-review.googlesource.com/#/c/818813/
due to move from packages/experimental to development/tools
Bug: 25852971
Change-Id: Ibcf9d80644f2938828b21e8f50ab0d6f39c286b0
(cherry picked from commit 96f27d0960 )
2015-12-18 00:52:35 +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
Deepanshu Gupta
adce814038
Update SDK Platform revision for API 23 to 2. [DO NOT MERGE]
...
Change-Id: I192af0a92c587ca8386676ffc9cdfd73f8085cdb
2015-11-17 12:45:52 -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