mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
56 lines
2.1 KiB
XML
56 lines
2.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
||
|
<androidx.cardview.widget.CardView 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:id="@+id/card_view"
|
||
|
android:layout_width="110dp"
|
||
|
android:layout_height="110dp"
|
||
|
android:animateLayoutChanges="true"
|
||
|
android:backgroundTint="?attr/primaryGrayBackground"
|
||
|
android:foreground="?attr/selectableItemBackground"
|
||
|
app:cardCornerRadius="@dimen/rounded_image_radius"
|
||
|
android:layout_margin="10dp"
|
||
|
android:focusable="true"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintDimensionRatio="1"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintHeight_percent="0.4"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/account_image"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:alpha="0.4"
|
||
|
android:contentDescription="@string/profile_background_des"
|
||
|
android:scaleType="centerCrop" />
|
||
|
|
||
|
<View
|
||
|
android:id="@+id/outline"
|
||
|
tools:visibility="visible"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:background="@drawable/outline_card"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/lock_icon"
|
||
|
android:layout_width="24dp"
|
||
|
android:layout_height="24dp"
|
||
|
android:layout_gravity="top|end"
|
||
|
android:layout_margin="4dp"
|
||
|
android:src="@drawable/video_locked"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/account_name"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:gravity="center"
|
||
|
android:padding="10dp"
|
||
|
android:textSize="16sp" />
|
||
|
|
||
|
</androidx.cardview.widget.CardView>
|