Abstract bottom action menu code to main activity

This commit is contained in:
arkon
2020-03-08 13:57:50 -04:00
parent af05c34da3
commit 9f8046324d
6 changed files with 86 additions and 34 deletions
@@ -24,24 +24,6 @@
android:layout_gravity="center"
android:visibility="gone" />
<androidx.appcompat.widget.Toolbar
android:id="@+id/bottom_menu_bar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:layout_gravity="bottom"
android:background="?attr/colorPrimary"
android:theme="?attr/actionBarTheme"
android:visibility="gone"
app:contentInsetStart="8dp"
app:contentInsetEnd="8dp">
<androidx.appcompat.widget.ActionMenuView
android:id="@+id/bottom_menu"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</androidx.appcompat.widget.Toolbar>
</FrameLayout>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>