| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/activity_main"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <android.support.v4.view.ViewPager
- android:id="@+id/viewpager"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_above="@+id/bottom_navigation" />
- <android.support.design.widget.BottomNavigationView
- android:id="@+id/bottom_navigation"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:background="@color/tab_bg"
- app:itemTextColor="@color/icon_red">
- </android.support.design.widget.BottomNavigationView>
- <View
- android:id="@+id/view"
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_above="@id/bottom_navigation"
- android:background="@drawable/bottom_shadow" />
- <!--app:itemIconTint="@drawable/bottom_navigation_selector"-->
- <!--app:itemTextColor="@drawable/bottom_navigation_selector"-->
- <!--<View-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="5dp"-->
- <!--android:layout_above="@id/bottom_navigation"-->
- <!--android:background="@drawable/bottom_shadow" />-->
- </RelativeLayout>
|