Signal-Android/app/src/main/res/layout/conversation_item_update_do...

50 wiersze
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:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="0dp"
android:foreground="?selectableItemBackground"
android:padding="0dp"
android:visibility="visible"
app:cardCornerRadius="18dp"
tools:visibility="visible">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:padding="0dp"
android:scaleType="fitXY"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/conversation_update_donate_action_button"
app:layout_constraintStart_toStartOf="@+id/conversation_update_donate_action_button"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/donate_update_item_background" />
<TextView
android:id="@+id/conversation_update_donate_action_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:drawablePadding="4dp"
android:fontFamily="sans-serif-medium"
android:paddingHorizontal="12dp"
android:textColor="@color/white"
android:textSize="13sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:drawableStart="@drawable/ic_boost_outline_16"
tools:text="Signal Boost" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>