mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-24 11:52:13 +00:00
Update: AppBar corner design
This commit is contained in:
parent
f992d6aa35
commit
3ebee7a199
7
src/main/res/drawable/background_recycler_bottom.xml
Normal file
7
src/main/res/drawable/background_recycler_bottom.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="?android:colorBackground" />
|
||||
<corners
|
||||
android:topLeftRadius="@dimen/shape_large_corner"
|
||||
android:topRightRadius="@dimen/shape_large_corner" />
|
||||
</shape>
|
@ -2,6 +2,7 @@
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/coordinator"
|
||||
android:background="?colorSurface"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:elevation="0dp"
|
||||
@ -10,6 +11,7 @@
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/appbar_layout"
|
||||
style="?attr/appBarLayoutStyle"
|
||||
android:background="@android:color/transparent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
@ -37,6 +39,7 @@
|
||||
android:id="@+id/fragment_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?android:attr/colorBackground"
|
||||
android:background="@drawable/background_recycler_bottom"
|
||||
android:backgroundTint="?android:colorBackground"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
@ -95,7 +95,6 @@
|
||||
</style>
|
||||
|
||||
<style name="Theme.AppBarLayout" parent="Widget.Material3.AppBarLayout">
|
||||
<item name="android:background">@drawable/bottom_corner</item>
|
||||
<item name="android:backgroundTint">?attr/colorSurface</item>
|
||||
<item name="android:fitsSystemWindows">true</item>
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user