63 lines
2.4 KiB
XML
63 lines
2.4 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:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="@drawable/action_bar_bg"
|
|
android:elevation="4dp"
|
|
app:navigationIcon="?attr/homeAsUpIndicator" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llContent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<ListView
|
|
android:id="@+id/listView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:fadeScrollbars="false"
|
|
android:scrollbarStyle="outsideOverlay"
|
|
tools:ignore="NestedWeights" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:baselineAligned="false"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="12dp"
|
|
android:paddingVertical="4dp">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4dp"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_weight="1"
|
|
android:text="@string/highlight_desc"
|
|
android:textSize="12sp" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnAdd"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginStart="16dp"
|
|
android:background="@drawable/btn_bg_transparent_round6dp"
|
|
android:contentDescription="@string/new_item"
|
|
android:src="@drawable/ic_add"
|
|
app:tint="?attr/colorTextContent" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout> |