funkwhale-app-android/app/src/main/res/layout/row_artist.xml

49 lines
1.4 KiB
XML
Raw Normal View History

2019-08-19 16:50:33 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-06-22 18:05:25 +02:00
android:layout_marginHorizontal="8dp"
android:layout_marginVertical="5dp"
android:background="@drawable/ripple"
android:padding="8dp"
2019-08-19 16:50:33 +02:00
android:gravity="center_vertical"
android:orientation="horizontal"
android:transitionGroup="true"
tools:showIn="@layout/fragment_artists">
2021-07-02 13:55:49 +02:00
<org.funkwhale.ffa.views.SquareImageView
2019-08-19 16:50:33 +02:00
android:id="@+id/art"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:scaleType="centerCrop"
tools:src="@tools:sample/avatars" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/name"
style="@style/AppTheme.ItemTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:ellipsize="end"
android:lines="1"
tools:text="Muse" />
<TextView
android:id="@+id/albums"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:lines="1"
tools:text="2 album(s)" />
</LinearLayout>
2021-07-02 13:55:49 +02:00
</LinearLayout>