49 lines
2.0 KiB
XML
49 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/exploreFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/primaryBackgroundColor">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="@style/Widget.AppCompat.SearchView">
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tabsExplore"
|
|
app:tabMode="fixed"
|
|
app:tabTextAppearance="@style/customTabLayout"
|
|
android:layout_width="match_parent"
|
|
android:background="?attr/primaryBackgroundColor"
|
|
app:tabTextColor="?attr/primaryTextColor"
|
|
app:tabIndicatorColor="?attr/pagerTabIndicatorColor"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
android:id="@+id/tabExploreRepositories"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/pageTitleRepositories" />
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
android:id="@+id/tabExploreIssues"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/pageTitleIssues" />
|
|
|
|
</com.google.android.material.tabs.TabLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/containerExplore"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|