Commit 6c8ec28f authored by Lucio Maciel's avatar Lucio Maciel

Disable only the buttons.

parent 47039e84
...@@ -164,8 +164,8 @@ public class MessageFormLayout extends LinearLayout { ...@@ -164,8 +164,8 @@ public class MessageFormLayout extends LinearLayout {
} }
public void setEnabled(boolean enabled) { public void setEnabled(boolean enabled) {
getEditor().setEnabled(enabled); sendButton.setEnabled(enabled);
composer.findViewById(R.id.button_send).setEnabled(enabled); attachButton.setEnabled(enabled);
} }
public void setEditTextCommitContentListener( public void setEditTextCommitContentListener(
......
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