Grid items optimizations (#6641)

Use ConstraintLayout for ez size ratio calculation and merge cover-only view
holder with compact's
This commit is contained in:
Ivan Iskandar
2022-02-13 23:09:49 +07:00
committed by GitHub
parent f18d161eaf
commit fad1449de3
11 changed files with 164 additions and 357 deletions
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="90"
android:centerColor="#00000000"
android:centerY="0.3"
android:endColor="#00ffffff"
android:startColor="#aa000000" />
<corners android:radius="@dimen/card_radius" />
</shape>