12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:background="@mipmap/main">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="horizontal"
- android:gravity="center">
- <Button
- android:onClick="test"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:drawableTop="@mipmap/main_menu_exam"
- android:text="随机测试"
- android:background="@null"/>
- <Button
- android:onClick="test_all"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:drawableTop="@mipmap/main_menu_result"
- android:text="全部测试"
- android:background="@null"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="horizontal">
- <Button
- android:onClick="setting"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:drawableTop="@mipmap/main_menu_message"
- android:background="@null"
- android:text="设置"/>
- <Button
- android:onClick="quit"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:drawableTop="@mipmap/main_menu_exit"
- android:background="@null"
- android:text="退出"/>
- </LinearLayout>
- </LinearLayout>
|