Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4be780c6 authored by Nancy Chen's avatar Nancy Chen
Browse files

Add dialog for SIM card select option on dialer menus

Create new dialog that will be brought up when "Select SIM card" option
is chosen in the main dialer activity menu or the dialpad fragment menu

Bug: 15473965
Change-Id: Iff4943cebe98af0f7627795116802ba1a536c548
parent 89d3731a
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/default_sim_checkbox_layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="8dip"
    android:orientation="vertical">
    <!--  Dummy to enable right-justification of checkbox -->
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>
    <CheckBox
        android:id="@+id/default_sim_checkbox_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingStart="20dip"
        android:layout_marginLeft="20dip"
        android:layout_marginBottom="20dip"
        android:gravity="center"
        android:textSize="14sp"
        android:textAlignment="viewStart"
        android:text="@string/set_default_sim"/>
</LinearLayout>
+6 −0
Original line number Diff line number Diff line
@@ -123,6 +123,9 @@
        scratch.
    </string>

    <!-- Label for the check box to toggle default sim card setting [CHAR LIMIT=35]-->
    <string name="set_default_sim">Always use this SIM for calls</string>

    <!-- Title of the "Clearing frequently contacted" progress-dialog [CHAR LIMIT=35] -->
    <string name="clearFrequentsProgress_title">Clearing frequently contacted\u2026</string>

@@ -699,6 +702,9 @@ a ren't members of any other group. [CHAR LIMIT=25] -->
    <!--  The menu item to clear frequents [CHAR LIMIT=30] -->
    <string name="menu_clear_frequents">Clear frequents</string>

    <!-- Menu item to select SIM card -->
    <string name="menu_select_sim">Select SIM card</string>

    <!-- The menu item to open the list of accounts -->
    <string name="menu_accounts">Accounts</string>