6011b35deae30839cd454e0ec5866487e90860f5 |
|
26-Apr-2017 |
Maurice Lam <yukl@google.com> |
Allow setting DividerInsetEnd - Added XML attribute suwDividerInsetEnd, and replaced suwDividerInset with suwDividerInsetStart. - Modified the themes so that the divider insets are set automatically. If the activity uses GLIF (v1) or material, and the list does not have icons, it should set app:suwDividerInsetStart="?attr/suwDividerInsetStartNoIcon" in the Glif[Recycler/List]Layout Test: ./gradlew connectedAndroidTest test Bug: 37677772 Change-Id: Ia4cb9954dd7e3c59cbc72db8937989557689061b
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/GlifListLayout.java
|
0ceb8d53e39ebb5bc103863787afb39ec5c41ad8 |
|
18-Mar-2017 |
Maurice Lam <yukl@google.com> |
Add ability to require scroll to GlifLayout Generalize RequireScrollHelper and turn it into a mixin to allow GlifLayout to use require scrolling. This is only applicable to GLIF with sticky footer, since inline content button requires scrolling by definition. Also added Robolectric test support for full-support, by moving full-support/test's contents into full-support/test/instrumentation and put the new Robolectric tests in full-support/test/robotest. Bug: 36387078 Test: ./gradlew connectedAndroidTest test Change-Id: Ib07ec0ddf07affa30c46e786f4e9be7853a243c4
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/GlifListLayout.java
|
d349adb3941c88ae27ec451acd19641ba03205df |
|
26-Jan-2017 |
Maurice Lam <yukl@google.com> |
Add ListMixin Add ListMixin to allow common interface to a TemplateLayout containing lists. Test: ./gradlew connectedAndroidTest Change-Id: I6ebd2c5a83b14db534cf66e5de7fe12584441537
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/GlifListLayout.java
|
15391fc05a0fc45e9af85b653abffa41df575e91 |
|
06-Feb-2016 |
Maurice Lam <yukl@google.com> |
[SuwLib] Add divider insets Allow SetupWizardListLayout and SetupWizardRecyclerLayout to have divider insets. Change-Id: I879469b15692e86d24336b13a8ee9d1a796bb036
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/GlifListLayout.java
|
5a4d6cdfb63240c41527ba80b7baddba8933d770 |
|
04-Dec-2015 |
Maurice Lam <yukl@google.com> |
[SuwLib] GLIF layout adjustment for headers - Store the list item directly in the view holder and update in onBindViewHolder, so that the click handler is not prone to adapter position changes. - Glif[List/Recycler]Layout now returns the wrapped adapter when getAdapter is called. - Disable dividers for header views Change-Id: Ie782a4de06e2296d4996cb8b81b5d7d3fc834ccf
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/GlifListLayout.java
|
180360409c9e4e9163c670ff48663244b4057eaf |
|
14-Nov-2015 |
Maurice Lam <yukl@google.com> |
[SuwLib] Add dividers to GLIF list layouts Add dividers with inset support to GLIF list and recycler layouts. Typical usage of this will be by specifying app:suwDividerInset to either @dimen/suw_items_text_divider_inset or @dimen/suw_items_icon_divider_inset (the default). Bug: 25726515 Change-Id: I8f569680d71d1baba093b20f3d48570d53383acb
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/GlifListLayout.java
|
e15b8a2489610e3a6fe0a5bc2e26625b067631e0 |
|
20-Nov-2015 |
Maurice Lam <yukl@google.com> |
[SuwLib] Implement GlifListLayout Bug: 25726515 Change-Id: I192f33635e9919c02adfdb2c9afa1652dd84aab2
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/GlifListLayout.java
|