40 lines
1.5 KiB
XML
40 lines
1.5 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:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
>
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/tool_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="?attr/actionBarStyle"
|
|
app:popupTheme="@style/AppTheme.PopupOverlay"
|
|
app:titleTextAppearance="@style/ToolbarTitle"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<io.legato.kazusa.ui.widget.text.ScrollTextView
|
|
android:id="@+id/text_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:padding="12dp"
|
|
android:textColor="@color/secondaryText"
|
|
android:scrollbarStyle="outsideOverlay"
|
|
android:textIsSelectable="true"
|
|
app:layout_constraintTop_toBottomOf="@+id/tool_bar"
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
|
<io.legato.kazusa.ui.widget.text.BadgeView
|
|
android:id="@+id/badge_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:visibility="invisible"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|