aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/values/dimens.xml
blob: 0c6ef41fbab0cc105cb6a93cdb321a9d04593a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<resources>
    <!-- Default screen margins, per the Android Design guidelines. -->
    <dimen name="activity_horizontal_margin">8dp</dimen>
    <dimen name="activity_vertical_margin">8dp</dimen>
    <dimen name="card_padding_regular">16dp</dimen>
    <dimen name="card_padding_list">8dp</dimen> <!-- card_padding_regular minus list_padding -->
    <dimen name="list_padding">8dp</dimen>
    <dimen name="image_button_padding">12dp</dimen>
    <dimen name="key_action_width">48dp</dimen>  <!-- icon width (24dp) + 2 * image button padding -->
    <dimen name="audio_player_width">224dp</dimen>
    <dimen name="avatar_item_distance">16dp</dimen>

    <dimen name="media_preview_size">80dp</dimen>
    <dimen name="media_size">56dp</dimen> <!-- ideally not larger than avatar_on_details_screen -->
    <dimen name="browser_media_size">96dp</dimen>
    <dimen name="toolbar_elevation">4dp</dimen>

    <dimen name="publish_avatar_top_margin">8dp</dimen>
    <dimen name="publish_avatar_size">96dp</dimen>
    <dimen name="avatar_on_details_screen_size">56dp</dimen>

    <dimen name="input_label_vertical_spacing">4dp</dimen>
    <dimen name="input_label_horizontal_spacing">4dp</dimen>

    <!-- scanner -->
    <dimen name="scan_laser_width">4dp</dimen>
    <dimen name="scan_dot_size">8dp</dimen>

    <dimen name="background_image_opacity">0.12</dimen>
    <dimen name="rounded_image_border">5dp</dimen>
</resources>