NewPipe/app/src/main/res/layout/fragment_main.xml

27 lines
954 B
XML
Raw Normal View History

2017-04-26 21:24:33 +02:00
<?xml version="1.0" encoding="utf-8"?>
2020-10-09 20:24:02 +02:00
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
2017-04-26 21:24:33 +02:00
2019-12-14 16:05:36 +01:00
<org.schabi.newpipe.views.ScrollableTabLayout
android:id="@+id/main_tab_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-25 15:20:57 +02:00
android:layout_alignParentTop="true"
android:background="?attr/colorPrimary"
app:tabRippleColor="@color/white"
2021-03-27 17:15:53 +01:00
app:tabIconTint="@color/white"
app:tabIndicatorColor="@color/white"
2020-10-09 20:24:02 +02:00
app:tabGravity="fill"
app:tabMinWidth="60dp" />
2019-10-04 14:59:08 +02:00
<androidx.viewpager.widget.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
2021-07-27 19:38:59 +02:00
android:layout_height="match_parent"
2020-10-09 20:24:02 +02:00
android:layout_below="@id/main_tab_layout" />
2017-04-26 21:24:33 +02:00
</RelativeLayout>