This repository has been archived on 2026-05-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
qwark/app/src/main/res/layout/average_card.xml
T

43 lines
1.6 KiB
XML
Raw Normal View History

2020-02-16 12:58:42 +01:00
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="8dp"
android:layout_marginVertical="3dp"
android:focusable="true"
android:clickable="true"
android:backgroundTint="@color/colorCardBackground">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/grade"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:textColor="@color/colorAccentedControl"
android:textSize="42sp"
android:layout_gravity="center_vertical"
android:fontFeatureSettings="tnum"/>
<TextView
android:id="@+id/time"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textColor="@color/colorHint"
android:fontFamily="@font/manrope_regular"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:gravity="bottom"/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>