|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<!--
|
|
|
~ Copyright © 2013 – 2016 Ricki Hirner (bitfire web engineering).
|
|
|
~ All rights reserved. This program and the accompanying materials
|
|
|
~ are made available under the terms of the GNU Public License v3.0
|
|
|
~ which accompanies this distribution, and is available at
|
|
|
~ http://www.gnu.org/licenses/gpl.html
|
|
|
-->
|
|
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
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:id="@+id/coordinator"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
tools:context="com.etesync.syncadapter.ui.AccountsActivity">
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
app:theme="@style/ThemeOverlay.AppCompat.ActionBar"
|
|
|
android:id="@+id/toolbar"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
android:background="?attr/colorPrimary"/>
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
<fragment
|
|
|
class="com.etesync.syncadapter.ui.AccountListFragment"
|
|
|
android:id="@+id/account_list"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
tools:layout="@layout/account_list"
|
|
|
app:layout_scrollFlags="scroll"
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
android:id="@+id/fab"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="bottom|end"
|
|
|
android:layout_margin="@dimen/fab_margin"
|
|
|
android:src="@drawable/ic_add_light"/>
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|