Commit 3c093a52 authored by Grigory Fedorov's avatar Grigory Fedorov

ChatViewerFragment: spacer removed from input view.

parent 6535cf13
...@@ -150,7 +150,6 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem ...@@ -150,7 +150,6 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem
AbstractChat abstractChat = MessageManager.getInstance().getChat(account, user); AbstractChat abstractChat = MessageManager.getInstance().getChat(account, user);
securityButton = (ImageButton) view.findViewById(R.id.button_security); securityButton = (ImageButton) view.findViewById(R.id.button_security);
View spacer = view.findViewById(R.id.button_security_spacer);
if (abstractChat instanceof RegularChat) { if (abstractChat instanceof RegularChat) {
securityButton.setOnClickListener(new View.OnClickListener() { securityButton.setOnClickListener(new View.OnClickListener() {
...@@ -161,7 +160,6 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem ...@@ -161,7 +160,6 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem
}); });
} else { } else {
securityButton.setVisibility(View.GONE); securityButton.setVisibility(View.GONE);
spacer.setVisibility(View.VISIBLE);
} }
chatMessageAdapter = new ChatMessageAdapter(getActivity(), account, user, this); chatMessageAdapter = new ChatMessageAdapter(getActivity(), account, user, this);
......
...@@ -74,13 +74,6 @@ ...@@ -74,13 +74,6 @@
android:alpha="0.5" android:alpha="0.5"
/> />
<Space
android:id="@+id/button_security_spacer"
android:layout_width="16dp"
android:layout_height="match_parent"
android:visibility="gone"
/>
<github.ankushsachdeva.emojicon.EmojiconEditText <github.ankushsachdeva.emojicon.EmojiconEditText
android:id="@+id/chat_input" android:id="@+id/chat_input"
android:layout_width="0dp" android:layout_width="0dp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment