101 lines
4.0 KiB
XML
101 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
|
|
android:background="#F5F5F5">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#FFFFFF"
|
|
app:elevation="0dp">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="#FFFFFF"
|
|
app:navigationIcon="@drawable/ic_round_back_button">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Saved Cow Profiles"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold"
|
|
android:textColor="#3E2723"/>
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingBottom="16dp">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
app:boxBackgroundColor="#F5F5F5"
|
|
app:boxCornerRadiusTopStart="24dp"
|
|
app:boxCornerRadiusTopEnd="24dp"
|
|
app:boxCornerRadiusBottomStart="24dp"
|
|
app:boxCornerRadiusBottomEnd="24dp"
|
|
app:boxStrokeWidth="0dp"
|
|
app:startIconDrawable="@android:drawable/ic_menu_search"
|
|
app:startIconTint="#8D6E63"
|
|
android:hint="Search profiles...">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="12dp"
|
|
android:paddingBottom="12dp"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:layout_width="52dp"
|
|
android:layout_height="52dp"
|
|
android:layout_marginStart="12dp"
|
|
app:icon="@android:drawable/ic_menu_sort_by_size"
|
|
app:iconTint="#5D4037"
|
|
app:backgroundTint="#EFEBE9"
|
|
app:cornerRadius="12dp"
|
|
app:iconGravity="textStart"
|
|
app:iconPadding="0dp"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/galleryContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp"/>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/fabAddCow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_margin="24dp"
|
|
app:srcCompat="@android:drawable/ic_input_add"
|
|
app:tint="#FFFFFF"
|
|
app:backgroundTint="#6D4C41"/>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |