Skip to content
Snippets Groups Projects
Commit 772a0109 authored by Aashna Jena's avatar Aashna Jena Committed by Android (Google) Code Review
Browse files

Revert "Migrate MainSwitchBar to Material3"

This reverts commit 826a4b8d.

Reason for revert: DroidMonitor revert for b/310156713

Bug: 310156713
Change-Id: If77fab22f9ee2c9de3006db7be9748dbcebeae23
parent 826a4b8d
No related branches found
No related tags found
No related merge requests found
......@@ -47,12 +47,14 @@
android:textAppearance="?android:attr/textAppearanceListItem"
style="@style/MainSwitchText.Settingslib" />
<include
<Switch
android:id="@android:id/switch_widget"
layout="@layout/preference_widget_switch_compat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical" />
android:layout_height="48dp"
android:layout_gravity="center_vertical"
android:focusable="false"
android:clickable="false"
android:theme="@style/Switch.SettingsLib"/>
</LinearLayout>
</LinearLayout>
......
......@@ -49,12 +49,14 @@
android:lineBreakWordStyle="phrase"
style="@style/MainSwitchText.Settingslib" />
<include
<Switch
android:id="@android:id/switch_widget"
layout="@layout/preference_widget_switch_compat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical" />
android:layout_height="48dp"
android:layout_gravity="center_vertical"
android:focusable="false"
android:clickable="false"
android:theme="@style/Switch.SettingsLib"/>
</LinearLayout>
</LinearLayout>
......
......@@ -38,11 +38,13 @@
android:layout_marginStart="@dimen/settingslib_switchbar_subsettings_margin_start"
android:textAlignment="viewStart"/>
<include
<Switch
android:id="@android:id/switch_widget"
layout="@layout/preference_widget_switch_compat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical" />
android:layout_gravity="center_vertical"
android:focusable="false"
android:clickable="false"
android:theme="@style/SwitchBar.Switch.Settingslib"/>
</LinearLayout>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment