2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-08-08 17:43:14 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-06-03 23:25:05 +02:00
|
|
|
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"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2019-06-03 23:25:05 +02:00
|
|
|
tools:context=".activities.RepoDetailActivity">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-28 13:44:45 +01:00
|
|
|
android:theme="@style/Widget.AppCompat.SearchView">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2019-06-03 23:25:05 +02:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:layout_weight="1"
|
2020-08-08 17:43:14 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-01-02 08:51:10 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textSize="18sp"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2020-01-02 08:51:10 +01:00
|
|
|
android:id="@+id/toolbar_title" />
|
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
android:id="@+id/tabs"
|
|
|
|
app:tabMode="scrollable"
|
|
|
|
app:tabTextAppearance="@style/customTabLayout"
|
|
|
|
android:layout_width="match_parent"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2020-03-05 16:23:15 +01:00
|
|
|
app:tabTextColor="?attr/primaryTextColor"
|
2020-08-20 18:21:55 +02:00
|
|
|
app:tabIndicatorColor="?attr/pagerTabIndicatorColor"
|
2019-06-03 23:25:05 +02:00
|
|
|
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" />
|
|
|
|
|
2019-10-01 16:48:20 +02:00
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/tabItemFiles"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/tab_text_files" />
|
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/tabItem2_issues"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-14 22:55:04 +02:00
|
|
|
android:text="@string/pageTitleIssues" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-11-24 13:42:57 +01:00
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/tabItemPullRequests"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/tabPullRequests" />
|
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
<com.google.android.material.tabs.TabItem
|
2020-03-28 11:52:09 +01:00
|
|
|
android:id="@+id/tabItem6_releases"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-28 11:52:09 +01:00
|
|
|
android:text="@string/tab_text_releases" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabItem
|
2020-03-28 11:52:09 +01:00
|
|
|
android:id="@+id/tabItem3_ml"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-28 11:52:09 +01:00
|
|
|
android:text="@string/tab_text_ml" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabItem
|
2020-03-28 11:52:09 +01:00
|
|
|
android:id="@+id/tabItem4_labels"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-28 11:52:09 +01:00
|
|
|
android:text="@string/tab_text_labels" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
2020-08-04 22:50:04 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|