Jannik
d2728405d1
* library/search now use a grid view with 2 columns * media is now represented as card * media details: poster and episodes have now rounded corners
36 lines
1.4 KiB
XML
36 lines
1.4 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:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:cardCornerRadius="7dp"
|
|
app:cardElevation="4dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/image_poster"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="112.5dp"
|
|
android:contentDescription="@string/media_poster_desc"
|
|
android:maxWidth="200dp"
|
|
android:scaleType="fitXY"
|
|
app:srcCompat="@color/md_disabled_text_dark_theme" />
|
|
|
|
<TextView
|
|
android:id="@+id/text_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:lines="2"
|
|
android:maxLines="2"
|
|
android:padding="3dp"
|
|
android:text="@string/text_title_ex"
|
|
android:textAlignment="center"
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView> |