mihon/app/src/main/res/layout/common_action_toolbar.xml

37 lines
1.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2020-04-25 16:49:42 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/common_action_toolbar"
android:layout_width="match_parent"
2020-04-25 16:49:42 +02:00
android:layout_height="wrap_content"
android:clipToPadding="false"
android:padding="8dp"
android:visibility="gone"
tools:visibility="visible">
2020-04-25 16:49:42 +02:00
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
2020-04-25 16:49:42 +02:00
android:layout_height="wrap_content"
app:cardCornerRadius="@dimen/card_radius">
2020-04-25 16:49:42 +02:00
<com.google.android.material.appbar.MaterialToolbar
android:layout_width="match_parent"
2020-04-25 16:49:42 +02:00
android:layout_height="?attr/actionBarSize"
android:layout_gravity="bottom"
android:background="?attr/colorSurface"
android:theme="?attr/actionBarTheme"
app:contentInsetEnd="8dp"
app:contentInsetStart="8dp">
2020-04-25 16:49:42 +02:00
<androidx.appcompat.widget.ActionMenuView
android:id="@+id/common_action_menu"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</com.google.android.material.appbar.MaterialToolbar>
</androidx.cardview.widget.CardView>
</FrameLayout>