diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/adapters/PostsAdapter.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/adapters/PostsAdapter.java index 9c2443e..ba4b480 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/adapters/PostsAdapter.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/adapters/PostsAdapter.java @@ -235,7 +235,7 @@ public class PostsAdapter extends ArrayAdapter{ //Get view about the comment 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 mListener.onCreateComment(pos, sendButton, post, commentInput); diff --git a/app/src/main/res/layout/post_item.xml b/app/src/main/res/layout/post_item.xml index fbf1261..fcba39c 100644 --- a/app/src/main/res/layout/post_item.xml +++ b/app/src/main/res/layout/post_item.xml @@ -97,10 +97,11 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" + style="@style/TextAppearance.AppCompat" android:hint="@string/new_comment_hint" android:inputType="textMultiLine" /> -