58 lines
2.4 KiB
XML
58 lines
2.4 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="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.emoji.widget.EmojiTextView
|
|
android:id="@+id/notificationText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="8dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="\@ConnyDuck followed you" />
|
|
|
|
<ImageView
|
|
android:id="@+id/notificationAvatar"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:importantForAccessibility="no"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/notificationText"
|
|
tools:background="#f00" />
|
|
|
|
<androidx.emoji.widget.EmojiTextView
|
|
android:id="@+id/notificationDisplayName"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:ellipsize="end"
|
|
android:lines="1"
|
|
android:textStyle="bold"
|
|
app:layout_constraintBottom_toTopOf="@id/notificationName"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/notificationAvatar"
|
|
app:layout_constraintTop_toTopOf="@id/notificationAvatar"
|
|
tools:text="Conny Duck" />
|
|
|
|
<TextView
|
|
android:id="@+id/notificationName"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:ellipsize="end"
|
|
android:lines="1"
|
|
app:layout_constraintBottom_toBottomOf="@id/notificationAvatar"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/notificationAvatar"
|
|
app:layout_constraintTop_toBottomOf="@id/notificationDisplayName"
|
|
tools:text="\@connyduck\@chaos.social" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |