diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-02-06 16:46:40 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-02-06 16:46:40 +0000 |
commit | e69f778de4be7a71057fa0464ec18a394dbf30bd (patch) | |
tree | b52cc0590160d18d41e00d2eb502fd788c6e23ce /app/src/main/res | |
parent | d0bf1aa19cd07f062809eccc3b8d452f539e96f5 (diff) | |
download | infinity-for-reddit-e69f778de4be7a71057fa0464ec18a394dbf30bd.tar infinity-for-reddit-e69f778de4be7a71057fa0464ec18a394dbf30bd.tar.gz infinity-for-reddit-e69f778de4be7a71057fa0464ec18a394dbf30bd.tar.bz2 infinity-for-reddit-e69f778de4be7a71057fa0464ec18a394dbf30bd.tar.lz infinity-for-reddit-e69f778de4be7a71057fa0464ec18a394dbf30bd.tar.xz infinity-for-reddit-e69f778de4be7a71057fa0464ec18a394dbf30bd.tar.zst infinity-for-reddit-e69f778de4be7a71057fa0464ec18a394dbf30bd.zip |
Revert bottom app bar style.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/bottom_app_bar.xml | 66 |
1 files changed, 60 insertions, 6 deletions
diff --git a/app/src/main/res/layout/bottom_app_bar.xml b/app/src/main/res/layout/bottom_app_bar.xml index 7e55c2ba..1bc806c9 100644 --- a/app/src/main/res/layout/bottom_app_bar.xml +++ b/app/src/main/res/layout/bottom_app_bar.xml @@ -3,10 +3,64 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/bottom_app_bar_bottom_app_bar" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="bottom" + android:layout_height="48dp" android:visibility="gone" - style="@style/Widget.Material3.BottomAppBar" - app:hideOnScroll="true" - app:fabAlignmentMode="end" - app:menu="@menu/bottom_app_bar" />
\ No newline at end of file + app:fabAlignmentMode="center"> + + <LinearLayout + android:id="@+id/linear_layout_bottom_app_bar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="6dp" + android:layout_marginEnd="8dp" + android:weightSum="5"> + + <ImageView + android:id="@+id/option_1_bottom_app_bar" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="center" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:background="?attr/selectableItemBackgroundBorderless" /> + + <ImageView + android:id="@+id/option_2_bottom_app_bar" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="center" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:background="?attr/selectableItemBackgroundBorderless" /> + + <TextView + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:color/transparent"/> + + <ImageView + android:id="@+id/option_3_bottom_app_bar" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="center" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:background="?attr/selectableItemBackgroundBorderless" /> + + <ImageView + android:id="@+id/option_4_bottom_app_bar" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:gravity="center" + android:background="?attr/selectableItemBackgroundBorderless" /> + + </LinearLayout> + +</com.google.android.material.bottomappbar.BottomAppBar>
\ No newline at end of file |