mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
c7da83a702
Previously, we'd only show the attachment button when the user had yet to enter any text. To add an attachment after text was entered, you'd have to go to the three-dot menu. Now we just show a little attach button in the text area. I also took the opportunity to clean up other button paddings and stuff in the compose area so things look better and react to text sizes more predictably.
79 lines
3.7 KiB
XML
79 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<dimen name="emoji_drawer_size">32sp</dimen>
|
|
<dimen name="min_keyboard_size">50dp</dimen>
|
|
<dimen name="default_custom_keyboard_size">220dp</dimen>
|
|
<dimen name="min_custom_keyboard_size">110dp</dimen>
|
|
<dimen name="min_custom_keyboard_top_margin">170dp</dimen>
|
|
<dimen name="emoji_drawer_item_padding">5dp</dimen>
|
|
<dimen name="emoji_drawer_indicator_height">1.5dp</dimen>
|
|
<dimen name="emoji_drawer_left_right_padding">5dp</dimen>
|
|
<dimen name="conversation_item_body_text_size">16sp</dimen>
|
|
<dimen name="conversation_item_date_text_size">12sp</dimen>
|
|
<dimen name="transport_selection_popup_width">200sp</dimen>
|
|
<dimen name="transport_selection_popup_xoff">2dp</dimen>
|
|
<dimen name="transport_selection_popup_yoff">2dp</dimen>
|
|
<dimen name="contact_photo_target_size">64dp</dimen>
|
|
<dimen name="contact_selection_photo_size">50dp</dimen>
|
|
|
|
<!-- TODO: Consolidate these two message corner things -->
|
|
<dimen name="message_corner_radius">16dp</dimen>
|
|
<dimen name="message_corner_collapse_radius">4dp</dimen>
|
|
<dimen name="message_bubble_corner_radius">2dp</dimen>
|
|
<dimen name="message_bubble_shadow_distance">1.5dp</dimen>
|
|
<dimen name="message_bubble_horizontal_padding">12dp</dimen>
|
|
<dimen name="message_bubble_top_padding">6dp</dimen>
|
|
<dimen name="message_bubble_collapsed_footer_padding">6dp</dimen>
|
|
<dimen name="message_bubble_edge_margin">32dp</dimen>
|
|
<dimen name="message_bubble_bottom_padding">8dp</dimen>
|
|
<dimen name="media_bubble_remove_button_size">24dp</dimen>
|
|
<dimen name="media_bubble_edit_button_size">24dp</dimen>
|
|
<dimen name="media_bubble_default_dimens">210dp</dimen>
|
|
<dimen name="media_bubble_min_width">150dp</dimen>
|
|
<dimen name="media_bubble_max_width">240dp</dimen>
|
|
<dimen name="media_bubble_min_height">100dp</dimen>
|
|
<dimen name="media_bubble_max_height">320dp</dimen>
|
|
|
|
<dimen name="conversation_compose_height">40dp</dimen>
|
|
<dimen name="conversation_individual_right_gutter">16dp</dimen>
|
|
<dimen name="conversation_individual_left_gutter">16dp</dimen>
|
|
<dimen name="conversation_group_left_gutter">52dp</dimen>
|
|
<dimen name="conversation_vertical_message_spacing_default">8dp</dimen>
|
|
<dimen name="conversation_vertical_message_spacing_collapse">1dp</dimen>
|
|
|
|
<dimen name="quote_corner_radius_large">10dp</dimen>
|
|
<dimen name="quote_corner_radius_bottom">4dp</dimen>
|
|
<dimen name="quote_corner_radius_preview">18dp</dimen>
|
|
|
|
<integer name="media_overview_cols">3</integer>
|
|
<dimen name="message_details_table_row_pad">10dp</dimen>
|
|
|
|
<dimen name="quick_camera_shutter_ring_size">52dp</dimen>
|
|
|
|
<dimen name="transfer_controls_expanded_width">150dp</dimen>
|
|
<dimen name="transfer_controls_contracted_width">70dp</dimen>
|
|
<dimen name="conversation_list_fragment_archive_padding">16dp</dimen>
|
|
<dimen name="contact_selection_actions_tap_area">10dp</dimen>
|
|
|
|
<!-- RedPhone -->
|
|
|
|
<!-- Height of the main row of in-call buttons. -->
|
|
|
|
<!-- Padding at the left and right edges of the incall_touch_ui button
|
|
cluster. This padding is necessary because we can't allow the
|
|
buttons to be very close to the edges of the screen, due to the
|
|
risk of false touches (from your finger wrapping around while
|
|
holding the phone, *before* moving it up to your face and having
|
|
the prox sensor kick in.) -->
|
|
|
|
<dimen name="onboarding_title_size">34sp</dimen>
|
|
<dimen name="onboarding_subtitle_size">20sp</dimen>
|
|
|
|
<dimen name="scribble_stroke_size">2dp</dimen>
|
|
|
|
<dimen name="floating_action_button_margin">16dp</dimen>
|
|
|
|
<dimen name="alertview_small_icon_size">14dp</dimen>
|
|
|
|
</resources>
|