pda/zhuike/src/main/res/layout/fragment_shudan.xml

59 lines
2.1 KiB
XML
Raw Normal View History

2019-02-01 09:19:44 +08:00
<?xml version="1.0" encoding="utf-8"?>
2019-02-21 00:01:55 +08:00
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-02-15 23:48:25 +08:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2019-02-21 00:01:55 +08:00
xmlns:tools="http://schemas.android.com/tools"
2019-02-01 09:19:44 +08:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-02-25 21:16:15 +08:00
tools:context=".Fragments.Fragment_shudan">
2019-02-21 00:01:55 +08:00
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-02-24 00:21:34 +08:00
2019-02-21 00:01:55 +08:00
>
2019-02-01 09:19:44 +08:00
<!-- TODO: Update blank fragment layout -->
2019-02-15 23:48:25 +08:00
<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"
2019-04-15 23:26:24 +08:00
app:tl_indicator_color="@color/tabSelected"
2019-02-15 23:48:25 +08:00
app:tl_indicator_corner_radius="1.5dp"
app:tl_indicator_height="0dp"
app:tl_indicator_width="0dp"
2019-04-15 23:26:24 +08:00
app:tl_textSelectColor="@color/tabSelected"
2019-02-15 23:48:25 +08:00
app:tl_textUnselectColor="@color/grey"
app:tl_tab_space_equal ="true"
app:tl_textsize="13sp"
/>
<android.support.v4.view.ViewPager
android:id="@+id/viewpager"
2019-02-01 09:19:44 +08:00
android:layout_width="match_parent"
2019-02-21 00:01:55 +08:00
android:layout_height="match_parent"
2019-02-24 00:21:34 +08:00
android:layout_marginBottom="45dp"
2019-02-21 00:01:55 +08:00
>
2019-02-15 23:48:25 +08:00
<!-- <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>
2019-02-01 09:19:44 +08:00
2019-02-21 00:01:55 +08:00
</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"
2019-02-21 23:56:21 +08:00
app:srcCompat="@android:drawable/ic_input_add" />
2019-02-21 00:01:55 +08:00
</android.support.design.widget.CoordinatorLayout>