mirror of
https://github.com/cwinfo/envayasms.git
synced 2025-06-26 02:39:23 +00:00
add test mode to allow testing KalSMS on a phone that is also being used for normal messaging; allow user to configure specific phone numbers to handle
This commit is contained in:
7
res/layout/add_test_phone_number.xml
Executable file
7
res/layout/add_test_phone_number.xml
Executable file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<EditText xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/add_test_sender_text"
|
||||
android:layout_width="fill_parent"
|
||||
android:inputType="phone"
|
||||
android:layout_height="wrap_content">
|
||||
</EditText>
|
9
res/layout/test_phone_number.xml
Executable file
9
res/layout/test_phone_number.xml
Executable file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:padding="10dp"
|
||||
android:textColor="#ffffff"
|
||||
android:textStyle="bold"
|
||||
android:textSize="16sp" >
|
||||
</TextView>
|
28
res/layout/test_phone_numbers.xml
Executable file
28
res/layout/test_phone_numbers.xml
Executable file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" android:background="#333333">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10sp"
|
||||
android:text="@string/test_senders">
|
||||
</TextView>
|
||||
|
||||
<ListView android:id="@android:id/list"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/add_test_phone_number"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:onClick="addTestSender"
|
||||
android:text="Add Test Sender" />
|
||||
|
||||
</LinearLayout>
|
||||
|
Reference in New Issue
Block a user