Skip to content

Commit

Permalink
Fixing tabs for small screens (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
myadzel authored Dec 13, 2024
1 parent 33294fb commit f691a9a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/src/main/res/layout/fragment_first.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@

<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:tabMode="scrollable"
app:tabGravity="center"
/>

</androidx.viewpager.widget.ViewPager>

0 comments on commit f691a9a

Please sign in to comment.