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>2020-07-21 13:08:27 +0300
committerStefan Niedermann <info@niedermann.it>2020-07-21 13:08:27 +0300
commitf2e73963e8d130c4dcd5cf361fd5e2c809921c35 (patch)
tree08872729e99d0eb04fec9802bdfff952e18bc2d1 /app/src/main/res
parentd2774bf18855f08c65a46355e059e5bcd812b262 (diff)
#573 projects - Enhance resources dialog
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/dialog_project_resources.xml25
1 files changed, 22 insertions, 3 deletions
diff --git a/app/src/main/res/layout/dialog_project_resources.xml b/app/src/main/res/layout/dialog_project_resources.xml
index 2b78c8a56..44d90f075 100644
--- a/app/src/main/res/layout/dialog_project_resources.xml
+++ b/app/src/main/res/layout/dialog_project_resources.xml
@@ -1,8 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
+<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"
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
- tools:listitem="@layout/item_project_resource" /> \ No newline at end of file
+ android:orientation="vertical"
+ android:padding="@dimen/spacer_2x">
+
+ <TextView
+ android:id="@+id/projectName"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="@dimen/spacer_3x"
+ android:layout_marginEnd="0dp"
+ android:paddingStart="@dimen/spacer_2x"
+ android:paddingEnd="0dp"
+ android:textAppearance="?attr/textAppearanceBody1"
+ tools:text="@tools:sample/lorem" />
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_view"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
+ tools:listitem="@layout/item_project_resource" />
+</LinearLayout> \ No newline at end of file