[FM] #lqa5f0cf83f: Android - LQA - MR1 Radio and Dual SIM - RU - Discard button truncated
In the saving the recording dialog box the "Discard" button is
truncated to 2 (two) letters. Currently we use the most obvious
and explicit translation of ".. .........". This can be shortened,
if required, but not to 2 letters anyway. Please provide more space.
The fix is to change the layout.
Bug 19206787
from: https://partner-android-review.googlesource.com/#/c/202243/1
Change-Id: I328783efd2cbb959b658824b683391a81e48af0c
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
diff --git a/res/layout/save_dialog.xml b/res/layout/save_dialog.xml
index 6c067cd..7782bc4 100644
--- a/res/layout/save_dialog.xml
+++ b/res/layout/save_dialog.xml
@@ -74,8 +74,9 @@
<Button
android:id="@+id/save_dialog_button_discard"
- android:layout_width="88dip"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
+ android:layout_marginEnd="5dip"
android:alpha="0.87"
android:background="?android:selectableItemBackground"
android:fontFamily="sans-serif-medium"
@@ -85,8 +86,9 @@
<Button
android:id="@+id/save_dialog_button_save"
- android:layout_width="88dip"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
+ android:layout_marginStart="5dip"
android:alpha="1"
android:background="?android:selectableItemBackground"
android:fontFamily="sans-serif-medium"