Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout 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"
- tools:context=".ListActivity">
- <androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="@color/colorPrimary"
- />
- <com.miguelcatalan.materialsearchview.MaterialSearchView
- android:id="@+id/search_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:searchBackground="@color/colorPrimary"
- app:searchSuggestionBackground="@color/colorPrimary"
- app:searchCloseIcon="@drawable/ic_action_navigation_close_inverted"
- app:searchBackIcon="@drawable/ic_action_navigation_arrow_back_inverted"
- app:searchSuggestionIcon="@drawable/ic_suggestion"
- android:textColor="#FFFFFF"
- android:textColorHint="#FFFFFF"
- />
- <ListView
- android:id="@+id/listView"
- android:layout_height="fill_parent"
- android:layout_width="match_parent"
- android:layout_below="@+id/toolbar"
- android:divider="#806326"
- android:dividerHeight="1dp"
- />
- <com.google.android.material.floatingactionbutton.FloatingActionButton
- android:layout_alignParentBottom="true"
- android:layout_alignParentRight="true"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="end|bottom"
- android:src="@drawable/ic_add_white"
- android:layout_margin="15dp"
- app:fabSize="normal"
- app:borderWidth="0dp"
- app:elevation="6dp"
- android:backgroundTint="@color/colorPrimary"
- android:id="@+id/toFormActivity"/>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement