diff options
author | Romain Hunault <romain.hunault@e.email> | 2021-05-27 16:29:58 +0000 |
---|---|---|
committer | Romain Hunault <romain.hunault@e.email> | 2021-05-27 16:29:58 +0000 |
commit | 97b51f18dcc2f87a9cdd7f482033e30a6282d853 (patch) | |
tree | d951b14909c2dc4aab9908edea9da2122550c59d /app/src/main/res/layout/topbar.xml | |
parent | 7c02e9a048319c10d7396e7ec094c368f27273fd (diff) | |
parent | fafd978342abb8332fcf3ed45cdc3b7d437576ba (diff) |
Merge branch 'improvement/ui' into 'master'
Fix title and add back navigation support
See merge request e/privacy-central/privacycentralapp!5
Diffstat (limited to 'app/src/main/res/layout/topbar.xml')
-rw-r--r-- | app/src/main/res/layout/topbar.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app/src/main/res/layout/topbar.xml b/app/src/main/res/layout/topbar.xml new file mode 100644 index 0000000..9142d79 --- /dev/null +++ b/app/src/main/res/layout/topbar.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + ~ Copyright (C) 2021 E FOUNDATION + ~ + ~ This program 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 3 of the License, or + ~ (at your option) any later version. + ~ + ~ This program 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 this program. If not, see <https://www.gnu.org/licenses/>. + --> + +<com.google.android.material.appbar.AppBarLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_height="wrap_content" + android:layout_width="match_parent" + xmlns:app="http://schemas.android.com/apk/res-auto" + app:elevation="0dp" + > + + <com.google.android.material.appbar.MaterialToolbar + android:background="@color/white" + android:id="@+id/toolbar" + app:titleCentered="true" + android:elevation="0dp" + android:layout_height="?android:attr/actionBarSize" + android:layout_width="match_parent" + tools:layout_height="56dp" + /> +</com.google.android.material.appbar.AppBarLayout> |