mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Show title on trending searches.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient android:startColor="#323232"
|
||||
android:endColor="@android:color/transparent"
|
||||
android:angle="90"
|
||||
android:type="linear"
|
||||
android:useLevel="true" />
|
||||
</shape>
|
@@ -7,7 +7,7 @@
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
app:cardCornerRadius="24dp"
|
||||
app:cardCornerRadius="16dp"
|
||||
app:cardElevation="2dp">
|
||||
|
||||
<RelativeLayout
|
||||
@@ -64,8 +64,11 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:padding="16dp"
|
||||
android:background="@drawable/trending_search_title_background"
|
||||
android:maxLines="2"
|
||||
android:textSize="?attr/title_font_18"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="?attr/title_font_20"
|
||||
android:fontFamily="?attr/title_font_family" />
|
||||
|
||||
</com.google.android.material.card.MaterialCardView>
|
Reference in New Issue
Block a user