|
|
@ -1,13 +1,32 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
|
|
|
|
|
android:id="@+id/btnCleanLog"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
|
|
|
android:layout_marginBottom="90dp"
|
|
|
|
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
|
|
|
|
android:contentDescription="@string/clean_log"
|
|
|
|
|
|
|
|
android:onClick="cleanLog"
|
|
|
|
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
|
|
|
|
android:src="@drawable/ic_delete"
|
|
|
|
|
|
|
|
app:elevation="8dp"
|
|
|
|
|
|
|
|
tools:ignore="UsingOnClickInXml" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
|
|
android:id="@+id/radioGroup"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginTop="5dip"
|
|
|
|
android:layout_marginTop="5dip"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
android:orientation="horizontal">
|
|
|
@ -15,14 +34,16 @@
|
|
|
|
<RadioGroup
|
|
|
|
<RadioGroup
|
|
|
|
android:id="@+id/radioGroupTypeCheck"
|
|
|
|
android:id="@+id/radioGroupTypeCheck"
|
|
|
|
style="@style/rg_style"
|
|
|
|
style="@style/rg_style"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/btnTypeSms"
|
|
|
|
android:id="@+id/btnTypeSms"
|
|
|
|
style="@style/select_style"
|
|
|
|
style="@style/select_style"
|
|
|
|
|
|
|
|
android:checked="true"
|
|
|
|
android:tag="sms"
|
|
|
|
android:tag="sms"
|
|
|
|
android:text="@string/sms"
|
|
|
|
android:text="@string/sms" />
|
|
|
|
android:checked="true" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/btnTypeCall"
|
|
|
|
android:id="@+id/btnTypeCall"
|
|
|
@ -42,13 +63,18 @@
|
|
|
|
<com.idormy.sms.forwarder.RefreshListView
|
|
|
|
<com.idormy.sms.forwarder.RefreshListView
|
|
|
|
android:id="@+id/list_view_log"
|
|
|
|
android:id="@+id/list_view_log"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
android:layout_below="@+id/radioGroup"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
|
|
|
|
android:layout_marginBottom="25dp" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:orientation="vertical">
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
@ -59,7 +85,39 @@
|
|
|
|
android:text="@string/log_tips"
|
|
|
|
android:text="@string/log_tips"
|
|
|
|
android:textColor="@color/colorPrimary" />
|
|
|
|
android:textColor="@color/colorPrimary" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:id="@+id/radioGroupLine"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
|
|
|
|
android:background="#aadcdcdc" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--<com.shuhart.stepview.StepView
|
|
|
|
|
|
|
|
android:id="@+id/step_view"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:padding="5dp"
|
|
|
|
|
|
|
|
app:sv_selectedCircleColor="@color/colorPrimary"
|
|
|
|
|
|
|
|
app:sv_selectedTextColor="@color/colorPrimary"
|
|
|
|
|
|
|
|
app:sv_stepLineWidth="2dp"
|
|
|
|
|
|
|
|
app:sv_stepPadding="2dp"
|
|
|
|
|
|
|
|
app:sv_nextTextColor="@color/gray"
|
|
|
|
|
|
|
|
app:sv_nextStepLineColor="@color/gray"
|
|
|
|
|
|
|
|
app:sv_nextStepCircleEnabled="true"
|
|
|
|
|
|
|
|
app:sv_nextStepCircleColor="@color/gray"
|
|
|
|
|
|
|
|
app:sv_doneCircleColor="@color/colorPrimary"
|
|
|
|
|
|
|
|
app:sv_doneStepLineColor="@color/colorPrimary"
|
|
|
|
|
|
|
|
app:sv_doneCircleRadius="15dp"
|
|
|
|
|
|
|
|
app:sv_selectedCircleRadius="15dp"
|
|
|
|
|
|
|
|
app:sv_selectedStepNumberColor="@color/white"
|
|
|
|
|
|
|
|
app:sv_stepViewStyle="@style/StepView"
|
|
|
|
|
|
|
|
app:sv_doneStepMarkColor="@color/colorPrimaryDark"
|
|
|
|
|
|
|
|
app:sv_stepNumberTextSize="15sp"
|
|
|
|
|
|
|
|
app:sv_animationType="Line" />-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
android:orientation="horizontal">
|
|
|
@ -91,16 +149,186 @@
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
android:onClick="toSendSetting"
|
|
|
|
android:onClick="toSendSetting"
|
|
|
|
android:text="@string/sender_setting"
|
|
|
|
android:text="@string/sender_setting"
|
|
|
|
tools:ignore="ButtonStyle,UsingOnClickInXml" />
|
|
|
|
tools:ignore="ButtonStyle,UsingOnClickInXml" />
|
|
|
|
|
|
|
|
</LinearLayout>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:layout_width="15dp"
|
|
|
|
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:background="@drawable/step_circle_current"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
|
|
android:text="@string/_1"
|
|
|
|
|
|
|
|
android:textColor="#fff"
|
|
|
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
|
|
android:layout_width="15dp"
|
|
|
|
|
|
|
|
android:layout_height="4dp"
|
|
|
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
|
|
|
android:src="@drawable/step_rectangle_current"
|
|
|
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="4dp"
|
|
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
|
|
android:src="@drawable/step_rectangle_current"
|
|
|
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
|
|
android:layout_width="15dp"
|
|
|
|
|
|
|
|
android:layout_height="4dp"
|
|
|
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
|
|
|
android:src="@drawable/step_rectangle_current"
|
|
|
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:background="@drawable/step_circle_current"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
|
|
android:text="@string/_2"
|
|
|
|
|
|
|
|
android:textColor="#fff"
|
|
|
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
|
|
android:layout_width="15dp"
|
|
|
|
|
|
|
|
android:layout_height="4dp"
|
|
|
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
|
|
|
android:src="@drawable/step_rectangle_normal"
|
|
|
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="4dp"
|
|
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
|
|
android:src="@drawable/step_rectangle_normal"
|
|
|
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
|
|
android:layout_width="15dp"
|
|
|
|
|
|
|
|
android:layout_height="4dp"
|
|
|
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
|
|
|
android:src="@drawable/step_rectangle_normal"
|
|
|
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:background="@drawable/step_circle_normal"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
|
|
android:text="@string/_3"
|
|
|
|
|
|
|
|
android:textColor="#fff"
|
|
|
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
|
|
android:layout_width="15dp"
|
|
|
|
|
|
|
|
android:layout_height="4dp"
|
|
|
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
|
|
|
android:src="@drawable/step_rectangle_normal"
|
|
|
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="4dp"
|
|
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
|
|
android:src="@drawable/step_rectangle_normal"
|
|
|
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
|
|
android:layout_width="15dp"
|
|
|
|
|
|
|
|
android:layout_height="4dp"
|
|
|
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
|
|
|
android:src="@drawable/step_rectangle_normal"
|
|
|
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:background="@drawable/step_circle_normal"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
|
|
android:text="@string/_4"
|
|
|
|
|
|
|
|
android:textColor="#fff"
|
|
|
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:layout_width="15dp"
|
|
|
|
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
|
|
|
android:layout_marginBottom="10dp">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
|
|
android:text="@string/step_1"
|
|
|
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
|
|
android:text="@string/step_2"
|
|
|
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
|
|
android:text="@string/step_3"
|
|
|
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
|
|
android:text="@string/step_4"
|
|
|
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|