增加开机启动,食堂切换功能
This commit is contained in:
@@ -4,16 +4,17 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:background="@color/bg_color"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
tools:background="@color/bg_color"
|
||||
tools:ignore="HardcodedText">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTopText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/home_title"
|
||||
android:layout_marginTop="300dp"
|
||||
android:text="@string/home_title"
|
||||
android:textColor="@color/home_title"
|
||||
android:textSize="48sp"
|
||||
android:textStyle="bold" />
|
||||
@@ -33,6 +34,48 @@
|
||||
android:layout_marginTop="30dp"
|
||||
android:overScrollMode="never"
|
||||
tools:itemCount="3"
|
||||
tools:listitem="@layout/list_item_home_mode"/>
|
||||
tools:listitem="@layout/list_item_home_mode" />
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/radioGroup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginBottom="100dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="切换食堂:"
|
||||
android:textColor="@color/black666"
|
||||
android:textSize="36sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/radioZk"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:checked="true"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:text="总库食堂"
|
||||
android:textColor="@color/dish_type_font"
|
||||
android:textSize="36sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/radioSw"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="20dp"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:text="数味智餐食堂"
|
||||
android:textColor="@color/dish_type_font"
|
||||
android:textSize="36sp" />
|
||||
</RadioGroup>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user