summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2010-01-26 12:17:46 -0800
committerJim Miller <jaggies@google.com>2010-01-26 12:34:25 -0800
commit9985867a8eb80c6db84c80a9b5e96bd68e2d14d7 (patch)
tree83d64865f7b0c4dc9106aaeaa2d018e0db379881
parentcc4b4016e4b86db012f94bb889e5ca61ff362171 (diff)
downloadframeworks_base-9985867a8eb80c6db84c80a9b5e96bd68e2d14d7.zip
frameworks_base-9985867a8eb80c6db84c80a9b5e96bd68e2d14d7.tar.gz
frameworks_base-9985867a8eb80c6db84c80a9b5e96bd68e2d14d7.tar.bz2
Fix 2397617: Right-align carrier text in lock screen and add carrier text to PINunlock in landscape mode.
-rw-r--r--core/res/res/layout/keyguard_screen_sim_pin_landscape.xml32
-rw-r--r--core/res/res/layout/keyguard_screen_tab_unlock.xml1
-rw-r--r--core/res/res/layout/keyguard_screen_tab_unlock_land.xml1
-rw-r--r--core/res/res/layout/keyguard_screen_unlock_landscape.xml1
-rw-r--r--core/res/res/layout/keyguard_screen_unlock_portrait.xml1
5 files changed, 26 insertions, 10 deletions
diff --git a/core/res/res/layout/keyguard_screen_sim_pin_landscape.xml b/core/res/res/layout/keyguard_screen_sim_pin_landscape.xml
index 4c583d8..e75cf09 100644
--- a/core/res/res/layout/keyguard_screen_sim_pin_landscape.xml
+++ b/core/res/res/layout/keyguard_screen_sim_pin_landscape.xml
@@ -23,6 +23,28 @@
android:background="@android:color/background_dark"
>
+ <!-- header text ('Enter Pin Code') -->
+ <TextView android:id="@+id/headerText"
+ android:layout_above="@+id/carrier"
+ android:layout_centerHorizontal="true"
+ android:layout_marginBottom="30dip"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="24sp"
+ />
+
+ <!-- Carrier info -->
+ <TextView android:id="@+id/carrier"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/pinDisplayGroup"
+ android:layout_marginTop="9dip"
+ android:gravity="left|bottom"
+ android:singleLine="true"
+ android:ellipsize="marquee"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ />
+
<!-- displays dots as user enters pin -->
<LinearLayout android:id="@+id/pinDisplayGroup"
android:orientation="horizontal"
@@ -60,16 +82,6 @@
</LinearLayout>
- <!-- header text ('Enter Pin Code') -->
- <TextView android:id="@+id/headerText"
- android:layout_above="@id/pinDisplayGroup"
- android:layout_centerHorizontal="true"
- android:layout_marginBottom="30dip"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="24sp"
- />
-
<LinearLayout
android:orientation="horizontal"
android:layout_alignParentBottom="true"
diff --git a/core/res/res/layout/keyguard_screen_tab_unlock.xml b/core/res/res/layout/keyguard_screen_tab_unlock.xml
index 853b992..9d57486 100644
--- a/core/res/res/layout/keyguard_screen_tab_unlock.xml
+++ b/core/res/res/layout/keyguard_screen_tab_unlock.xml
@@ -39,6 +39,7 @@
android:layout_marginRight="8dip"
android:singleLine="true"
android:ellipsize="marquee"
+ android:gravity="right|bottom"
android:textAppearance="?android:attr/textAppearanceMedium"
/>
diff --git a/core/res/res/layout/keyguard_screen_tab_unlock_land.xml b/core/res/res/layout/keyguard_screen_tab_unlock_land.xml
index 0783943..27a29b1 100644
--- a/core/res/res/layout/keyguard_screen_tab_unlock_land.xml
+++ b/core/res/res/layout/keyguard_screen_tab_unlock_land.xml
@@ -44,6 +44,7 @@
android:layout_marginTop="20dip"
android:singleLine="true"
android:ellipsize="marquee"
+ android:gravity="right|bottom"
android:textAppearance="?android:attr/textAppearanceMedium"
/>
diff --git a/core/res/res/layout/keyguard_screen_unlock_landscape.xml b/core/res/res/layout/keyguard_screen_unlock_landscape.xml
index a5da3d0..bca6241 100644
--- a/core/res/res/layout/keyguard_screen_unlock_landscape.xml
+++ b/core/res/res/layout/keyguard_screen_unlock_landscape.xml
@@ -56,6 +56,7 @@
android:layout_marginTop="32dip"
android:singleLine="true"
android:ellipsize="marquee"
+ android:gravity="right|bottom"
/>
<com.android.internal.widget.DigitalClock android:id="@+id/time"
android:layout_width="wrap_content"
diff --git a/core/res/res/layout/keyguard_screen_unlock_portrait.xml b/core/res/res/layout/keyguard_screen_unlock_portrait.xml
index a0c5423..7c649ec 100644
--- a/core/res/res/layout/keyguard_screen_unlock_portrait.xml
+++ b/core/res/res/layout/keyguard_screen_unlock_portrait.xml
@@ -44,6 +44,7 @@
android:layout_toRightOf="@+id/time"
android:singleLine="true"
android:ellipsize="marquee"
+ android:gravity="right|bottom"
android:textAppearance="?android:attr/textAppearanceMedium"
/>