|
|
@ -763,20 +763,11 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|
|
|
composeBubble = findViewById(R.id.compose_bubble);
|
|
|
|
composeBubble = findViewById(R.id.compose_bubble);
|
|
|
|
container = (InputAwareLayout) findViewById(R.id.layout_container);
|
|
|
|
container = (InputAwareLayout) findViewById(R.id.layout_container);
|
|
|
|
|
|
|
|
|
|
|
|
container.addOnKeyboardShownListener(this);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
buttonToggle = (AnimatingToggle) findViewById(R.id.button_toggle);
|
|
|
|
|
|
|
|
sendButton = (SendButton) findViewById(R.id.send_button);
|
|
|
|
|
|
|
|
attachButton = (ImageButton) findViewById(R.id.attach_button);
|
|
|
|
|
|
|
|
composeText = (ComposeText) findViewById(R.id.embedded_text_editor);
|
|
|
|
|
|
|
|
charactersLeft = (TextView) findViewById(R.id.space_left);
|
|
|
|
|
|
|
|
emojiToggle = (EmojiToggle) findViewById(R.id.emoji_toggle);
|
|
|
|
|
|
|
|
titleView = (ConversationTitleView) getSupportActionBar().getCustomView();
|
|
|
|
|
|
|
|
unblockButton = (Button) findViewById(R.id.unblock_button);
|
|
|
|
|
|
|
|
composePanel = findViewById(R.id.bottom_panel);
|
|
|
|
|
|
|
|
quickAttachmentDrawer = (QuickAttachmentDrawer) findViewById(R.id.quick_attachment_drawer);
|
|
|
|
quickAttachmentDrawer = (QuickAttachmentDrawer) findViewById(R.id.quick_attachment_drawer);
|
|
|
|
quickAttachmentToggle = (HidingImageButton) findViewById(R.id.quick_attachment_toggle);
|
|
|
|
quickAttachmentToggle = (HidingImageButton) findViewById(R.id.quick_attachment_toggle);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
container.addOnKeyboardShownListener(this);
|
|
|
|
|
|
|
|
|
|
|
|
int[] attributes = new int[]{R.attr.conversation_item_bubble_background};
|
|
|
|
int[] attributes = new int[]{R.attr.conversation_item_bubble_background};
|
|
|
|
TypedArray colors = obtainStyledAttributes(attributes);
|
|
|
|
TypedArray colors = obtainStyledAttributes(attributes);
|
|
|
|
int defaultColor = colors.getColor(0, Color.WHITE);
|
|
|
|
int defaultColor = colors.getColor(0, Color.WHITE);
|
|
|
|