Attachment is a feature that allows users to send images,videos and documents. Attachment appears in the
message input field region of the
In MirrorFly UIKit for Android, there are currently three type of file messages that users can send : image, video and documents. These attachment files can be shared with other members in the single chat or group chat from the sender’s mobile device.
|Header||Acts as an ActionBar in the activity. By default, it displays the back navigation button, preview name text, as well as two buttons on the left and right, which are all customizable. If the left button is clicked, the finish() method of the activity will be called to take the user to the media picker of the MeidaPickerActivity. If the right button is clicked, current image in the screen will be deleted|
|ViewPager||UIKit provides swipe option to see the selected imges.|
|Caption(Message) input field||Enables users to send a image with caption message which are all customizable|
StyleSet is the list of styles provided by MirrorFly UIKit. Customizing the style of
Image attachment list items is straightforward: Simply inherit the MirrorFly UIKit-defined styles, then override the
res/values/themes.xml file from the list below.
For example, the
MessageInput, AppBar, theme can be changed by overriding the
Listed below are all the
Recent Chat style used in UIKit for Android. Styles can be changed by overwriting the
res/values/themes.xml files with the same name.
Listed below are all the strings used in UIKit
Image & Video attachement for Android. Strings can be changed by overwriting the
res/values/strings.xml files with the same name.
Listed below are all the icons used in UIKit
Image & Video attachment for Android. Icons can be changed by overwriting the
res/drawable files with the same name.
|ic_delete_media||Icon of delete|
|ic_add_more_media||Icon of delete|
|icon_send||Icon of Message Send.|
|icon_arrow_left||Goes back to the previous page.|