Global search and latest card fixes

This commit is contained in:
Jobobby04 2020-07-14 01:49:23 -04:00
parent 4663d64c05
commit 840ab68922
2 changed files with 12 additions and 9 deletions

View File

@ -31,6 +31,7 @@
android:layout_height="168dp"
android:paddingBottom="8dp"
android:scaleType="fitCenter"
android:background="@drawable/rounded_rectangle"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@ -44,8 +45,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="0dp"
android:ellipsize="end"
android:gravity="center"
android:maxLines="1"
android:maxLines="2"
app:layout_constrainedHeight="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

View File

@ -28,16 +28,11 @@
<FrameLayout
android:layout_width="112dp"
android:layout_height="168dp"
android:background="@drawable/rounded_rectangle"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<View
android:id="@+id/gradient"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="bottom"
android:background="@drawable/gradient_shape" />
<ImageView
android:id="@+id/itemImage"
@ -45,9 +40,17 @@
android:layout_height="match_parent"
android:gravity="bottom"
android:scaleType="fitCenter"
android:background="@drawable/rounded_rectangle"
tools:ignore="ContentDescription"
tools:src="@mipmap/ic_launcher" />
<View
android:id="@+id/gradient"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="bottom"
android:background="@drawable/gradient_shape" />
<TextView
android:id="@+id/tvTitle"
style="@style/TextAppearance.Regular.Caption"
@ -56,7 +59,7 @@
android:layout_gravity="bottom"
android:layout_marginTop="0dp"
android:ellipsize="end"
android:maxLines="1"
android:maxLines="2"
android:padding="8dp"
android:shadowColor="@color/textColorPrimaryLight"
android:shadowDx="0"