<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:id="@+id/activity_main"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
|
tools:context="com.hdl.sdk.ttl_sdk.activity.SettingActivity">
|
|
<include
|
android:id="@+id/hdl_top_bar_layout"
|
layout="@layout/hdl_toolbar_top_view_b" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/hdl_top_bar_layout"
|
android:layout_marginLeft="10dp"
|
android:layout_marginTop="20dp"
|
android:layout_marginRight="10dp"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="100dp"
|
android:layout_height="40dp"
|
android:gravity="center"
|
android:textSize="@dimen/ts_20"
|
android:text="发送次数:"/>
|
|
<EditText
|
android:id="@+id/et_count"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:gravity="center|left"
|
android:hint="请输入"
|
android:text="10000"
|
android:inputType="number" />
|
</LinearLayout>
|
|
<Button
|
android:id="@+id/btn_start"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:layout_marginTop="10dp"
|
android:text="发送" />
|
|
<Button
|
android:id="@+id/btn_end"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:layout_marginTop="10dp"
|
android:text="暂停" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="40dp"
|
android:layout_marginTop="10dp"
|
android:text="当前发送次数:"
|
android:textColor="@color/black"
|
android:textSize="@dimen/ts_20" />
|
|
<TextView
|
android:id="@+id/tv_message"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginTop="10dp"
|
android:textColor="@android:color/holo_red_light"
|
android:textSize="@dimen/ts_20" />
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</RelativeLayout>
|