|
|
|
|
@ -58,6 +58,63 @@
|
|
|
|
|
android:hint="请转入关键字" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
|
android:layout_marginRight="5dp">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<TextView
|
|
|
|
|
android:padding="3dp"
|
|
|
|
|
android:textColor="#333333"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:text="状态:" />
|
|
|
|
|
<RadioGroup
|
|
|
|
|
android:id="@id/rg"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb1"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="在线" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb2"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:text="离线" />
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_weight="2" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|