Merge "Match add network button width to master switch and tint it." into qt-dev am: 19626c24ec

am: 29870ede9c

Change-Id: Ib43e45588fc47550c528bfd6d61c48aa8862dc94
This commit is contained in:
Andrew Sapperstein
2019-04-04 23:03:05 -07:00
committed by android-build-merger
3 changed files with 5 additions and 0 deletions

View File

@@ -21,10 +21,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:minWidth="@dimen/two_target_min_width"
android:paddingStart="?android:attr/listPreferredItemPaddingEnd"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:background="?android:attr/selectableItemBackground"
android:scaleType="center"
android:src="@drawable/ic_add_24dp"
android:tint="?android:attr/colorAccent"
android:contentDescription="@string/add" />

View File

@@ -20,6 +20,7 @@
android:id="@+id/switchWidget"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:minWidth="@dimen/two_target_min_width"
android:gravity="center_vertical"
android:paddingStart="?android:attr/listPreferredItemPaddingEnd"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"

View File

@@ -393,4 +393,6 @@
<!-- Elevation of bluetooth icon -->
<dimen name="bt_icon_elevation">4dp</dimen>
<dimen name="two_target_min_width">80dp</dimen>
</resources>