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

46 lines
1.8 KiB
XML
Raw Normal View History

2019-05-27 16:06:07 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-06-04 20:48:24 +02:00
<android.support.design.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-04 20:48:24 +02:00
xmlns:tools="http://schemas.android.com/tools"
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
2019-06-04 20:48:24 +02:00
<android.support.design.widget.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
2019-06-04 20:48:24 +02:00
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
2019-06-11 14:52:41 +02:00
android:elevation="4dp"
2019-06-04 20:48:24 +02:00
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
</android.support.design.widget.AppBarLayout>
2019-05-27 16:06:07 +02:00
2019-06-04 20:48:24 +02:00
<android.support.v7.widget.RecyclerView
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:gravity="center"
android:text="@string/no_syncs_hint"/>
2019-05-27 16:06:07 +02:00
<android.support.design.widget.FloatingActionButton
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"
2019-06-11 14:52:41 +02:00
android:src="@drawable/ic_qrcode_scan" />
2019-05-27 16:06:07 +02:00
2019-06-04 20:48:24 +02:00
</android.support.design.widget.CoordinatorLayout>