Skip to content

Commit

Permalink
Remove maxLines attribute for preferences
Browse files Browse the repository at this point in the history
- This mainly concerns devices where the display and font size is set to large or larger in the device settings;
  • Loading branch information
BlackyHawky committed Jun 22, 2024
1 parent 196f2ae commit 4686a13
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
android:singleLine="true"
android:textAlignment="viewStart"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="10"
tools:text="Preference category summary" />

</RelativeLayout>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/layout/settings_preference_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="4"
tools:text="Preference summary" />

</RelativeLayout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
android:textAlignment="viewStart"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="4"
tools:text="40%" />

</RelativeLayout>
Expand Down

0 comments on commit 4686a13

Please sign in to comment.