Change some attributes for the save button

This commit is contained in:
jacques 2021-11-07 16:35:05 +01:00
parent 2cfd1b13ab
commit 61bc2399c1

View file

@ -13,6 +13,7 @@
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/app_bar_height"
android:background="@color/ic_launcher_background"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
@ -37,14 +38,18 @@
android:id="@+id/drug_detail_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/drug_list"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
</androidx.core.widget.NestedScrollView>
<ImageButton
android:id="@+id/fab"
android:layout_width="@dimen/fab_width"
android:layout_height="@dimen/fab_height"
android:layout_gravity="end|top"
android:layout_margin="@dimen/fab_margin"
android:layout_marginTop="?attr/actionBarSize"
android:layout_marginEnd="@dimen/fab_margin"
android:backgroundTint="@android:color/transparent"
android:contentDescription="@string/save_button"
android:src="@drawable/ic_save_black_24dp"