Skip to content

Commit

Permalink
teams: tabs on all screens (fixes #3326) (#3331)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
Okuro3499 and dogi authored Apr 2, 2024
1 parent 70eee19 commit 09f7b4e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 21
targetSdkVersion 34
versionCode 1453
versionName "0.14.53"
versionCode 1454
versionName "0.14.54"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
24 changes: 10 additions & 14 deletions app/src/main/res/layout-w600dp/fragment_team_detail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,30 +73,26 @@
</LinearLayout>
</LinearLayout>


</com.google.android.material.appbar.AppBarLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<androidx.viewpager.widget.ViewPager
android:id="@+id/view_pager"
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
app:tabGravity="fill"
app:tabMaxWidth="0dp"
app:tabMode="fixed" />

<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:tabGravity="fill"
app:tabMaxWidth="0dp"
app:tabMode="fixed" />
</androidx.viewpager.widget.ViewPager>
<androidx.viewpager2.widget.ViewPager2
android:id="@+id/viewPager2"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</LinearLayout>


</LinearLayout>
</FrameLayout>

0 comments on commit 09f7b4e

Please sign in to comment.