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

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstefan-niedermann <info@niedermann.it>2019-10-20 16:45:00 +0300
committerstefan-niedermann <info@niedermann.it>2019-10-20 16:45:00 +0300
commit94867a258b63e9173106b0c2fd1cb2a2cbc59dd7 (patch)
treee78bc82a0d17c16382109c4bd72438faa9cd350d /app/src/main/res
parent66780de0c2c597a8d2fc854f6c3fef63554a2d80 (diff)
#148 Share boards with permissions
Display owner
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/item_access_control_owner.xml43
-rw-r--r--app/src/main/res/values/strings.xml1
2 files changed, 44 insertions, 0 deletions
diff --git a/app/src/main/res/layout/item_access_control_owner.xml b/app/src/main/res/layout/item_access_control_owner.xml
new file mode 100644
index 000000000..368f52480
--- /dev/null
+++ b/app/src/main/res/layout/item_access_control_owner.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:padding="@dimen/standard_padding">
+
+ <ImageView
+ android:id="@+id/avatar"
+ android:layout_width="@dimen/avatar_size"
+ android:layout_height="match_parent"
+ android:layout_marginEnd="@dimen/standard_margin"
+ android:layout_marginRight="@dimen/standard_margin"
+ android:contentDescription="@null"
+ app:srcCompat="@drawable/ic_person_grey600_24dp" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/owner"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="center"
+ android:textSize="16sp"
+ tools:text="Username" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="center"
+ android:textColor="@color/fg_secondary"
+ android:text="@string/owner"
+ tools:text="Username" />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 5b8526ae4..06a974528 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -143,4 +143,5 @@
<string name="simple_share">share</string>
<string name="you_have_to_be_connected_to_the_internet_in_order_to_add_an_account">You have to be connected to the internet in order to add an account.</string>
<string name="simple_select">Select</string>
+ <string name="owner">owner</string>
</resources>