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

38 wiersze
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
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="80dp"
android:layout_marginEnd="6dp"
android:minWidth="80dp"
android:padding="8dp"
android:background="@drawable/attachment_keyboard_button_background">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/attachment_button_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:tint="@color/attachment_keyboard_button_foreground"
app:layout_constraintBottom_toTopOf="@id/attachment_button_title"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
tools:src="@drawable/ic_sticker_32"/>
<TextView
android:id="@+id/attachment_button_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Signal.Text.Preview"
android:fontFamily="sans-serif-medium"
android:gravity="center"
android:textColor="@color/attachment_keyboard_button_foreground"
app:layout_constraintTop_toBottomOf="@id/attachment_button_image"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
tools:text="Web Shooter"/>
</androidx.constraintlayout.widget.ConstraintLayout>