mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
43 lines
No EOL
1.6 KiB
XML
43 lines
No EOL
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingEnd="12dp"
|
|
android:paddingBottom="8dp">
|
|
|
|
<androidx.cardview.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/card_view"
|
|
android:layout_width="172dp"
|
|
android:layout_height="72dp"
|
|
android:layout_gravity="center"
|
|
android:backgroundTint="@color/cardColor"
|
|
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"
|
|
android:background="@color/colorAccent" />
|
|
|
|
<TextView
|
|
android:id="@+id/year_label"
|
|
style="@style/ItemTitleTextView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:paddingStart="8dp"
|
|
android:text="@string/label_placeholder"
|
|
android:textAlignment="gravity" />
|
|
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
</LinearLayout> |