summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/theme/common/res/values/dimens.xml
blob: 88b8a0423093212b7f89c09df38d889402073f6b (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
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2012 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="call_log_action_icon_margin_start">16dp</dimen>
  <dimen name="call_log_action_icon_dimen">24dp</dimen>
  <dimen name="call_log_action_horizontal_padding">24dp</dimen>

  <dimen name="call_log_primary_text_size">16sp</dimen>
  <dimen name="call_log_detail_text_size">12sp</dimen>
  <dimen name="call_log_day_group_heading_size">14sp</dimen>
  <dimen name="call_log_voicemail_transcription_text_size">14sp</dimen>
  <!-- Height of the call log actions section for each call log entry -->
  <dimen name="call_log_action_height">48dp</dimen>
  <dimen name="call_log_day_group_padding_top">15dp</dimen>
  <dimen name="call_log_day_group_padding_bottom">9dp</dimen>

  <!-- Height of the actionBar - this is 8dps bigger than the platform standard to give more
  room to the search box-->
  <dimen name="action_bar_height">56dp</dimen>
  <dimen name="action_bar_height_large">64dp</dimen>
  <dimen name="action_bar_elevation">3dp</dimen>
  <dimen name="tab_height">48dp</dimen>
  <!-- actionbar height + tab height -->
  <dimen name="actionbar_contentInsetStart">72dp</dimen>

  <dimen name="call_log_icon_margin">2dp</dimen>

  <item name="alpha_enabled" format="float" type="dimen">1.0</item>
  <item name="alpha_hiden" format="float" type="dimen">0.54</item>

  <!-- Minimum height required for all row elements in Dialer lists. -->
  <dimen name="dialer_list_item_min_height">56dp</dimen>

  <!-- Minimum a11y height and width required for all touch targets. -->
  <dimen name="dialer_touch_target_min_size">48dp</dimen>

  <!-- Minimum width for material compliant buttons. -->
  <dimen name="dialer_button_min_width">72dp</dimen>

  <!-- Padding to be applied to the bottom of lists to make space for the floating action
     button -->
  <dimen name="floating_action_button_list_bottom_padding">88dp</dimen>
</resources>