|
|
<?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="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="3dp"
|
|
|
android:text="设置名称" />
|
|
|
|
|
|
<EditText
|
|
|
android:id="@+id/editTextWebNotifyName"
|
|
|
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:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="3dp"
|
|
|
android:text="设置Token:示例:https://a.b.com/msg?token=xyz" />
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
android:id="@+id/editTextWebNotifyToken"
|
|
|
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:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="3dp"
|
|
|
android:text="设置Secret:置空则不计算sign" />
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
android:id="@+id/editTextWebNotifySecret"
|
|
|
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="horizontal">
|
|
|
|
|
|
<Button
|
|
|
android:id="@+id/buttonbebnotifyok"
|
|
|
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/buttonbebnotifydel"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="3dp"
|
|
|
android:layout_weight="1"
|
|
|
android:text="@string/del" />
|
|
|
|
|
|
<Button
|
|
|
android:id="@+id/buttonbebnotifytest"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="3dp"
|
|
|
android:layout_weight="1"
|
|
|
android:text="@string/test" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
</LinearLayout> |