<?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"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
tools:context="cn.flightfeather.thirdapp.module.MainActivity">
|
<FrameLayout
|
android:id="@+id/fl_fragment_container"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1">
|
|
</FrameLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@drawable/shap_stroke_top"
|
android:orientation="horizontal">
|
|
<LinearLayout
|
android:id="@+id/ll_home"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:background="?android:attr/selectableItemBackground"
|
android:clickable="true"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="5dp"
|
android:paddingTop="6dp">
|
|
<ImageView
|
android:layout_width="26dp"
|
android:layout_height="26dp"
|
android:src="@drawable/selector_tab_home" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/home"
|
android:textColor="@drawable/selector_tab_text"
|
android:textSize="13dp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_inspection_infos"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:background="?android:attr/selectableItemBackground"
|
android:clickable="true"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="5dp"
|
android:paddingTop="6dp"
|
android:visibility="visible">
|
|
<ImageView
|
android:layout_width="26dp"
|
android:layout_height="26dp"
|
android:src="@drawable/selector_tab_inspection_info" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/inspection_infos"
|
android:textColor="@drawable/selector_tab_text"
|
android:textSize="13dp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_task"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:background="?android:attr/selectableItemBackground"
|
android:clickable="true"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="5dp"
|
android:paddingTop="6dp"
|
android:visibility="visible">
|
|
<ImageView
|
android:id="@+id/imageView"
|
android:layout_width="26dp"
|
android:layout_height="26dp"
|
android:src="@drawable/selector_tab_task" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/task"
|
android:textColor="@drawable/selector_tab_text"
|
android:textSize="13dp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_inspection"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:background="?android:attr/selectableItemBackground"
|
android:clickable="true"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="5dp"
|
android:paddingTop="6dp">
|
|
<ImageView
|
android:id="@+id/imageView2"
|
android:layout_width="26dp"
|
android:layout_height="26dp"
|
android:src="@drawable/selector_tab_inspection" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/inspection"
|
android:textColor="@drawable/selector_tab_text"
|
android:textSize="13dp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_anysis"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:background="?android:attr/selectableItemBackground"
|
android:clickable="true"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="5dp"
|
android:paddingTop="6dp">
|
|
<ImageView
|
android:layout_width="26dp"
|
android:layout_height="26dp"
|
android:src="@drawable/selector_tab_anysis" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/anysis"
|
android:textColor="@drawable/selector_tab_text"
|
android:textSize="13dp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_setting"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:background="?android:attr/selectableItemBackground"
|
android:clickable="true"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="5dp"
|
android:paddingTop="6dp">
|
|
<ImageView
|
android:layout_width="26dp"
|
android:layout_height="26dp"
|
android:src="@drawable/selector_tab_setting" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/setting"
|
android:textColor="@drawable/selector_tab_text"
|
android:textSize="13dp" />
|
</LinearLayout>
|
</LinearLayout>
|
|
|
</LinearLayout>
|