mirror of
https://github.com/pppscn/SmsForwarder
synced 2025-08-03 01:17:41 +08:00
112 lines
3.7 KiB
XML
112 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="16dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingRight="16dp"
|
|
android:paddingBottom="16dp"
|
|
android:weightSum="1">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_weight="0.3"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<Button
|
|
android:id="@+id/sendBtn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:background="@drawable/send_btn"
|
|
android:text="@string/send"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="30sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/sendTxt"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10sp"
|
|
android:text="@string/old_mobile_phone" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.1"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:padding="15dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/server_ip"
|
|
android:textStyle="bold" />
|
|
|
|
<com.idormy.sms.forwarder.view.IPEditText
|
|
android:id="@+id/textServerIp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.3"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<Button
|
|
android:id="@+id/receiveBtn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:background="@drawable/receive_btn"
|
|
android:text="@string/receive"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="30sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/receiveTxt"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10sp"
|
|
android:text="@string/new_mobile_phone" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:gravity="start"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/ipText"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/local_ip"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/operating_instruction"
|
|
android:textSize="10sp"
|
|
tools:ignore="SmallSp" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |