mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-07-07 18:42:53 +00:00
Can update comment content.
This commit is contained in:
12
app/src/main/res/layout/dialog_edit_comment.xml
Normal file
12
app/src/main/res/layout/dialog_edit_comment.xml
Normal 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>
|
@ -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
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user