summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Scott <olivercscott@gmail.com>2021-09-25 22:17:57 +0530
committerGeorge Zacharia <george.zcharia@gmail.com>2021-09-26 11:34:24 +0530
commit1a03cfb7cd6a967ad98d79510dac1014650d0cc1 (patch)
treeafdc1cbd59af5c880116a0923b3a52ffc6aa11a5
parent4a6de24a76d059994d57cad81ead945340353573 (diff)
fixup! Add button to setup eSIM on missing SIM pageHEADr11.1
Change-Id: I4faf1f68a854d966114b70fed95dca26cbb14dd4
-rw-r--r--res/layout/sim_missing_page.xml35
-rw-r--r--res/values/strings.xml2
2 files changed, 32 insertions, 5 deletions
diff --git a/res/layout/sim_missing_page.xml b/res/layout/sim_missing_page.xml
index 7b19a96..60195d0 100644
--- a/res/layout/sim_missing_page.xml
+++ b/res/layout/sim_missing_page.xml
@@ -46,14 +46,39 @@
android:text="@string/sim_missing_summary"
style="@style/SudItemTitle.GlifDescription" />
- <ImageView
- android:id="@+id/sim_slot_image"
+ <TextView
android:layout_width="match_parent"
- android:layout_height="0px"
+ android:layout_height="wrap_content"
+ android:id="@+id/euicc"
+ android:text="@string/euicc_summary"
+ style="@style/SudItemTitle.GlifDescription" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
android:layout_weight="1"
- android:scaleType="fitEnd"
- android:src="@drawable/sim"/>
+ android:gravity="center_vertical"
+ android:orientation="vertical">
+
+ <ImageView
+ android:id="@+id/sim_slot_image"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:src="@drawable/sim"
+ android:adjustViewBounds="true"
+ android:scaleType="fitCenter"
+ android:gravity="center"
+ android:padding="@dimen/content_margin_left" />
+
+ <Button
+ android:id="@+id/setup_euicc"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:text="@string/setup_euicc"
+ style="@style/SudGlifButton.Primary" />
+ </LinearLayout>
</LinearLayout>
</FrameLayout>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index e18ba13..3c95aef 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -110,4 +110,6 @@
<!-- eSIM setup -->
<string name="setup_euicc">Setup eSIM</string>
+ <string name="euicc_summary">You can also add an eSIM to your device.</string>
+
</resources>