mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-04 07:42:30 -08:00
88 lines
3.5 KiB
XML
88 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2017 Brian Pellin, Jeremy Jamet / Kunzisoft.
|
|
|
|
This file is part of KeePass DX.
|
|
|
|
KeePass DX is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
KeePass DX is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with KeePass DX. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<android.support.v7.widget.Toolbar 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/toolbar"
|
|
android:title="@string/app_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="?attr/colorPrimary"
|
|
app:theme="?attr/toolbarDark"
|
|
android:elevation="4dp"
|
|
tools:targetApi="lollipop">
|
|
<com.keepassdroid.view.GroupHeaderView
|
|
android:id="@+id/group_header"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_below="@+id/toolbar" />
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
<ListView android:id="@+id/group_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/toolbar"
|
|
android:divider="@null"
|
|
android:dividerHeight="0dp"/>
|
|
|
|
<android.support.v7.widget.AppCompatImageButton
|
|
android:id="@+id/add_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_add_white_24dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentEnd="true"
|
|
style="@style/KeepassDXStyle.Fab" />
|
|
|
|
<TextView android:id="@+id/add_entry"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_above="@+id/add_button"
|
|
android:layout_alignRight="@+id/add_button"
|
|
android:layout_alignEnd="@+id/add_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/add_entry"
|
|
android:visibility="invisible"
|
|
style="@style/KeepassDXStyle.FabMenu"
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
<TextView android:id="@+id/add_group"
|
|
android:layout_marginBottom="24dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_above="@+id/add_entry"
|
|
android:layout_alignRight="@+id/add_button"
|
|
android:layout_alignEnd="@+id/add_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/add_group"
|
|
android:visibility="invisible"
|
|
style="@style/KeepassDXStyle.FabMenu"
|
|
tools:ignore="UnusedAttribute" />
|
|
</RelativeLayout> |