diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-09-04 20:02:55 +0300 |
---|---|---|
committer | Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com> | 2020-09-04 20:03:12 +0300 |
commit | 617acd70446dfd5e9e251b0db85a1918f48269a9 (patch) | |
tree | 29c9cfed7af069c1b36c5b2a43a7cecda21b38ff /app/src/main/res/layout/fragment_card_edit_tab_comments.xml | |
parent | 81ca46c05ccbf0950a447300e08b4191e78230fd (diff) |
#673 💬 Allow mention users in the comments
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main/res/layout/fragment_card_edit_tab_comments.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_card_edit_tab_comments.xml | 33 |
1 files changed, 27 insertions, 6 deletions
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" |