summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/speeddial/res/values/dimens.xml
blob: 624c60dd3699d5ddcac9fc69ed38727cbae2e002 (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
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2017 The Android Open Source 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="scrollview_max_height">280dp</dimen>
  <dimen name="speed_dial_context_menu_width">200dp</dimen>
  <dimen name="context_menu_elevation">4dp</dimen>
  <dimen name="speed_dial_recyclerview_horizontal_padding">16dp</dimen>

  <!--
   ~ This value expands the context menu to allow space for more text w/o being flush with the edge
   ~ of the screen. Calculated with 2 * (speed_dial_recyclerview_horizontal_padding - 2dp)
   -->
  <dimen name="speed_dial_context_menu_extra_width">28dp</dimen>
  <!--
   ~ This value centers the context menu with the favorite item layout.
   ~ Calculated with -1 * (speed_dial_context_menu_extra_width * 1.75)
   -->
  <dimen name="speed_dial_context_menu_x_offset">-24dp</dimen>
  <dimen name="speed_dial_context_menu_corner_radius">16dp</dimen>
  <dimen name="disambig_dialog_width">280dp</dimen>
  <dimen name="expanded_search_bar_height">64dp</dimen>
  <dimen name="expanded_search_bar_height_minus">-64dp</dimen>
</resources>