|
@@ -1,93 +1,101 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
- android:id="@+id/main_layout"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:clipChildren="false">
|
|
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/main_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:clipChildren="false">
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:adjustViewBounds="true"
|
|
|
|
|
- android:src="@mipmap/home_blue_bg" />
|
|
|
|
|
|
|
+ android:id="@+id/iv_xxl"
|
|
|
|
|
+ android:layout_width="56dp"
|
|
|
|
|
+ android:layout_height="56dp"
|
|
|
|
|
+ android:elevation="2dp"
|
|
|
|
|
+ android:layout_margin="56dp"
|
|
|
|
|
+ android:src="@mipmap/sheep_logo"/>
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:adjustViewBounds="true"
|
|
|
|
|
+ android:src="@mipmap/home_blue_bg"/>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
<RelativeLayout
|
|
|
- android:id="@+id/main_header"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="40dp"
|
|
|
|
|
- android:layout_marginTop="32dp"></RelativeLayout>
|
|
|
|
|
|
|
+ android:id="@+id/main_header"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="40dp"
|
|
|
|
|
+ android:layout_marginTop="32dp"></RelativeLayout>
|
|
|
|
|
|
|
|
<include
|
|
<include
|
|
|
- layout="@layout/main_frame_layout"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_marginTop="72dp"
|
|
|
|
|
- android:layout_marginBottom="@dimen/bottom_height" />
|
|
|
|
|
|
|
+ layout="@layout/main_frame_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_marginTop="72dp"
|
|
|
|
|
+ android:layout_marginBottom="@dimen/bottom_height"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
- android:id="@+id/tab_line"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="2px"
|
|
|
|
|
- android:layout_above="@id/tab_container"
|
|
|
|
|
- android:background="#e6e6e6" />
|
|
|
|
|
|
|
+ android:id="@+id/tab_line"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="2px"
|
|
|
|
|
+ android:layout_above="@id/tab_container"
|
|
|
|
|
+ android:background="#e6e6e6"/>
|
|
|
|
|
|
|
|
<RadioGroup
|
|
<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:background="@color/home_bottom"
|
|
|
|
|
- android:gravity="end"
|
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
|
+ 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:background="@color/home_bottom"
|
|
|
|
|
+ android:gravity="end"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
|
|
<RadioButton
|
|
<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_tab_home"
|
|
|
|
|
- android:textSize="10sp" />
|
|
|
|
|
|
|
+ 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_tab_home"
|
|
|
|
|
+ android:textSize="10sp"/>
|
|
|
|
|
|
|
|
<RadioButton
|
|
<RadioButton
|
|
|
- android:id="@+id/tab_2"
|
|
|
|
|
- android:layout_width="75dp"
|
|
|
|
|
- android:layout_height="68dp"
|
|
|
|
|
- android:layout_gravity="bottom"
|
|
|
|
|
- android:background="@drawable/tab_big_yq"
|
|
|
|
|
- android:button="@null"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:textSize="0sp" />
|
|
|
|
|
|
|
+ android:id="@+id/tab_2"
|
|
|
|
|
+ android:layout_width="75dp"
|
|
|
|
|
+ android:layout_height="68dp"
|
|
|
|
|
+ android:layout_gravity="bottom"
|
|
|
|
|
+ android:background="@drawable/tab_big_yq"
|
|
|
|
|
+ android:button="@null"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:textSize="0sp"/>
|
|
|
|
|
|
|
|
<RadioButton
|
|
<RadioButton
|
|
|
- android:id="@+id/tab_3"
|
|
|
|
|
- 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_tab_game"
|
|
|
|
|
- android:textSize="10sp" />
|
|
|
|
|
|
|
+ android:id="@+id/tab_3"
|
|
|
|
|
+ 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_tab_game"
|
|
|
|
|
+ android:textSize="10sp"/>
|
|
|
|
|
|
|
|
<!--<com.airbnb.lottie.LottieAnimationView-->
|
|
<!--<com.airbnb.lottie.LottieAnimationView-->
|
|
|
- <!--android:id="@+id/test_anim_view"-->
|
|
|
|
|
- <!--app:lottie_fileName="data.json"-->
|
|
|
|
|
- <!--app:lottie_loop="true"-->
|
|
|
|
|
- <!--app:lottie_autoPlay="true"-->
|
|
|
|
|
- <!--android:layout_width="50dp"-->
|
|
|
|
|
- <!--android:layout_height="50dp" />-->
|
|
|
|
|
|
|
+ <!--android:id="@+id/test_anim_view"-->
|
|
|
|
|
+ <!--app:lottie_fileName="data.json"-->
|
|
|
|
|
+ <!--app:lottie_loop="true"-->
|
|
|
|
|
+ <!--app:lottie_autoPlay="true"-->
|
|
|
|
|
+ <!--android:layout_width="50dp"-->
|
|
|
|
|
+ <!--android:layout_height="50dp" />-->
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
</RadioGroup>
|
|
|
|
|
|