174 lines
6.2 KiB
XML
174 lines
6.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout 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="400dp"
|
|
android:background="#000002">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/line1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/bt_cancel"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginStart="5.33dp"
|
|
android:layout_marginTop="7.76dp"
|
|
android:layout_marginBottom="6.33dp"
|
|
android:src="@mipmap/icon_back" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="6.67dp"
|
|
android:text="@string/automatic_message_sending"
|
|
android:textColor="#CCCCCC"
|
|
android:textSize="15sp" />
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="1dp"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/robot_add_content"
|
|
android:layout_width="67.67dp"
|
|
android:layout_height="23.33dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginEnd="11dp"
|
|
android:background="@drawable/background_81c16d"
|
|
android:gravity="center"
|
|
android:text="@string/robot_add_content"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="10sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/line2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/line1"
|
|
android:layout_marginStart="10.33dp"
|
|
android:layout_marginEnd="10.67dp"
|
|
android:background="@drawable/bg_prank_coin"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="8.67dp"
|
|
android:paddingBottom="7.67dp">
|
|
|
|
<ImageView
|
|
android:layout_width="26dp"
|
|
android:layout_height="26dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="13.67dp"
|
|
android:src="@mipmap/icon_tip" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="8.33dp"
|
|
android:text="@string/robot_add_content_hint1"
|
|
android:textColor="#CCCCCC"
|
|
android:textSize="12sp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="8.33dp"
|
|
android:layout_marginTop="6dp"
|
|
android:text="@string/robot_add_content_hint2"
|
|
android:textColor="#CCCCCC"
|
|
android:textSize="12sp" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/robot_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/line2"
|
|
android:layout_marginTop="11dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:text="@string/robot_automatic_speech_interval"
|
|
android:textColor="#FFF"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="3.67dp"
|
|
android:text="@string/robot_minimum_interval"
|
|
android:textColor="#B3B3B3"
|
|
android:textSize="10sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/robot_time"
|
|
android:layout_width="96dp"
|
|
android:layout_height="27dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="10dp"
|
|
android:background="@drawable/bg_prank_coin"
|
|
android:gravity="center"
|
|
android:maxLines="1"
|
|
android:textColor="#FFF"
|
|
android:textSize="12sp" />
|
|
|
|
<EditText
|
|
android:id="@+id/robot_name_setting"
|
|
android:layout_width="96dp"
|
|
android:layout_height="27dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="10dp"
|
|
android:background="@drawable/bg_prank_coin"
|
|
android:gravity="center"
|
|
android:imeOptions="actionDone"
|
|
android:inputType="number"
|
|
android:maxLines="1"
|
|
android:textColor="#FFF"
|
|
android:textSize="12sp"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/robot_messages"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/robot_name" />
|
|
</RelativeLayout> |