Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
51 lines
2.0 KiB
XML
51 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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="match_parent"
|
|
android:background="?attr/colorSurface"
|
|
android:orientation="vertical"
|
|
tools:context=".ui.AdminActivity">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/colorSurface"
|
|
app:elevation="0dp"
|
|
app:liftOnScroll="false">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/adminToolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="?attr/colorSurface"
|
|
app:navigationIcon="?attr/homeAsUpIndicator"
|
|
app:navigationIconTint="?attr/colorOnSurface"
|
|
app:title="@string/admin_title"
|
|
app:titleCentered="true"
|
|
app:titleTextAppearance="?attr/textAppearanceTitleLarge"
|
|
app:titleTextColor="?attr/colorOnSurface" />
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_margin="16dp"
|
|
android:layout_weight="1"
|
|
app:cardCornerRadius="12dp"
|
|
app:cardElevation="0dp"
|
|
app:strokeColor="?attr/colorOutlineVariant"
|
|
app:strokeWidth="1dp">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/adminRecyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:contentDescription="@string/admin_title"
|
|
android:padding="8dp" />
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</LinearLayout>
|