Merge "Update style switchbar layout"
This commit is contained in:
committed by
Android (Google) Code Review
commit
b1c7b88f10
@@ -16,13 +16,13 @@
|
|||||||
|
|
||||||
<!-- For use in a LayoutPreference -->
|
<!-- For use in a LayoutPreference -->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="0px"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent" >
|
||||||
android:layout_weight="1" >
|
|
||||||
|
|
||||||
<com.android.settings.widget.SwitchBar
|
<com.android.settings.widget.SwitchBar
|
||||||
android:id="@+id/switch_bar"
|
android:id="@+id/switch_bar"
|
||||||
android:layout_height="?android:attr/actionBarSize"
|
android:minHeight="?android:attr/actionBarSize"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:paddingStart="0dp"
|
android:paddingStart="0dp"
|
||||||
android:theme="?attr/switchBarTheme" />
|
android:theme="?attr/switchBarTheme" />
|
||||||
|
Reference in New Issue
Block a user