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 01:30:26 +0300
committerstefan-niedermann <info@niedermann.it>2019-10-20 01:30:26 +0300
commit6291c3321558582cfd7a85db6749bcd2b9b773ec (patch)
tree538454dcf762bb67bccda80b8a5d8f9d62b3d0c4 /app/src/main/res
parent267b77cd8b0aed1118790d530866d5cf012b89c8 (diff)
Fill user object on create ACL
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/item_access_control.xml26
1 files changed, 21 insertions, 5 deletions
diff --git a/app/src/main/res/layout/item_access_control.xml b/app/src/main/res/layout/item_access_control.xml
index c2f89f64a..0589b5d9e 100644
--- a/app/src/main/res/layout/item_access_control.xml
+++ b/app/src/main/res/layout/item_access_control.xml
@@ -21,15 +21,31 @@
android:layout_height="wrap_content"
android:orientation="vertical">
- <TextView
- android:id="@+id/username"
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:textSize="16sp"
android:layout_marginBottom="@dimen/standard_half_margin"
- tools:text="Username"
- tools:drawableEnd="@drawable/ic_sync_blue_24dp"/>
+ android:orientation="horizontal">
+ <TextView
+ android:id="@+id/username"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="center"
+ android:textSize="16sp"
+ tools:drawableEnd="@drawable/ic_sync_blue_24dp"
+ tools:text="Username" />
+
+ <androidx.appcompat.widget.AppCompatImageButton
+ android:id="@+id/delete"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="0dp"
+ android:layout_gravity="center"
+ android:background="?android:selectableItemBackground"
+ app:srcCompat="@drawable/ic_delete_black_24dp" />
+ </LinearLayout>
<com.google.android.flexbox.FlexboxLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"