38 lines
1.3 KiB
XML
38 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/card_sponsor"
|
|
android:layout_width="165dp"
|
|
android:layout_height="97dp"
|
|
android:layout_marginTop="8dp"
|
|
app:cardBackgroundColor="?colorLinkBG"
|
|
app:cardCornerRadius="12dp"
|
|
app:cardElevation="0dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/sponsor_logo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="16dp"
|
|
app:tint="?colorLinkImage"
|
|
tools:src="@drawable/ic_brave" />
|
|
|
|
<TextView
|
|
android:id="@+id/sponsor_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="8dp"
|
|
tools:text="Brave"
|
|
android:textColor="?colorLinkImage" />
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView> |