home: make tabs adaptive

Make tabs on the home page adapt to screen configuration changes, using
only icons when the width is small and icons + text when the width
is large.
This commit is contained in:
OxygenCobalt
2021-12-17 14:32:14 -07:00
parent 331a06c6dc
commit 8e1da1bfc7
10 changed files with 106 additions and 36 deletions
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorPrimary">
<path
android:fillColor="@android:color/white"
android:pathData="M12,3v10.55c-0.59,-0.34 -1.27,-0.55 -2,-0.55 -2.21,0 -4,1.79 -4,4s1.79,4 4,4 4,-1.79 4,-4V7h4V3h-6z"/>
</vector>