<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rootView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/themeColor"
android:orientation="vertical">
<com.pengxh.kt.lite.widget.TitleBarView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/themeColor"
app:tbv_only_show_title="true"
app:tbv_text="@string/app_name"
app:tbv_text_color="@color/white"
app:tbv_text_size="@dimen/sp_18" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical"
android:paddingHorizontal="@dimen/dp_30"
android:paddingVertical="@dimen/dp_50">
<Button
android:id="@+id/startCheckButton"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/button_main_selector"
android:text="开始巡查"
android:textColor="@color/white"
android:textSize="@dimen/sp_22" />
<Button
android:id="@+id/checkHistoryButton"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginVertical="@dimen/dp_15"
android:layout_weight="1"
android:background="@drawable/button_main_selector"
android:text="巡查记录"
android:textColor="@color/white"
android:textSize="@dimen/sp_22" />
<Button
android:id="@+id/libraryButton"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/button_main_selector"
android:text="知识库"
android:textColor="@color/white"
android:textSize="@dimen/sp_22" />
</LinearLayout>
</LinearLayout>