mirror of
https://github.com/pppscn/SmsForwarder
synced 2025-08-22 10:47:41 +08:00
51 lines
1.8 KiB
XML
51 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="?attr/xui_config_content_spacing_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/frpc_name" />
|
|
|
|
<com.xuexiang.xui.widget.edittext.materialedittext.MaterialEditText
|
|
android:id="@+id/tv_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:hint="@string/tips_input_config_name"
|
|
app:met_allowEmpty="false"
|
|
app:met_maxCharacters="20"
|
|
app:met_minCharacters="1" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/frpc_autorun" />
|
|
|
|
<com.xuexiang.xui.widget.button.switchbutton.SwitchButton
|
|
android:id="@+id/sb_autorun"
|
|
style="@style/SwitchButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |