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

Commit 8f5facc1 authored by Benson Huang's avatar Benson Huang Committed by Leo Wang
Browse files

[FM] Recording view displays incompletely if setting font size as...

    [FM] Recording view displays incompletely if setting font size as Large/Huge or changing language to Chinese

    Launch FM and play -> Start recording -> Set font
    size as Large/Huge -> Check recording view or Launch
    FM and play -> Start recording -> Change language to
    Traditional Chinese -> Check recording view, FM
    recording view will display incompletely.

    The fix is to change some layout and language translation.

    Bug 18826695

    Review: https://partner-android-review.git.corp.google.com/#/c/189805



    Signed-off-by: default avatarBenson Huang <benson.huang@mediatek.com>

Change-Id: Ibfa49f2cb10cb808367e674d980149ebdae89911
parent 7062ea20
Loading
Loading
Loading
Loading
+51 −45
Original line number Diff line number Diff line
@@ -26,11 +26,15 @@
        android:id="@+id/timer_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginEnd="16dip"
        android:layout_marginStart="16dip"
        android:layout_weight="100"
        android:gravity="center" >

        <HorizontalScrollView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingLeft="16dip"
            android:paddingRight="16dip"
            android:scrollbars="none" >
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
@@ -51,8 +55,8 @@
                    android:id="@+id/minutes_label"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                android:layout_marginLeft="12dip"
                android:layout_marginRight="24dip"
                    android:layout_marginLeft="8dip"
                    android:layout_marginRight="16dip"
                    android:fontFamily="sans-serif"
                    android:singleLine="true"
                    android:text="@string/minutes_label"
@@ -73,13 +77,15 @@
                    android:id="@+id/seconds_label"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                android:layout_marginLeft="12dip"
                    android:layout_marginLeft="8dip"
                    android:fontFamily="sans-serif"
                    android:singleLine="true"
                    android:text="@string/seconds_label"
                    android:textColor="#607D8B"
                    android:textSize="24sp" />
            </LinearLayout>
        </HorizontalScrollView>

    </LinearLayout>

    <RelativeLayout
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
    <string name="station_title" msgid="4027617747760605320">"電台"</string>
    <string name="station_searching_tips" msgid="6970095710072278870">"正在取得電台"</string>
    <string name="station_empty_text" msgid="6847327406626186898">"未找到任何電台"</string>
    <string name="minutes_label" msgid="3225846493097986594">"分"</string>
    <string name="minutes_label" msgid="3225846493097986594">"分"</string>
    <string name="seconds_label" msgid="3998011734682420096">"秒"</string>
    <string name="timer_default" msgid="8062388403825907344">"00"</string>
    <string name="record_title" msgid="8695283158200902780">"正在錄音"</string>
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
    <string name="station_title" msgid="4027617747760605320">"電台"</string>
    <string name="station_searching_tips" msgid="6970095710072278870">"正在取得電台清單"</string>
    <string name="station_empty_text" msgid="6847327406626186898">"找不到電台"</string>
    <string name="minutes_label" msgid="3225846493097986594">"分"</string>
    <string name="minutes_label" msgid="3225846493097986594">"分"</string>
    <string name="seconds_label" msgid="3998011734682420096">"秒"</string>
    <string name="timer_default" msgid="8062388403825907344">"00"</string>
    <string name="record_title" msgid="8695283158200902780">"錄音"</string>