Skip to content

Commit

Permalink
Fix up options page titles so they wrap as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuester committed Dec 27, 2023
1 parent ac71222 commit 26e26e3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion app/src/main/res/layout/customise_apps_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
tools:ignore="RtlSymmetry" />
<TextView
android:id="@+id/customise_apps_fragment_title"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textColor="?headerTextColor"
android:text="@string/options_fragment_customise_apps"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="@dimen/font_size_customize_title"
app:layout_constraintStart_toEndOf="@+id/customise_apps_fragment_back"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/customise_apps_fragment_list"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
tools:ignore="RtlSymmetry" />
<TextView
android:id="@+id/customize_app_drawer_fragment_app_list_title"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textColor="?headerTextColor"
android:text="@string/customize_app_drawer_fragment_visible_apps"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="@dimen/font_size_customize_title"
app:layout_constraintStart_toEndOf="@+id/customize_app_drawer_fragment_back"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<androidx.recyclerview.widget.RecyclerView
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/customize_app_drawer_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
tools:ignore="RtlSymmetry" />
<TextView
android:id="@+id/customize_app_drawer_title"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/options_fragment_customize_app_drawer"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="@dimen/font_size_customize_title"
app:layout_constraintStart_toEndOf="@+id/customize_app_drawer_fragment_back"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<ScrollView
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
tools:ignore="RtlSymmetry" />
<TextView
android:id="@+id/customise_apps_fragment_title"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textColor="?headerTextColor"
android:text="@string/customize_app_drawer_fragment_search_field_options"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="@dimen/font_size_customize_title"
app:layout_constraintStart_toEndOf="@+id/customise_apps_fragment_back"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<ScrollView
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/customize_quick_buttons_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
tools:ignore="RtlSymmetry" />
<TextView
android:id="@+id/customize_quick_buttons_fragment_header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="0dp"
android:text="@string/options_fragment_customize_quick_buttons"
android:textColor="?headerTextColor"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="@dimen/font_size_customize_title"
app:layout_constraintStart_toEndOf="@id/customize_quick_buttons_fragment_back"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/customize_quick_buttons_fragment_left"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/options_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
tools:ignore="RtlSymmetry" />
<TextView
android:id="@+id/options_fragment_title"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textColor="?headerTextColor"
android:text="@string/main_fragment_options"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="@dimen/font_size_customize_title"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/options_fragment_back" />

<ScrollView
Expand Down

0 comments on commit 26e26e3

Please sign in to comment.