diff options
author | Maurice Lam <yukl@google.com> | 2017-04-21 14:19:58 -0700 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2017-04-24 14:19:58 -0700 |
commit | 52b85e4fa2f56e9f1562d7a93ca1a33a3d409015 (patch) | |
tree | bce1eb62e81f1c78f7f118df4cd19aef3762d12e /library/gingerbread/res/drawable/suw_ic_expand_more.xml | |
parent | 1a8259d4fb0a29ca334ac8728ef9ac9e4241f056 (diff) | |
download | setupwizard-52b85e4fa2f56e9f1562d7a93ca1a33a3d409015.tar.gz |
Polish UX of expandable switch
- Padding from the expandable arrow is now 4dp
- Arrow is pushed down 2.5dp (by modifying the drawable) to align
with the text
- Switch and the switch divider is now fixed 36dp from top rather
than vertically aligned
Bug: 37576453
Test: ./gradlew connectedAndroidTest test
Change-Id: Ibb3028d3bb17ca9d054911e4ff27098a200af0da
Diffstat (limited to 'library/gingerbread/res/drawable/suw_ic_expand_more.xml')
-rw-r--r-- | library/gingerbread/res/drawable/suw_ic_expand_more.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/library/gingerbread/res/drawable/suw_ic_expand_more.xml b/library/gingerbread/res/drawable/suw_ic_expand_more.xml index ed63e21..ff3a0c5 100644 --- a/library/gingerbread/res/drawable/suw_ic_expand_more.xml +++ b/library/gingerbread/res/drawable/suw_ic_expand_more.xml @@ -16,11 +16,13 @@ --> <vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="18dp" - android:height="18dp" - android:viewportWidth="24.0" + android:width="20dp" + android:height="24dp" + android:viewportWidth="20.0" android:viewportHeight="24.0"> + <path android:fillColor="#ff000000" - android:pathData="M16.59,8.59L12,13.17 7.41,8.59 6,10l6,6 6,-6z"/> + android:pathData="M13.83,9.66L10,13.48 6.18,9.66 5,10.83l5,5 5,-5z"/> + </vector> |