tempus/app/src/main/res/layout/item_home_year.xml

43 lines
1.6 KiB
XML
Raw Normal View History

2020-11-28 14:50:15 +01:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2022-01-10 12:37:56 +01:00
xmlns:card_view="http://schemas.android.com/apk/res-auto"
2020-11-28 14:50:15 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingEnd="12dp"
android:paddingBottom="8dp">
2022-01-10 12:37:56 +01:00
<androidx.cardview.widget.CardView
2020-11-28 14:50:15 +01:00
android:id="@+id/card_view"
android:layout_width="172dp"
android:layout_height="72dp"
android:layout_gravity="center"
card_view:cardCornerRadius="4dp"
card_view:cardElevation="2dp"
card_view:cardPreventCornerOverlap="false"
card_view:cardUseCompatPadding="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<View
android:layout_width="6dp"
android:layout_height="match_parent"
2022-01-10 12:37:56 +01:00
android:background="?attr/colorPrimary"/>
2020-11-28 14:50:15 +01:00
<TextView
android:id="@+id/year_label"
2021-04-27 11:05:58 +02:00
style="@style/ItemTitleTextView"
2020-11-28 14:50:15 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
2021-04-27 11:05:58 +02:00
android:gravity="center"
2020-11-28 14:50:15 +01:00
android:paddingStart="8dp"
android:text="@string/label_placeholder"
2021-04-27 11:05:58 +02:00
android:textAlignment="gravity" />
2020-11-28 14:50:15 +01:00
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>