|
|
<?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/editTextBarkName"
|
|
|
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="设置Bark-Server地址,示例:https://bark.bms.ink/XXXXXXXX/" />
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
android:id="@+id/editTextBarkServer"
|
|
|
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/buttonBarkOk"
|
|
|
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/buttonBarkDel"
|
|
|
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/buttonBarkTest"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="3dp"
|
|
|
android:layout_weight="1"
|
|
|
android:text="@string/test" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
</LinearLayout> |