|
|
@@ -0,0 +1,112 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:id="@+id/main_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:clipChildren="false">
|
|
|
+
|
|
|
+ <include
|
|
|
+ layout="@layout/main_frame_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginBottom="@dimen/bottom_height" />
|
|
|
+
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/tab_line"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:layout_above="@id/tab_container"
|
|
|
+ android:background="#AAe2e2e2" />
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/tab_container"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/bottom_height"
|
|
|
+ android:layout_alignParentStart="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:gravity="end"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/tab_1"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="#0000ffff"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableTop="@drawable/drawable_selector_task"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingTop="@dimen/bottom_tab_pt"
|
|
|
+ android:text="@string/tab_viewpager_gamestore"
|
|
|
+ android:textColor="@color/selector_color_main_tab"
|
|
|
+ android:textSize="10sp" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/tab_2"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="#000000ff"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableTop="@drawable/drawable_selector_game_center"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingTop="@dimen/bottom_tab_pt"
|
|
|
+ android:text="@string/tab_viewpager_classification"
|
|
|
+ android:textColor="@color/selector_color_main_tab"
|
|
|
+ android:textSize="10sp" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/tab_3"
|
|
|
+ android:layout_width="0dip"
|
|
|
+ android:layout_height="64dp"
|
|
|
+ android:layout_gravity="bottom"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="#0000ff00"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableTop="@drawable/drawable_selector_askgetmoney"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/mine_hoggerel"
|
|
|
+ android:textColor="@color/selector_color_main_tab"
|
|
|
+ android:textSize="10sp" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/tab_4"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="#00ffff00"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableTop="@drawable/drawable_selector_find"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingTop="@dimen/bottom_tab_pt"
|
|
|
+ android:text="@string/main_tab_find"
|
|
|
+ android:textColor="@color/selector_color_main_tab"
|
|
|
+ android:textSize="10sp" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/tab_5"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="#00ff0000"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableTop="@drawable/drawable_selector_personalcenter"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingTop="@dimen/bottom_tab_pt"
|
|
|
+ android:text="@string/personal_center"
|
|
|
+ android:textColor="@color/selector_color_main_tab"
|
|
|
+ android:textSize="10sp" />
|
|
|
+
|
|
|
+ </RadioGroup>
|
|
|
+ <View
|
|
|
+ android:id="@+id/person_center_red_dot"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="8dp"
|
|
|
+ android:layout_marginBottom="@dimen/dp_40"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:background="@drawable/shape_oval_red" />
|
|
|
+
|
|
|
+</RelativeLayout>
|