mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-11 06:44:00 +00:00
Add max width to the screen instructions view text
- This ensures that the instruction wraps if the text is too long
Fixes: 328577545
Fixes: 345128488
Flag: EXEMPT bugfix
Test: Visual inspection of instructions view in different languages/form
factors
Change-Id: I73e889372a5c482277b0e4b61fb834304304c0a6
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
android:id="@+id/split_instructions_text"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:maxWidth="@dimen/split_instructions_view_max_width"
|
||||
android:textColor="?androidprv:attr/textColorOnAccent"
|
||||
android:text="@string/toast_split_select_app" />
|
||||
|
||||
@@ -36,6 +37,7 @@
|
||||
android:id="@+id/split_instructions_text_cancel"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="?androidprv:attr/textColorOnAccent"
|
||||
android:layout_marginStart="@dimen/split_instructions_start_margin_cancel"
|
||||
android:text="@string/toast_split_select_app_cancel"
|
||||
|
||||
@@ -45,4 +45,8 @@
|
||||
<dimen name="allset_page_allset_text_size">38sp</dimen>
|
||||
<dimen name="allset_page_swipe_up_text_size">15sp</dimen>
|
||||
|
||||
<!-- Splitscreen -->
|
||||
<!-- Max width of the split instructions view -->
|
||||
<dimen name="split_instructions_view_max_width">300dp</dimen>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -490,4 +490,8 @@
|
||||
<!-- Digital Wellbeing -->
|
||||
<dimen name="digital_wellbeing_toast_height">48dp</dimen>
|
||||
|
||||
<!-- Splitscreen -->
|
||||
<!-- Max width of the split instructions view -->
|
||||
<dimen name="split_instructions_view_max_width">220dp</dimen>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user