You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
168 lines
5.3 KiB
XML
168 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text="设置匹配的字段:选择全部转发后不再匹配下方的模式值直接使用发送方发送" />
|
|
|
|
|
|
<RadioGroup
|
|
android:id="@+id/radioGroupRuleFiled"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<RadioButton
|
|
android:id="@+id/btnTranspondAll"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:text="转发全部" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/btnPhone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="手机号" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/btnContent"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="内容" />
|
|
</RadioGroup>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text="设置匹配的模式" />
|
|
|
|
|
|
<RadioGroup
|
|
android:id="@+id/radioGroupRuleCheck"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<RadioButton
|
|
android:id="@+id/btnIs"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:text="是" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/btnNotIs"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="不是" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/btnContain"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="包含" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/btnStartWith"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="开头" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/btnEndWith"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="结尾" />
|
|
|
|
</RadioGroup>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text="设置匹配的值" />
|
|
|
|
|
|
<EditText
|
|
android:id="@+id/editTextRuleValue"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:ems="10"
|
|
android:inputType=""
|
|
android:text="" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/ruleSenderTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text="" />
|
|
|
|
|
|
<Button
|
|
android:id="@+id/btSetRuleSender"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="设置发送方">
|
|
|
|
</Button>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/buttonruleok"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:layout_weight="1"
|
|
android:text="@string/ok" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonruledel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:layout_weight="1"
|
|
android:text="@string/del" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout> |