misp-bump/app/src/main/res/layout/activity_home.xml

47 lines
1.9 KiB
XML
Raw Normal View History

2019-05-27 16:06:07 +02:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
2019-05-27 16:06:07 +02:00
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2019-06-11 14:52:41 +02:00
android:id="@+id/rootLayout"
2019-05-27 16:06:07 +02:00
android:layout_width="match_parent"
2019-06-04 20:48:24 +02:00
android:layout_height="match_parent">
2019-05-27 16:06:07 +02:00
<com.google.android.material.appbar.AppBarLayout
2019-05-27 16:06:07 +02:00
android:layout_width="match_parent"
2019-06-04 20:48:24 +02:00
android:layout_height="wrap_content">
2019-05-27 16:06:07 +02:00
<androidx.appcompat.widget.Toolbar
2019-06-04 20:48:24 +02:00
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
android:background="@color/colorPrimary" />
</com.google.android.material.appbar.AppBarLayout>
2019-05-27 16:06:07 +02:00
<androidx.recyclerview.widget.RecyclerView
2019-06-04 20:48:24 +02:00
android:id="@+id/recyclerView"
2019-06-11 14:52:41 +02:00
app:layout_behavior="@string/appbar_scrolling_view_behavior"
2019-06-04 20:48:24 +02:00
android:layout_width="match_parent"
2019-06-11 14:52:41 +02:00
android:layout_height="match_parent" />
2019-06-04 20:48:24 +02:00
2019-06-11 14:52:41 +02:00
<TextView
android:id="@+id/emtpy"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_sync_black_24dp"
2019-06-11 14:52:41 +02:00
android:gravity="center"
android:text="@string/no_syncs_hint"/>
2019-05-27 16:06:07 +02:00
<com.google.android.material.floatingactionbutton.FloatingActionButton
2019-05-27 16:06:07 +02:00
android:id="@+id/home_fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-06-04 20:48:24 +02:00
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
app:backgroundTint="@color/colorAccent"
android:tint="@color/white"
android:src="@drawable/ic_qrcode_scan"/>
2019-05-27 16:06:07 +02:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>