mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
ea374735e1
Previously, we were always rendering images as squares. Instead of doing that, we now render them as close to true-to-size as possible (within reasonable min/max width/height boundaries).
60 lines
2.8 KiB
XML
60 lines
2.8 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>
|
|
|
|
<dimen name="message_bubble_corner_radius">4dp</dimen>
|
|
<dimen name="message_bubble_shadow_distance">1.5dp</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">250dp</dimen>
|
|
<dimen name="media_bubble_min_height">100dp</dimen>
|
|
<dimen name="media_bubble_max_height">320dp</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 -->
|
|
<dimen name="incoming_widget_outer_radius">135dip</dimen>
|
|
<dimen name="incoming_widget_horizontal_offset">0dip</dimen>
|
|
<dimen name="incoming_widget_vertical_offset">20dip</dimen>
|
|
<dimen name="incoming_widget_hit_radius">60dip</dimen>
|
|
<dimen name="incoming_widget_snap_margin">20dip</dimen>
|
|
|
|
<!-- 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">3dp</dimen>
|
|
</resources>
|