summaryrefslogtreecommitdiff
path: root/library/main/res
AgeCommit message (Collapse)Author
2018-04-03Add padding to edit textMaurice Lam
Test: Manual Bug: 69930300 Change-Id: I285f998fb36ef9dbf5132e6a1e203f01071418bb
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-03-09Add touch feedback to tertiary buttonsMaurice Lam
Test: Manual, updated `./gradlew test` Bug: 29574531 Change-Id: I1db6beb3bd4d6c4ab34e7dfeab79ed8976756332 (cherry picked from commit fc01f70b288135f0c4654a4c16a023f6fd52ebd0)
2018-03-06Import translations. DO NOT MERGEBill Yi
Change-Id: If98c408c53ad5ceae4554fff46d8066558d0279c Auto-generated-cl: translation import
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-15Use google-sans-medium for GLIF buttonsMaurice Lam
Test: Manual, Existing tests pass Bug: 73252680 Change-Id: Idb6c8821fc07eceae86f5574e3f4ec82cf3fcb8f
2018-02-12Add navigation bar divider colorMaurice Lam
Test: Manual Bug: 72750512 Change-Id: Id2d80d618134056edf95b183943690c33fdbd763
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 "Extend Alert theme and not dialog"TreeHugger Robot
2017-12-20Merge "Change accent color in GLIF V3"TreeHugger Robot
2017-12-20Merge "Rename GM progress bar to FourColor"TreeHugger Robot
2017-12-19Extend Alert theme and not dialogAjay Nadathur
bug: 69930374 Test: Manually tested and verified Change-Id: Id005df7bd78c8fc25ba61fca417be237ceebb046
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-14Merge "Update text field style to Material 2 for suw"TreeHugger Robot
2017-12-14Merge "Revert "Revert "Changes needed to upgrade to new gradle version"""Maurice Lam
2017-12-14Update text field style to Material 2 for suwAjay Nadathur
bug: 69930300 Test: Manually tested Change-Id: I3079891881f00ab38d5d3bab8291e8ff1829e491
2017-12-13Revert "Revert "Changes needed to upgrade to new gradle version""Maurice Lam
This reverts commit 46216d0e61318e7af168e9e903ef8d943bb49b2e. Reason for revert: Roll forward - Added ag/3351790 to the topic Change-Id: I64990e558d3f77165ab3fe89006a02225b712257
2017-12-13Merge "Revert "Changes needed to upgrade to new gradle version""Colin Cross
2017-12-13Revert "Changes needed to upgrade to new gradle version"Colin Cross
This reverts commit ba1332d1b4dd525a2ef313246482708cb2016052. Reason for revert: Broke taimen builds in master Change-Id: Iffffadbacae8c6c69907dcecc447f958cf6ce909
2017-12-13Merge "Changes needed to upgrade to new gradle version"TreeHugger Robot
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-07Change SUW footer heightAjay Nadathur
- Changed the height of footer to 72dp from 80dp bug: 69930241 Test: Manually tested and verified the height of footer Change-Id: I1e434d5d15b68e095b5baf8687d1cc1a7ec313fe
2017-12-06Changes needed to upgrade to new gradle versionMaurice Lam
- Add ignore for various lint errors that is introduced in the lint update - Remove GLIF Pixel themes as they are unused and causing lint errors - Add flavor dimension "compat" as it is now required - Replace *Compile with *Implementation in the gradle files, as needed by the newer Gradle version - Use build tools 27.0.0 to avoid the Gradle warning - Use new Robolectric configuration mechanism and removed our old hack, per http://robolectric.org/getting-started/ Reference: https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html Test: Existing tests pass Bug: 70287447 Change-Id: I505476ae3695cd06349766c5e6280299f779f272
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-11-07Merge "Allow GlifLayout to not request fullscreen"TreeHugger Robot
2017-11-03Allow GlifLayout to not request fullscreenMaurice Lam
For usage with app bars or inside another layout, GlifLayout should not request fullscreen. Add a flag to allow disabling that. Test: ./gradlew test Bug: 68826871 Change-Id: Ie6a7f91628af5b861e8ba91e62a3f1c9c390aebf
2017-11-02Hide icon view if icon is nullMaurice Lam
To remove the extra margin when the icon is not used. Test: ./gradlew connectedAndroidTest Bug: 68826871 Change-Id: Ic23307a28b2829fdbe029c61f912f04bab90ca13
2017-09-06Import translations. DO NOT MERGEBill Yi
Change-Id: Ic3bd4a006b17bcb36e60b3b5f5fcf22242d6711b Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
2017-08-27Import translations. DO NOT MERGEBill Yi
Change-Id: Ica3a3f0e2bbb680dfb35c86e0940fe06c236d998 Auto-generated-cl: translation import
2017-08-23Import translations. DO NOT MERGEBill Yi
Change-Id: I9a663646228e95ae006a0b1fd328e1c06ff98c33 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
2017-08-12Import translations. DO NOT MERGEBill Yi
Change-Id: Ic1e67887f748126543ebb9bcf583f98f1bdb4bf6 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
2017-07-25Revert "Import translations. DO NOT MERGE"Bill Yi
This reverts commit 6042ea8d3f0c789e61b8530a815f0da253996d17. Change-Id: I22b5dbda88c93cd028745fc4e9582150cec8def8
2017-07-25Import translations. DO NOT MERGEBill Yi
Change-Id: I17c2c5957d9eaab581330b20fc6925def9a0d111 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
2017-07-06Add stackable button bar styleoreo-dr1-devMaurice Lam
The gravity change caused incompatibility with existing code. So instead we create SuwGlifButtonBar.Stackable style for the stackable version. Test: Manual Bug: 63399819 Change-Id: I146dbc4f7f2a2019cfe964f59f0a73c099845f30
2017-06-28Add ButtonBarLayoutMaurice Lam
Add custom (linear) layout which will stack the buttons vertically when there is not enough horizontal space. Test: Manual Bug: 62488121 Change-Id: I8d5cc72d07514627e800382267f8850531fce3d2
2017-05-17Add IllustrationVideoView to setup wizard libraryMaurice Lam
- Upstreamed setup wizard's IllustrationVideoView to SuwLib - Modified the view to automatically listen to window focus changes to play and pause the video - The view will now release the MediaPlayer as well in onSurfaceTextureDestroyed - Added checkstyle_suppression XML so it will ignore the "__constructor__" magic method name from the style check. Bug: 36584499 Test: ./gradlew connectedAndroidTest test Change-Id: Id045467d5d544a5f54464a0c938d3d56e758e455
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-09Merge "Import translations. DO NOT MERGE"TreeHugger Robot
2017-05-09Import translations. DO NOT MERGEBill Yi
Change-Id: I5cce964de505aba5e877b71bbd09cdedf1c4611a Auto-generated-cl: translation import
2017-05-09Add footer stubs to blank template am: af3208e2c3Maurice Lam
am: eaea02f277 Change-Id: Idb8d7939dd0af381296ece6329f81ed4142d08e2
2017-05-08Add footer stubs to blank templateMaurice Lam
Test: ./gradlew test Bug: 38043070 Change-Id: I91aae8667f1eef37f8c3cccb879871afefb90823
2017-05-04Update setupwizardlib to use google-sans.Andrew Sapperstein
Bug: 36855735 Test: manual, opened fingerprint settings Change-Id: I79eb2ee5e7bfb5a98d87e41d89c06bb7014a22e4
2017-05-02Merge "Set GLIF v1 background color to true white/black"TreeHugger Robot