mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-12-18 01:33:06 +00:00
Improved comments creation form.
This commit is contained in:
parent
396e82d7a6
commit
f8e2eefe68
@ -235,7 +235,7 @@ public class PostsAdapter extends ArrayAdapter<Post>{
|
|||||||
|
|
||||||
//Get view about the comment
|
//Get view about the comment
|
||||||
final EditCommentContentView commentInput = container.findViewById(R.id.input_comment_content);
|
final EditCommentContentView commentInput = container.findViewById(R.id.input_comment_content);
|
||||||
final ImageButton sendButton = container.findViewById(R.id.comment_send_button);
|
final ImageView sendButton = container.findViewById(R.id.comment_send_button);
|
||||||
|
|
||||||
//Call interface
|
//Call interface
|
||||||
mListener.onCreateComment(pos, sendButton, post, commentInput);
|
mListener.onCreateComment(pos, sendButton, post, commentInput);
|
||||||
|
@ -97,10 +97,11 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
style="@style/TextAppearance.AppCompat"
|
||||||
android:hint="@string/new_comment_hint"
|
android:hint="@string/new_comment_hint"
|
||||||
android:inputType="textMultiLine" />
|
android:inputType="textMultiLine" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageView
|
||||||
android:id="@+id/comment_send_button"
|
android:id="@+id/comment_send_button"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user