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:id="@+id/app_bar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/app_bar_height" android:layout_height="@dimen/app_bar_height"
android:background="@color/ic_launcher_background"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
@ -37,16 +38,20 @@
android:id="@+id/drug_detail_container" android:id="@+id/drug_detail_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" > android:contentDescription="@string/drug_list"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
<ImageButton <ImageButton
android:id="@+id/fab" android:id="@+id/fab"
android:layout_width="@dimen/fab_width" android:layout_width="@dimen/fab_width"
android:layout_height="@dimen/fab_height" android:layout_height="@dimen/fab_height"
android:layout_gravity="end|top" 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:backgroundTint="@android:color/transparent"
android:contentDescription="@string/save_button" android:contentDescription="@string/save_button"
android:src="@drawable/ic_save_black_24dp" android:src="@drawable/ic_save_black_24dp"
app:backgroundTint="@android:color/transparent" /> app:backgroundTint="@android:color/transparent"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>