OSDN Git Service

Add min width to switchbar toggle.
authorFan Zhang <zhfan@google.com>
Thu, 28 Mar 2019 20:40:35 +0000 (13:40 -0700)
committerFan Zhang <zhfan@google.com>
Thu, 28 Mar 2019 20:40:35 +0000 (13:40 -0700)
Fixes: 127878068
Test: visual
Change-Id: I77eb35ee7931cd6e4808192fe5ff4b700b51ccdb

res/values/themes.xml

index a8ae506..d777fd0 100644 (file)
         <item name="android:trackTint">@color/switchbar_switch_track_tint</item>
         <item name="android:thumbTint">@color/switchbar_switch_thumb_tint</item>
         <item name="android:minHeight">@dimen/min_tap_target_size</item>
+        <item name="android:minWidth">@dimen/min_tap_target_size</item>
     </style>
 
     <style name="Theme.CryptKeeper" parent="@android:style/Theme.Material.NoActionBar">