summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2015-06-18 18:30:09 -0700
committerKenny Root <kroot@google.com>2015-06-18 23:25:29 -0700
commitcf81925456d5d6ac5bce8f50fb2294de7a7246ca (patch)
tree760d988b6b718083cd2702656e52e0b6c12c92a7
parente110193e399556dd1eb65a7cbca0df5b2346c9cf (diff)
downloadandroid_packages_apps_CertInstaller-cf81925456d5d6ac5bce8f50fb2294de7a7246ca.tar.gz
android_packages_apps_CertInstaller-cf81925456d5d6ac5bce8f50fb2294de7a7246ca.tar.bz2
android_packages_apps_CertInstaller-cf81925456d5d6ac5bce8f50fb2294de7a7246ca.zip
Fix RTL layout issue
The wrap_content directive was keeping the text confined to the left side of the screen. Changing it to match_parent will allow it to span the entire dialog. (cherry picked from commit c4178d293ef609a9e3b045fa8e001e9e8179b868) Bug: 21665076 Change-Id: I8506d99ff3e622281187c0bd32b41b4d509b4e24
-rw-r--r--res/layout/name_credential_dialog.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/layout/name_credential_dialog.xml b/res/layout/name_credential_dialog.xml
index f68c8f7..b7c6d7c 100644
--- a/res/layout/name_credential_dialog.xml
+++ b/res/layout/name_credential_dialog.xml
@@ -44,12 +44,12 @@
<LinearLayout
android:id="@+id/credential_usage_group"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="12dp"
android:text="@string/credential_usage_label"
@@ -57,7 +57,7 @@
<Spinner
android:id="@+id/credential_usage"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:entries="@array/credential_usage" />