Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5b4715e authored by yyalan's avatar yyalan Committed by Yalan Yiue
Browse files

[Partial Screensharing] Option text is cropped with max font size

Set the TextView to wrap_content

Before https://screenshot.googleplex.com/afFZ4vzuho2Q9US.png
After https://screenshot.googleplex.com/6TASZXVnbHbSDNB.png

Bug: 265002125
Test: manual
Change-Id: I18d6ec9ed66e6ef91099fddb8b18ad18c99641dc
parent 8027f460
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
    <TextView
        android:id="@+id/screen_recording_dialog_source_text"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:textSize="14sp"
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
    android:layout_weight="1">
    <TextView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_height="wrap_content"
        android:text="@string/screenrecord_audio_label"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:fontFamily="@*android:string/config_headlineFontFamily"
@@ -30,7 +30,7 @@
    <TextView
        android:id="@+id/screen_recording_dialog_source_text"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_height="wrap_content"
        android:textColor="?android:attr/textColorSecondary"
        android:textAppearance="?android:attr/textAppearanceSmall"/>
</LinearLayout>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@
            android:importantForAccessibility="no"/>
        <TextView
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_height="wrap_content"
            android:minHeight="48dp"
            android:layout_weight="1"
            android:gravity="center_vertical"