summaryrefslogtreecommitdiff
path: root/library/gingerbread/res/values/styles.xml
AgeCommit message (Collapse)Author
2018-03-21Revert "Update fourcolor progress bar"Maurice Lam
This reverts commit b5a2d11440eab84ef1ae1f44fb29b0690038c8e5. Reason for revert: UX likes the old blue progress bar better Bug: 63074068 Change-Id: Ide8c1117e4d4aae3016046641a1ff9880dec0f81
2018-03-14Update fourcolor progress barMaurice Lam
Test: Manual. Existing tests pass Bug: 63074068 Change-Id: I52a1704c39a9a54f9a4e79f42d174a20ee96c310 (cherry picked from commit 83817ea0336e6d9a217b4c4585b11dbaf3eb740a)
2018-02-26Set corner radius for GLIF buttonsMaurice Lam
In GLIF v2, the corner radius stays at 2dp, but now referencing a resource defined inside the library itself. In GLIF v3, the corner radius is 4dp. Note that this only affects device running P or above since the corner radius API is new. Test: Manual + Existing tests pass Bug: 73252680 Change-Id: Ia7110b097c5217b54ed363939158d1960f56f02a
2018-02-16Set color primary to color accentMaurice Lam
For GLIF v3, color accent is changed, and color primary should be changed to match as well. Test: ./gradlew test Bug: 73253714 Change-Id: I553f4eaccc75abaedad4cf9e31d003d6c1f64660
2018-02-15Use google-sans-medium for GLIF buttonsMaurice Lam
Test: Manual, Existing tests pass Bug: 73252680 Change-Id: Idb6c8821fc07eceae86f5574e3f4ec82cf3fcb8f
2018-01-11Implement GLIF v3 button styleMaurice Lam
Buttons are now sentence case and uses Google sans font if available. Test: ./gradlew test Bug: 71759812 Change-Id: Ibb42b58306163f387837600ca52e73065c2b0d9d
2018-01-11Use light nav bar for GLIF V3 on API v27+Maurice Lam
Test: ./gradlew test Bug: 70896202 Change-Id: I742e807bca40b0a77158293f0d0cce52bc0cad3f
2018-01-03More app bar support in GlifLayoutMaurice Lam
- Add app:suwStickyHeader attribute to GlifLayout to specify a custom app bar layout, which can be a Toolbar. - Create indirection attribute ?attr/suwGlifIconStyle to allow apps to override the GLIF icon style. Test: ./gradlew test Bug: 68826871 Change-Id: I6384db970582c56431b6085bb172f6ca28099f9d
2017-12-20Merge "Change accent color in GLIF V3"TreeHugger Robot
2017-12-20Merge "Rename GM progress bar to FourColor"TreeHugger Robot
2017-12-18Update dialog styles to material 2Ajay Nadathur
bug: 69930374 Test: Manually tested Change-Id: I3921dc09dca9c11e7c5b86e29f3ab88436559578
2017-12-16Change accent color in GLIF V3Maurice Lam
Change the accent color to Google Blue 600 for better contrast. The button color change in ag/3301076 was mostly reverted because the color will be automatically picked up from the updated accent color. Test: Manual, Existing tests pass Bug: 69930196 Change-Id: I2fad5b029357afec9402ef8de5810fa0e092a713
2017-12-14Rename GM progress bar to FourColorMaurice Lam
Test: Existing tests pass Bug: 63074068 Change-Id: Ib0ab34b556934de71920862fbd1d4b194f3db8a8
2017-12-11Implement new XL Progress barMaurice Lam
For screens without much content, the new style is to use an extra large progress bar (same size as illustration). Bug: 63074068 Test: ./gradlew test Change-Id: If139e8eeb555cc684ce43a91524ad2da00b7dc93
2017-12-05Merge "Add GLIF v3 theme and make buttons Google Blue 600"Maurice Lam
2017-12-01Add GLIF v3 theme and make buttons Google Blue 600Maurice Lam
Test: ./gradlew test Bug: 69930196 Change-Id: Iba6be8daad2f27925647e43a6a1c5e19c03fb7bb
2017-11-21Specify colorBackground in material themeMaurice Lam
Lollipop and Marshmallow have different background colors. Specify the color in SuwThemeMaterial so they are consistent across OS versions. Test: Manual Bug: 69563212 Change-Id: Ice36a8f74796c0dd804fa897d74188c9ff88354d
2017-05-12Add layout to size illustrationsMaurice Lam
- Add FillContentLayout, which is a (frame)layout which, when set to fill the remaining space of its parent, will make sure its children are sized between minWidth/minHeight and maxWidth/maxHeight. - Renamed styleable SuwIntrinsicSizeFrameLayout to be consistent with the name of the view that uses it. Test: ./gradlew connectedAndroidTest test Bug: 38210310 Change-Id: I5b2aa6cfe8b4a05843de25d39cae776609f3d161
2017-05-01Set GLIF v1 background color to true white/blackMaurice Lam
To make sure the same video asset can be used for both GLIF v1 and v2, change the background of v1 to be #ffffff and #000000 to match GLIF v2. Bug: 37686500 Test: Manual. Existing tests updated Change-Id: I70c60f8a9dfade6dbac376f01f26023bac1c7aee
2017-04-27Merge "Allow setting DividerInsetEnd"Maurice Lam
2017-04-25Set link color to accent color for GLIF themeMaurice Lam
Test: Manual Bug: 37677772 Change-Id: I4f5b36485b4577be92441e5e2a0f2895fad485cd
2017-04-25Allow setting DividerInsetEndMaurice Lam
- 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
2017-04-21Merge "Fix material theme item margins"Maurice Lam
2017-04-20Update footer style to match redlinesMaurice Lam
- Removed minimum width on the primary button - Removed bottom padding, so the buttons are now perfectly center aligned Test: Manual + existing tests pass Bug: 35448201 Change-Id: I328fab1a13587c43b8add8902f74bd528f5822f7
2017-04-12Fix material theme item marginsMaurice Lam
When using the gingerbread variant with material theme, the margins of items are set by android:listPreferredItemPaddingStart and android:listPreferredItemPaddingEnd. Set that properly in the material themes too. (GLIF themes already set these) Test: Manual inspection. Existing tests pass Change-Id: I133a61e25f31c717f0cc6ea2651da8ad32c71f25
2017-04-06Fix description item with material themeMaurice Lam
SuwItemTitle.Description style can be used with material theme and therefore should not reference GLIF specific attributes. Created new attribute suwItemDescriptionTitleStyle so that GLIF item can use a GLIF specific style to adjust description text alignment, while material theme will use the normal SuwTitle style. Test: ./gradlew connectedAndroidTest test Bug: 37033526 Change-Id: I0d162bf6984f6a2fbbf04143a256fb70862527b0
2017-03-28Rename SuwLib directoriesMaurice Lam
Rename eclair-mr1 to gingerbread to reflect the min SDK version change, and full-support to recyclerview to better reflect what's inside the directory Also added comments and applied style fixes to keep checkstyle happy. Test: Existing tests pass Change-Id: I20332f718f2aae04092d5e45de944b1efce1a596