summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSanket Padawe <sanketpadawe@google.com>2014-11-12 12:41:35 -0800
committerSanket Padawe <sanketpadawe@google.com>2014-11-12 12:41:35 -0800
commit0381f6c67540b8696a8a32851034ea588d7ab9d7 (patch)
treead1b2f74e2861ee9aa34f32a0a3537e8e5ef8f6d /res
parentcdbba0489bec3a889c457312183ab9ab855cfc51 (diff)
downloadpackages_apps_Settings-0381f6c67540b8696a8a32851034ea588d7ab9d7.zip
packages_apps_Settings-0381f6c67540b8696a8a32851034ea588d7ab9d7.tar.gz
packages_apps_Settings-0381f6c67540b8696a8a32851034ea588d7ab9d7.tar.bz2
UI changes for icons in sim settings
+ UI changes relate to displaying sim icons in sim settings + Correcting way to display phone number inside sim settings dialog Bug: 18356419 Change-Id: I1fe025fac52f20b607d4492b99cfef9588ec9416
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/ic_live_help.pngbin0 -> 411 bytes
-rw-r--r--res/drawable-mdpi/ic_live_help.pngbin0 -> 306 bytes
-rw-r--r--res/drawable-xhdpi/ic_live_help.pngbin0 -> 463 bytes
-rw-r--r--res/drawable-xxhdpi/ic_live_help.pngbin0 -> 635 bytes
-rw-r--r--res/drawable-xxxhdpi/ic_live_help.pngbin0 -> 814 bytes
-rw-r--r--res/layout/select_account_list_item.xml36
6 files changed, 29 insertions, 7 deletions
diff --git a/res/drawable-hdpi/ic_live_help.png b/res/drawable-hdpi/ic_live_help.png
new file mode 100644
index 0000000..f3548f6
--- /dev/null
+++ b/res/drawable-hdpi/ic_live_help.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_live_help.png b/res/drawable-mdpi/ic_live_help.png
new file mode 100644
index 0000000..e958662
--- /dev/null
+++ b/res/drawable-mdpi/ic_live_help.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_live_help.png b/res/drawable-xhdpi/ic_live_help.png
new file mode 100644
index 0000000..dbbbfed
--- /dev/null
+++ b/res/drawable-xhdpi/ic_live_help.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_live_help.png b/res/drawable-xxhdpi/ic_live_help.png
new file mode 100644
index 0000000..f2a01fe
--- /dev/null
+++ b/res/drawable-xxhdpi/ic_live_help.png
Binary files differ
diff --git a/res/drawable-xxxhdpi/ic_live_help.png b/res/drawable-xxxhdpi/ic_live_help.png
new file mode 100644
index 0000000..00338a0
--- /dev/null
+++ b/res/drawable-xxxhdpi/ic_live_help.png
Binary files differ
diff --git a/res/layout/select_account_list_item.xml b/res/layout/select_account_list_item.xml
index d80fef5..55484b1 100644
--- a/res/layout/select_account_list_item.xml
+++ b/res/layout/select_account_list_item.xml
@@ -14,11 +14,12 @@
limitations under the License.
-->
-<!-- Layout of a single item in the InCallUI Account Chooser Dialog. -->
+<!-- Layout of a single item for displaying sim cards. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:background="?android:attr/selectableItemBackground"
android:padding="4dp" >
<ImageView android:id="@+id/icon"
@@ -26,11 +27,32 @@
android:layout_height="48dp"
android:scaleType="center" />
- <TextView android:id="@+id/text"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:gravity="start|center_vertical"
- android:layout_marginLeft="8dp"
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_marginStart="15dip"
+ android:layout_marginEnd="6dip"
+ android:layout_marginTop="6dip"
+ android:layout_marginBottom="6dip"
+ android:layout_height="wrap_content"
android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="match_parent" />
+ android:layout_weight="1" >
+ <TextView android:id="@+id/title"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:gravity="start|center_vertical"
+ android:layout_marginLeft="8dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:ellipsize="marquee"
+ android:fadingEdge="horizontal" />
+ <TextView android:id="@+id/summary"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:gravity="start|center_vertical"
+ android:layout_marginLeft="8dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/title"
+ android:textColor="?android:attr/textColorSecondary"
+ android:layout_alignStart="@id/title" />
+ </LinearLayout>
</LinearLayout>