Index: chrome/android/java/res/layout/preference_float_label_layout.xml |
diff --git a/chrome/android/java/res/layout/preference_switch.xml b/chrome/android/java/res/layout/preference_float_label_layout.xml |
similarity index 54% |
copy from chrome/android/java/res/layout/preference_switch.xml |
copy to chrome/android/java/res/layout/preference_float_label_layout.xml |
index fc6c61b1a2455e60d03d4382b4eedaf0dd8b2dc2..d4f2b26bc442b255b53de2b0db0b36d5dd399ca9 100644 |
--- a/chrome/android/java/res/layout/preference_switch.xml |
+++ b/chrome/android/java/res/layout/preference_float_label_layout.xml |
@@ -3,11 +3,10 @@ |
Use of this source code is governed by a BSD-style license that can be |
found in the LICENSE file. --> |
-<org.chromium.chrome.browser.widget.ChromeSwitchCompat |
+<org.chromium.chrome.browser.widget.FloatLabelLayout |
xmlns:android="http://schemas.android.com/apk/res/android" |
- android:id="@+id/switch_widget" |
- android:layout_width="wrap_content" |
+ xmlns:app="http://schemas.android.com/apk/res-auto" |
+ android:layout_width="match_parent" |
android:layout_height="wrap_content" |
- android:focusable="false" |
- android:clickable="false" |
- android:background="@null" /> |
+ android:id="@+id/float_label_layout" |
+ app:floatLabelTextAppearance="@style/PreferenceFloatLabelTextAppearance" /> |