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:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable/ic_baseline_mention_24.xml5
-rw-r--r--app/src/main/res/layout/fragment_card_edit_tab_comments.xml33
2 files changed, 32 insertions, 6 deletions
diff --git a/app/src/main/res/drawable/ic_baseline_mention_24.xml b/app/src/main/res/drawable/ic_baseline_mention_24.xml
new file mode 100644
index 000000000..32c6f57e9
--- /dev/null
+++ b/app/src/main/res/drawable/ic_baseline_mention_24.xml
@@ -0,0 +1,5 @@
+<vector android:height="24dp" android:tint="#757575"
+ android:viewportHeight="24" android:viewportWidth="24"
+ android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
+ <path android:fillColor="@android:color/white" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10h5v-2h-5c-4.34,0 -8,-3.66 -8,-8s3.66,-8 8,-8 8,3.66 8,8v1.43c0,0.79 -0.71,1.57 -1.5,1.57s-1.5,-0.78 -1.5,-1.57L17,12c0,-2.76 -2.24,-5 -5,-5s-5,2.24 -5,5 2.24,5 5,5c1.38,0 2.64,-0.56 3.54,-1.47 0.65,0.89 1.77,1.47 2.96,1.47 1.97,0 3.5,-1.6 3.5,-3.57L22,12c0,-5.52 -4.48,-10 -10,-10zM12,15c-1.66,0 -3,-1.34 -3,-3s1.34,-3 3,-3 3,1.34 3,3 -1.34,3 -3,3z"/>
+</vector>
diff --git a/app/src/main/res/layout/fragment_card_edit_tab_comments.xml b/app/src/main/res/layout/fragment_card_edit_tab_comments.xml
index 7cd8668e9..cc5fa77b7 100644
--- a/app/src/main/res/layout/fragment_card_edit_tab_comments.xml
+++ b/app/src/main/res/layout/fragment_card_edit_tab_comments.xml
@@ -72,16 +72,37 @@
app:srcCompat="@drawable/ic_close_circle_grey600" />
</LinearLayout>
+
<LinearLayout
- android:id="@+id/mention_proposer"
+ android:id="@+id/mentionProposerWrapper"
android:layout_width="match_parent"
- android:layout_height="50dp"
+ android:layout_height="wrap_content"
android:gravity="center_vertical"
- android:orientation="horizontal"
- android:paddingStart="80dp"
- android:paddingEnd="80dp"
+ android:paddingStart="@dimen/spacer_2x"
+ android:paddingTop="@dimen/spacer_1x"
+ android:paddingEnd="@dimen/spacer_2x"
+ android:paddingBottom="@dimen/spacer_1x"
android:visibility="gone"
- tools:visibility="visible" />
+ tools:visibility="visible">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="@dimen/spacer_1x"
+ android:layout_marginEnd="@dimen/spacer_1x"
+ android:contentDescription="@string/simple_reply"
+ android:padding="@dimen/spacer_1x"
+ app:srcCompat="@drawable/ic_baseline_mention_24" />
+
+ <LinearLayout
+ android:id="@+id/mention_proposer"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/avatar_size_small"
+ android:layout_marginStart="@dimen/spacer_1x"
+ android:layout_marginEnd="@dimen/spacer_1x"
+ android:gravity="center_vertical"
+ android:orientation="horizontal" />
+ </LinearLayout>
<LinearLayout
android:layout_width="match_parent"