summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
blob: 22c0dc7834bad0b8c58c5efdaa76f591379ea9da (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2016 Cyanogen, Inc.
     Copyright (C) 2016 The CyanogenMod Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
 -->

<resources>

    <!-- Theme fragment width should account for the fact that there will be cards which expand -->
    <dimen name="theme_fragment_width">320dp</dimen>
    <dimen name="theme_preview_width">272dp</dimen>
    <!-- Should be same as theme_preview_width less the 9patch padding -->
    <dimen name="wallpaper_preview_width">264dp</dimen>
    <dimen name="theme_preview_height">352dp</dimen>

    <dimen name="component_selection_cell_width">80dp</dimen>
    <dimen name="component_selection_cell_height">112dp</dimen>
    <dimen name="component_selection_cell_height_boot_anim">203dp</dimen>
    <dimen name="component_selection_cell_height_sounds">120dp</dimen>
    <dimen name="component_selection_content_width">48dp</dimen>
    <dimen name="component_selection_content_height">@dimen/component_selection_content_width</dimen>
    <dimen name="component_selection_bootani_content_width">80dp</dimen>
    <dimen name="component_selection_bootani_content_height">142dp</dimen>
    <dimen name="component_margin_top">12dp</dimen>

    <dimen name="card_padding_top">4dp</dimen>
    <dimen name="card_padding_bottom">24dp</dimen>
    <dimen name="card_padding_left_right">28dp</dimen>
    <dimen name="collapsed_font_card_margin_top">50dp</dimen>
    <dimen name="collapsed_icon_card_margin_top">109dp</dimen>
    <dimen name="collapsed_navbar_card_margin_top">24dp</dimen>
    <dimen name="expanded_card_margin_top">16dp</dimen>
    <dimen name="additional_cards_margin_top">-44dp</dimen>
    <dimen name="wallpaper_card_height">168dp</dimen>
    <dimen name="title_card_height">56dp</dimen>

    <!-- This is a hack. The viewpager needs to expand horizontally
     when a theme is going to be mix'n'matched in order to fit the larger padded theme cards.
     We do this by removing the padding during expand time. If you instead try to change
     the width directly then it will affect the left/right views in the viewpager as well, which
     is undesireable because the wallpaper is not to be stretched.

     By using padding we can only adjust the current view and leave the views to the left/right
     alone. The value of this padding should makeup
     for the difference in width of the expanded cards-->
    <dimen name="collapsed_theme_page_padding">24dp</dimen>

    <!-- Distance from top of screen to the collapsed theme preview -->
    <dimen name="collapsed_theme_page_padding_top">43dp</dimen>

    <dimen name="component_divider_height">32dp</dimen>
    <dimen name="component_divider_height_bootani">48dp</dimen>
    <dimen name="component_divider_padding_top">20dp</dimen>
    <dimen name="component_divider_padding_top_bootani">64dp</dimen>

    <dimen name="status_bar_component_icon_width">20dp</dimen>
    <dimen name="status_bar_component_icon_height">20dp</dimen>
    <dimen name="status_bar_component_icon_margin">2dp</dimen>
    <dimen name="icon_component_margin">4dp</dimen>

    <dimen name="navigation_button_width">80dp</dimen>

    <dimen name="content_offset_padding">10dp</dimen>
    <dimen name="apply_progress_padding">10dp</dimen>
    <dimen name="apply_progress_height">24dp</dimen>

    <!-- Height of the bottom navigation / system bar. -->
    <dimen name="navigation_bar_height">48dp</dimen>
    <!-- Height of the status bar -->
    <dimen name="status_bar_height">25dp</dimen>
    <!-- Height of notification icons in the status bar -->
    <dimen name="status_bar_icon_size">24dp</dimen>
    <dimen name="expand_collapse_child_offset">12dp</dimen>

    <dimen name="shop_themes_margin_bottom">24dp</dimen>

    <!-- Per App Theming dimensions -->
    <!-- Floating window -->
    <dimen name="floating_window_icon">74dp</dimen>
    <dimen name="floating_window_button_height">70dp</dimen>
    <dimen name="floating_window_delete_box_height">60dp</dimen>
    <dimen name="floating_window_delete_box_width">360dp</dimen>
    <!-- Theme list -->
    <dimen name="theme_list_width">204dp</dimen>
    <dimen name="theme_list_min_height">160dp</dimen>
    <dimen name="theme_list_max_height">360dp</dimen>
    <dimen name="theme_list_side_margin">16dp</dimen>
    <!-- floating window dimens -->
    <dimen name="floating_window_margin_vertical">5dp</dimen>
    <dimen name="floating_window_margin_horizontal">2dp</dimen>
    <dimen name="floating_window_close_animation_distance">200dp</dimen>
    <dimen name="floating_window_drag_delta">2dp</dimen>
    <dimen name="floating_window_starting_point_y">50dp</dimen>

    <!-- Animated Lock Screen badge dimensions -->
    <dimen name="animated_lock_screen_badge_width">48dp</dimen>
    <dimen name="animated_lock_screen_badge_height">16dp</dimen>
    <dimen name="animated_lock_screen_text_height">12dp</dimen>
    <dimen name="animated_lock_screen_text_width">42dp</dimen>
    <dimen name="animated_lock_screen_text_margin_top">2dp</dimen>
    <dimen name="animated_lock_screen_text_margin_right">3dp</dimen>
    <dimen name="animated_lock_screen_text_margin_bottom">3dp</dimen>
    <dimen name="animated_lock_screen_text_margin_left">3dp</dimen>

    <!-- Save and apply customized changes FAB dimensions -->
    <dimen name="save_apply_fab_width">72dp</dimen>
    <dimen name="save_apply_fab_height">72dp</dimen>
</resources>