Grid layout improvements
This commit is contained in:
parent
13ecc1e481
commit
41d88f7b5c
1 changed files with 10 additions and 5 deletions
|
@ -5,27 +5,32 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
android:focusableInTouchMode="false">
|
android:focusableInTouchMode="false"
|
||||||
|
android:padding="4dp">
|
||||||
|
|
||||||
<org.yuzu.yuzu_emu.views.GradientBorderCardView
|
<org.yuzu.yuzu_emu.views.GradientBorderCardView
|
||||||
android:id="@+id/card_game_grid"
|
android:id="@+id/card_game_grid"
|
||||||
app:cardElevation="0dp"
|
app:cardElevation="0dp"
|
||||||
app:cardBackgroundColor="@color/eden_card_background"
|
app:cardBackgroundColor="@color/eden_card_background"
|
||||||
app:strokeWidth="1dp"
|
app:strokeWidth="0dp"
|
||||||
app:strokeColor="@color/eden_border"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
|
android:layout_margin="4dp"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:clipToPadding="true"
|
android:clipToPadding="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:transitionName="card_game"
|
android:transitionName="card_game"
|
||||||
app:cardCornerRadius="16dp">
|
app:cardCornerRadius="16dp"
|
||||||
|
android:foreground="@color/eden_border_gradient_start">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="6dp">
|
android:paddingTop="14dp"
|
||||||
|
android:paddingLeft="6dp"
|
||||||
|
android:paddingRight="6dp"
|
||||||
|
android:paddingBottom="6dp">
|
||||||
|
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<com.google.android.material.imageview.ShapeableImageView
|
||||||
android:id="@+id/image_game_screen"
|
android:id="@+id/image_game_screen"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue