1
0
mirror of https://gitee.com/51danju/workclock.git synced 2025-06-23 02:32:46 +08:00
workclock/app/src/main/res/layout/fragment_simulate_config.xml
2019-06-13 14:45:25 +08:00

167 lines
5.9 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="match_parent"
android:background="#00FFFFFF"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_toLeftOf="@id/pointer_list"
android:orientation="horizontal">
<Button
android:id="@+id/tv_simulate_color_pointer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="指针" />
<Button
android:id="@+id/tv_simulate_color_pointer_second"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="秒针" />
<Button
android:id="@+id/tv_simulate_color_scale"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="刻度" />
<Button
android:id="@+id/tv_simulate_color_scalep_particularly"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="整点刻度" />
<Button
android:id="@+id/tv_simulate_color_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="文字" />
<Button
android:id="@+id/tv_simulate_color_outline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="外盘" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:layout_toLeftOf="@id/pointer_list"
android:orientation="horizontal">
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="文字显示" />
<RadioGroup
android:id="@+id/tv_simulate_text_show_group"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal">
<RadioButton
android:id="@+id/tv_simulate_text_show_hide"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="隐藏" />
<RadioButton
android:id="@+id/tv_simulate_text_show_all"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="全显" />
<RadioButton
android:id="@+id/tv_simulate_text_show_four"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="四边" />
</RadioGroup>
</LinearLayout>
<ScrollView
android:id="@+id/pointer_list"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_marginTop="15dp">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/textView5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="指针样式" />
<Button
android:id="@+id/tv_simulate_pointer_style_0"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="默认" />
<Button
android:id="@+id/tv_simulate_pointer_style_1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="样式一" />
<Button
android:id="@+id/tv_simulate_pointer_style_2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="样式二" />
<Button
android:id="@+id/tv_simulate_pointer_style_3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="样式三" />
<Button
android:id="@+id/tv_simulate_pointer_style_4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="样式四" />
<Button
android:id="@+id/tv_simulate_pointer_style_5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="样式五" />
<Button
android:id="@+id/tv_simulate_pointer_style_6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="样式六" />
</LinearLayout>
</ScrollView>
</RelativeLayout>