mirror of https://codeberg.org/gitnex/GitNex.git
93 lines
3.9 KiB
XML
93 lines
3.9 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"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:id="@+id/main_content"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:fitsSystemWindows="true"
|
||
|
tools:context=".activities.RepoDetailActivity">
|
||
|
|
||
|
<com.google.android.material.appbar.AppBarLayout
|
||
|
android:id="@+id/appbar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingTop="@dimen/appbar_padding_top"
|
||
|
android:theme="@style/AppTheme.AppBarOverlay">
|
||
|
|
||
|
<androidx.appcompat.widget.Toolbar
|
||
|
android:id="@+id/toolbar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="?attr/actionBarSize"
|
||
|
android:layout_weight="1"
|
||
|
android:background="?attr/colorPrimary"
|
||
|
app:popupTheme="@style/AppTheme.PopupOverlay"
|
||
|
app:title="@string/app_name">
|
||
|
|
||
|
</androidx.appcompat.widget.Toolbar>
|
||
|
|
||
|
<com.google.android.material.tabs.TabLayout
|
||
|
android:id="@+id/tabs"
|
||
|
app:tabMode="scrollable"
|
||
|
app:tabTextAppearance="@style/customTabLayout"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content">
|
||
|
|
||
|
<com.google.android.material.tabs.TabItem
|
||
|
android:id="@+id/tabItem1_info"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/tab_text_info" />
|
||
|
|
||
|
<com.google.android.material.tabs.TabItem
|
||
|
android:id="@+id/tabItem2_issues"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/tab_text_issues" />
|
||
|
|
||
|
<com.google.android.material.tabs.TabItem
|
||
|
android:id="@+id/tabItemCloseIssues"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/tabItemCloseIssues" />
|
||
|
|
||
|
<com.google.android.material.tabs.TabItem
|
||
|
android:id="@+id/tabItem3_ml"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/tab_text_ml" />
|
||
|
|
||
|
<com.google.android.material.tabs.TabItem
|
||
|
android:id="@+id/tabItem4_labels"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/tab_text_labels" />
|
||
|
|
||
|
<com.google.android.material.tabs.TabItem
|
||
|
android:id="@+id/tabItem5_branches"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/tab_text_branches" />
|
||
|
|
||
|
<com.google.android.material.tabs.TabItem
|
||
|
android:id="@+id/tabItem6_releases"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/tab_text_releases" />
|
||
|
|
||
|
<com.google.android.material.tabs.TabItem
|
||
|
android:id="@+id/tabItem7_collaborators"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/tab_text_collaborators" />
|
||
|
|
||
|
</com.google.android.material.tabs.TabLayout>
|
||
|
</com.google.android.material.appbar.AppBarLayout>
|
||
|
|
||
|
<androidx.viewpager.widget.ViewPager
|
||
|
android:id="@+id/container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
||
|
|
||
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|