diff --git a/app/src/main/res/drawable/tab_indicator.xml b/app/src/main/res/drawable/tab_indicator.xml new file mode 100644 index 000000000..10b03769d --- /dev/null +++ b/app/src/main/res/drawable/tab_indicator.xml @@ -0,0 +1,7 @@ + + + + + diff --git a/app/src/main/res/layout/main_activity.xml b/app/src/main/res/layout/main_activity.xml index cbb080b38..d79ae0914 100644 --- a/app/src/main/res/layout/main_activity.xml +++ b/app/src/main/res/layout/main_activity.xml @@ -29,6 +29,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" app:tabGravity="center" + app:tabIndicator="@drawable/tab_indicator" + app:tabIndicatorFullWidth="false" + app:tabIndicatorHeight="3dp" app:tabInlineLabel="true" app:tabMinWidth="75dp" app:tabMode="scrollable" />