Can update comment content.

This commit is contained in:
Pierre
2018-04-07 18:11:01 +02:00
parent 1096b98bd6
commit 20911e9b2a
7 changed files with 148 additions and 5 deletions

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<org.communiquons.android.comunic.client.ui.views.EditCommentContentView
android:id="@+id/input_comment_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/popup_editcomment_edit_placeholder"/>
</LinearLayout>

View File

@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android">
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Update comment -->
<item
android:id="@+id/action_edit_comment"
android:title="@string/action_edit_comment"/>
<!-- Delete comment -->
<item

View File

@ -130,4 +130,10 @@
<string name="like_button_img">Like</string>
<string name="like_view_like">Like</string>
<string name="like_view_liking">Liking</string>
<string name="action_edit_comment">Edit</string>
<string name="popup_editcomment_title">Edit the content of the comment</string>
<string name="popup_editcomment_cancel">Cancel</string>
<string name="popup_editcomment_confirm">Edit</string>
<string name="popup_editcomment_edit_placeholder">New content for the comment</string>
<string name="err_update_comment_content">An error occurred while trying to update comment content !</string>
</resources>