New interface to pick a contact as attachment
New ContactMediaChooser allows the user to pick a contact from contacts apps as attachment. Test: Manual Change-Id: Idb00cd8a3164a3cac859947affd5cbcc7e41b8c2 Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
This commit is contained in:
@@ -111,6 +111,8 @@
|
||||
<color name="audio_attachment_timer_text_color">#323232</color>
|
||||
<color name="audio_progress_bar_color">@color/primary_color</color>
|
||||
|
||||
<color name="contact_picker_hint_text_color">#40000000</color>
|
||||
|
||||
<color name="notification_sender_text">#9A9A9A</color>
|
||||
<color name="notification_secondary_text">#FFFFFF</color>
|
||||
<color name="notification_tertiary_text">#FFFFFF</color>
|
||||
|
||||
@@ -100,6 +100,9 @@
|
||||
<dimen name="audio_picker_text_size">16sp</dimen>
|
||||
<dimen name="audio_attachment_text_size">14sp</dimen>
|
||||
<dimen name="audio_progress_bar_height">6dp</dimen>
|
||||
|
||||
<dimen name="contact_picker_text_size">16sp</dimen>
|
||||
|
||||
<!-- Videos in the message list view should at least be this big in the smallest dimension -->
|
||||
<dimen name="video_message_min_size">320dp</dimen>
|
||||
<dimen name="attachment_rounded_corner_radius">3dp</dimen>
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
<string name="mediapicker_cameraChooserDescription">Capture pictures or video</string>
|
||||
<string name="mediapicker_galleryChooserDescription">Choose images from this device</string>
|
||||
<string name="mediapicker_audioChooserDescription">Record audio</string>
|
||||
<string name="mediapicker_contactChooserDescription">Choose a contact from this device</string>
|
||||
<string name="mediapicker_gallery_title">Choose media</string>
|
||||
<string name="mediapicker_gallery_item_selected_content_description">The media is selected.</string>
|
||||
<string name="mediapicker_gallery_item_unselected_content_description">The media is unselected.</string>
|
||||
@@ -61,6 +62,9 @@
|
||||
<string name="mediapicker_gallery_image_item_description">image <xliff:g id="date">%1$tB %1$te %1$tY %1$tl %1$tM %1$tp</xliff:g></string>
|
||||
<string name="mediapicker_gallery_image_item_description_no_date">image</string>
|
||||
<string name="mediapicker_audio_title">Record audio</string>
|
||||
<string name="mediapicker_contact_title">Choose a contact</string>
|
||||
<!-- Hint text on the contact picker -->
|
||||
<string name="contact_picker_hint_text">Click to open contacts list on this device</string>
|
||||
|
||||
<string name="action_share">Share</string>
|
||||
|
||||
|
||||
@@ -217,6 +217,11 @@
|
||||
<item name="android:paddingLeft">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="ContactPickerHintText">
|
||||
<item name="android:textSize">@dimen/contact_picker_text_size</item>
|
||||
<item name="android:textColor">@color/contact_picker_hint_text_color</item>
|
||||
</style>
|
||||
|
||||
<style name="VcardAttachmentSingleStyle">
|
||||
<item name="android:paddingRight">@dimen/message_text_left_right_padding</item>
|
||||
<item name="android:paddingLeft">@dimen/message_text_left_right_padding</item>
|
||||
|
||||
Reference in New Issue
Block a user