mirror of
				https://github.com/pierre42100/ComunicAndroid
				synced 2025-11-04 11:34:06 +00:00 
			
		
		
		
	Improved comments creation form.
This commit is contained in:
		@@ -235,7 +235,7 @@ public class PostsAdapter extends ArrayAdapter<Post>{
 | 
			
		||||
 | 
			
		||||
        //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);
 | 
			
		||||
 
 | 
			
		||||
@@ -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" />
 | 
			
		||||
 | 
			
		||||
        <ImageButton
 | 
			
		||||
        <ImageView
 | 
			
		||||
            android:id="@+id/comment_send_button"
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="match_parent"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user