fix: move tabbar padding to tabbar items (#792)

* feat: increase padding without labels

* fix: move tabbar padding to individual items
This commit is contained in:
FineFindus
2023-09-04 22:19:47 +02:00
committed by GitHub
parent 6f273df060
commit 10a8b195b1

View File

@@ -13,8 +13,6 @@
android:id="@+id/tabbar" android:id="@+id/tabbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="12dp"
android:paddingBottom="16dp"
android:paddingHorizontal="8dp"> android:paddingHorizontal="8dp">
<LinearLayout <LinearLayout
@@ -23,6 +21,8 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingTop="12dp"
android:paddingBottom="16dp"
android:orientation="vertical"> android:orientation="vertical">
<FrameLayout <FrameLayout
@@ -61,6 +61,8 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingTop="12dp"
android:paddingBottom="16dp"
android:orientation="vertical"> android:orientation="vertical">
<FrameLayout <FrameLayout
@@ -99,6 +101,8 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingTop="12dp"
android:paddingBottom="16dp"
android:orientation="vertical"> android:orientation="vertical">
<RelativeLayout <RelativeLayout
@@ -155,6 +159,8 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingTop="12dp"
android:paddingBottom="16dp"
android:orientation="vertical"> android:orientation="vertical">
<FrameLayout <FrameLayout