Files
adif-api-reverse-engineering/apk_decompiled/resources/res/layout/view_badge.xml

25 lines
1.2 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"
android:background="@android:color/transparent"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/badgeBackground"
android:background="@drawable/ic_badge_background"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
<TextView
android:textAppearance="@style/TextBadge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="3"
app:layout_constraintBottom_toBottomOf="@+id/badgeBackground"
app:layout_constraintEnd_toEndOf="@+id/badgeBackground"
app:layout_constraintStart_toStartOf="@+id/badgeBackground"
app:layout_constraintTop_toTopOf="@+id/badgeBackground"/>
</androidx.constraintlayout.widget.ConstraintLayout>