mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 19:41:51 +01:00
Tweak grid compact items
Removes card elevation as it visually conflicts with the scrim, this also makes the scrim a bit darker to emphasize the text and slightly reduces the border radius.
This commit is contained in:
parent
1d984b6de3
commit
3e4ec7323b
@ -2,8 +2,8 @@
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:endColor="#80000000"
|
||||
android:endColor="#E0000000"
|
||||
android:centerColor="#00000000"
|
||||
android:startColor="#00000000"
|
||||
android:type="linear" />
|
||||
</shape>
|
||||
</shape>
|
||||
|
@ -5,12 +5,8 @@
|
||||
android:id="@+id/item_click_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:cardCornerRadius="16dp"
|
||||
app:cardElevation="2dp">
|
||||
android:layout_margin="7.5dp"
|
||||
app:cardCornerRadius="14dp">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
Loading…
Reference in New Issue
Block a user