Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/dialog_sso_grant_permission.xml')
-rw-r--r--app/src/main/res/layout/dialog_sso_grant_permission.xml58
1 files changed, 58 insertions, 0 deletions
diff --git a/app/src/main/res/layout/dialog_sso_grant_permission.xml b/app/src/main/res/layout/dialog_sso_grant_permission.xml
new file mode 100644
index 0000000000..e2eda08c2f
--- /dev/null
+++ b/app/src/main/res/layout/dialog_sso_grant_permission.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ Nextcloud Android client application
+
+ Copyright (C) 2018 Andy Scherzinger
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+ License as published by the Free Software Foundation; either
+ version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
+-->
+<LinearLayout 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:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingHorizontal="@dimen/dialog_padding"
+ android:paddingTop="@dimen/dialog_padding"
+ tools:context="com.owncloud.android.ui.activity.SsoGrantPermissionActivity">
+
+ <ImageView
+ android:id="@+id/appIcon"
+ android:layout_width="@dimen/user_icon_size"
+ android:layout_height="@dimen/user_icon_size"
+ android:layout_gravity="top|start"
+ android:layout_marginEnd="@dimen/standard_margin"
+ android:contentDescription="@null"
+ android:src="@drawable/background"
+ app:layout_constraintLeft_toLeftOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="@+id/permissionText"
+ tools:src="@drawable/file_application" />
+
+ <TextView
+ android:id="@+id/permissionText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="@dimen/zero"
+ android:paddingLeft="@dimen/zero"
+ android:paddingEnd="@dimen/zero"
+ android:paddingRight="@dimen/zero"
+ android:paddingBottom="@dimen/standard_padding"
+ android:textSize="@dimen/permission_dialog_text_size"
+ app:layout_constraintBottom_toTopOf="@+id/btnGrant"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ tools:text="Grant Nextcloud News access to your Nextcloud account incrediblyLong_username_with_123456789_number@Nextcloud_dummy.com?" />
+
+</LinearLayout>