mirror of https://github.com/nextcloud/android
80 lines
2.9 KiB
XML
80 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~
|
|
~ Nextcloud Android client application
|
|
~
|
|
~ @author Tobias Kaminsky
|
|
~ Copyright (C) 2022 Tobias Kaminsky
|
|
~ Copyright (C) 2022 Nextcloud GmbH
|
|
~
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU Affero 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 Affero General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU Affero General Public License
|
|
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@id/layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="32dp"
|
|
android:layout_margin="@dimen/standard_margin">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_marginEnd="@dimen/standard_margin"
|
|
android:contentDescription="@string/icon_of_dashboard_widget"
|
|
app:srcCompat="@drawable/ic_dashboard" />
|
|
|
|
<TextView
|
|
android:id="@+id/chooseWidget"
|
|
android:layout_width="0dp"
|
|
android:layout_height="32dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/choose_widget"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/accountName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="32dp"
|
|
android:gravity="center_vertical"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
|
|
<com.owncloud.android.ui.EmptyRecyclerView
|
|
android:id="@+id/list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<include
|
|
android:id="@+id/empty_view"
|
|
layout="@layout/empty_list" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/close"
|
|
style="@style/OutlinedButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start"
|
|
android:layout_margin="@dimen/standard_margin"
|
|
android:text="@string/common_cancel"
|
|
app:cornerRadius="@dimen/button_corner_radius" />
|
|
</LinearLayout>
|