For #12105: Follow ux mock on Settings --> Accessibility screen
This commit is contained in:
parent
798c1bf743
commit
cdd5d206fd
|
@ -10,9 +10,9 @@
|
|||
android:baselineAligned="false"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:paddingStart="@dimen/radio_button_preference_horizontal"
|
||||
android:layout_marginStart="@dimen/top_bar_alignment_margin_start"
|
||||
android:layout_marginEnd="@dimen/radio_button_preference_horizontal"
|
||||
android:paddingTop="@dimen/preference_seek_bar_padding"
|
||||
android:paddingEnd="@dimen/radio_button_preference_horizontal"
|
||||
android:paddingBottom="@dimen/preference_seek_bar_padding">
|
||||
|
||||
<TextView
|
||||
|
@ -20,6 +20,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceListItem"
|
||||
android:textAlignment="viewStart"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="Font size" />
|
||||
|
||||
|
@ -27,11 +28,10 @@
|
|||
android:id="@android:id/summary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="6dp"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
app:layout_constraintTop_toBottomOf="@android:id/title"
|
||||
tools:layout_editor_absoluteX="16dp"
|
||||
tools:text="Make text on websites larger or smaller" />
|
||||
|
||||
<SeekBar
|
||||
|
@ -76,6 +76,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="33dp"
|
||||
android:padding="16dp"
|
||||
android:textAlignment="viewStart"
|
||||
android:text="@string/accessibility_text_size_sample_text_1"
|
||||
android:textColor="@color/text_scale_example_text_color"
|
||||
android:textSize="16sp"
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<dimen name="synced_tab_item_min_height">56dp</dimen>
|
||||
<dimen name="component_collection_creation_list_margin">16dp</dimen>
|
||||
<dimen name="exceptions_description_margin">12dp</dimen>
|
||||
<dimen name="preference_seek_bar_padding">24dp</dimen>
|
||||
<dimen name="preference_seek_bar_padding">16dp</dimen>
|
||||
<dimen name="custom_checkbox_alignment_margin">68dp</dimen>
|
||||
|
||||
<dimen name="context_menu_height">48dp</dimen>
|
||||
|
@ -50,6 +50,7 @@
|
|||
|
||||
<!--Preferences-->
|
||||
<dimen name="checkbox_preference_padding_vertical">12dp</dimen>
|
||||
<dimen name="top_bar_alignment_margin_start">72dp</dimen>
|
||||
|
||||
<!--Quick Settings-->
|
||||
<dimen name="quicksettings_item_height">28dp</dimen>
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
android:defaultValue="true"
|
||||
android:key="@string/pref_key_accessibility_auto_size"
|
||||
android:summary="@string/preference_accessibility_auto_size_summary"
|
||||
android:title="@string/preference_accessibility_auto_size_2"
|
||||
app:iconSpaceReserved="false" />
|
||||
android:title="@string/preference_accessibility_auto_size_2" />
|
||||
<!-- Custom Preference that scales from 50-200% by steps of 5 represented by 0-30 in steps of 1-->
|
||||
<org.mozilla.fenix.settings.TextPercentageSeekBarPreference
|
||||
android:defaultValue="10"
|
||||
|
@ -29,6 +28,5 @@
|
|||
android:key="@string/pref_key_accessibility_force_enable_zoom"
|
||||
android:summary="@string/preference_accessibility_force_enable_zoom_summary"
|
||||
android:title="@string/preference_accessibility_force_enable_zoom"
|
||||
app:allowDividerAbove="true"
|
||||
app:iconSpaceReserved="false" />
|
||||
app:allowDividerAbove="true" />
|
||||
</PreferenceScreen>
|
||||
|
|
Loading…
Reference in New Issue
Block a user