summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
blob: 346c22f89ecc0969bfc881f379a222cc96b458eb (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
<?xml version="1.0" encoding="utf-8"?>
<!--
 * Copyright (C) 2014 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>
    <dimen name="app_icon_size">24dp</dimen>
    <dimen name="button_bar_height">62dip</dimen>
    <dimen name="sliding_up_panel_parallax_distance">150dp</dimen>
    <dimen name="item_browse_height">260dp</dimen>
    <dimen name="expanded_preview_margin">24dp</dimen>
    <dimen name="navigation_button_width">80dp</dimen>
    <dimen name="theme_preview_width">264dp</dimen>
    <dimen name="theme_preview_height">300dp</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">24dp</dimen>

    <dimen name="card_padding_top">0dp</dimen>
    <dimen name="card_padding_bottom">24dp</dimen>
    <dimen name="card_padding_left_right">24dp</dimen>
    <dimen name="collapsed_icon_card_margin_top">40dp</dimen>
    <dimen name="expanded_card_margin_top">24dp</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">119dp</dimen>

    <dimen name="component_divider_height">32dp</dimen>
    <dimen name="component_divider_height_bootani">48dp</dimen>
    <dimen name="component_divider_margin_top">32dp</dimen>
    <dimen name="component_divider_margin_top_bootani">72dp</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="content_offset_padding">10dp</dimen>
    <dimen name="apply_progress_padding">10dp</dimen>
</resources>