59 lines
2.1 KiB
XML
59 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.design.widget.CoordinatorLayout 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"
|
|
tools:context=".Fragments.Fragment_shudan">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
|
>
|
|
|
|
<!-- TODO: Update blank fragment layout -->
|
|
|
|
<com.flyco.tablayout.SlidingTabLayout
|
|
android:id="@+id/tab_layout2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="4dp"
|
|
android:paddingBottom="2dp"
|
|
android:background="@color/white"
|
|
app:tl_indicator_color="@color/tabSelected"
|
|
app:tl_indicator_corner_radius="1.5dp"
|
|
app:tl_indicator_height="0dp"
|
|
app:tl_indicator_width="0dp"
|
|
app:tl_textSelectColor="@color/tabSelected"
|
|
app:tl_textUnselectColor="@color/grey"
|
|
app:tl_tab_space_equal ="true"
|
|
app:tl_textsize="13sp"
|
|
/>
|
|
|
|
<android.support.v4.view.ViewPager
|
|
android:id="@+id/viewpager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="45dp"
|
|
|
|
>
|
|
<!-- <android.support.design.widget.TabLayout
|
|
android:id="@+id/tab_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:tabMode="fixed"/>
|
|
-->
|
|
</android.support.v4.view.ViewPager>
|
|
|
|
</LinearLayout>
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
android:id="@+id/fab"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_marginRight="@dimen/fab_margin"
|
|
android:layout_marginBottom="60dp"
|
|
app:srcCompat="@android:drawable/ic_input_add" />
|
|
</android.support.design.widget.CoordinatorLayout> |