2019-06-03 23:25:05 +02:00
|
|
|
<?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"
|
2020-03-05 16:23:15 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:fitsSystemWindows="true"
|
2020-03-17 11:32:03 +01:00
|
|
|
tools:context=".activities.OrganizationDetailActivity">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:theme="@style/Widget.AppCompat.SearchView"
|
|
|
|
app:elevation="@dimen/dimen0dp">
|
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-03-05 16:23:15 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2020-08-08 17:43:14 +02:00
|
|
|
app:layout_scrollFlags="enterAlways">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-01-02 08:51:10 +01:00
|
|
|
<TextView
|
2022-08-15 16:26:02 +02:00
|
|
|
android:id="@+id/toolbar_title"
|
2020-01-02 08:51:10 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
2020-03-05 16:23:15 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textSize="@dimen/dimen20sp"/>
|
2020-01-02 08:51:10 +01:00
|
|
|
|
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"
|
|
|
|
android:layout_width="match_parent"
|
2022-04-20 15:46:50 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:tabIndicatorColor="?attr/pagerTabIndicatorColor"
|
|
|
|
app:tabMode="scrollable"
|
|
|
|
app:tabTextAppearance="@style/customTabLayout"
|
|
|
|
app:tabTextColor="?attr/primaryTextColor">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/tabItemInfo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:text="@string/tabTextInfo"/>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/tabItem_repos"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:text="@string/navRepos"/>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-11-30 23:20:14 +01:00
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/tabItem_labels"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:text="@string/newIssueLabelsTitle"/>
|
2020-11-30 23:20:14 +01:00
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/tabItem_teams"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:text="@string/orgTabTeams"/>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/tabItem_members"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:text="@string/orgTabMembers"/>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</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="match_parent"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|