Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #9880 - fixed sync settings style
Browse files Browse the repository at this point in the history
  • Loading branch information
cadeyrn authored and mcarare committed Apr 28, 2020
1 parent c86209f commit f0e659b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/res/layout/checkbox_left_preference.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
android:gravity="center_vertical"
android:paddingStart="16dp"
android:layout_marginBottom="8dp"
android:paddingEnd="?android:attr/scrollbarSize">
android:paddingEnd="16dp">

<LinearLayout
android:id="@android:id/widget_frame"
Expand Down
9 changes: 8 additions & 1 deletion app/src/main/res/xml/account_settings_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">

<androidx.preference.Preference
app:iconSpaceReserved="false"
android:key="@string/pref_key_sync_now"
android:title="@string/preferences_sync_now" />

<androidx.preference.EditTextPreference
app:iconSpaceReserved="false"
android:key="@string/pref_key_sync_device_name"
android:title="@string/preferences_sync_device_name" />

<androidx.preference.Preference
app:iconSpaceReserved="false"
android:key="@string/pref_key_sign_out"
android:title="@string/preferences_sign_out" />

Expand All @@ -24,16 +28,19 @@
<androidx.preference.CheckBoxPreference
android:defaultValue="true"
android:key="@string/pref_key_sync_bookmarks"
android:layout="@layout/checkbox_left_preference"
android:title="@string/preferences_sync_bookmarks" />

<androidx.preference.CheckBoxPreference
android:defaultValue="true"
android:key="@string/pref_key_sync_history"
android:layout="@layout/checkbox_left_preference"
android:title="@string/preferences_sync_history" />

<androidx.preference.CheckBoxPreference
android:defaultValue="true"
android:key="@string/pref_key_sync_logins"
android:layout="@layout/checkbox_left_preference"
android:title="@string/preferences_sync_logins" />
</androidx.preference.PreferenceCategory>
</PreferenceScreen>

0 comments on commit f0e659b

Please sign in to comment.