diff options
Diffstat (limited to 'res/values/dimens.xml')
-rw-r--r-- | res/values/dimens.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml new file mode 100644 index 000000000..2c8d59662 --- /dev/null +++ b/res/values/dimens.xml @@ -0,0 +1,53 @@ +<?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> + + <!-- Height of edit text in dialpad fragment --> + <dimen name="dialpad_horizontal_margin">0dip</dimen> + <dimen name="dialpad_vertical_margin">2dip</dimen> + <dimen name="dialpad_digits_text_size">35sp</dimen> + + <!-- Just used in landscape mode --> + <dimen name="dialpad_digits_height">0px</dimen> + <dimen name="dialpad_digits_margin_bottom">0px</dimen> + <dimen name="dialpad_center_margin">3dp</dimen> + <dimen name="dialpad_button_margin">2dp</dimen> + <!-- Match call_button_height to Phone's dimens/in_call_end_button_height --> + <dimen name="call_button_height">74dp</dimen> + + <!-- Call Log --> + <dimen name="call_log_call_action_size">32dip</dimen> + <dimen name="call_log_call_action_width">48dip</dimen> + <dimen name="call_log_icon_margin">4dip</dimen> + <dimen name="call_log_inner_margin">8dip</dimen> + <dimen name="call_log_outer_margin">16dip</dimen> + <dimen name="call_log_indent_margin">24dip</dimen> + <dimen name="call_log_list_item_height">56dip</dimen> + <dimen name="call_log_list_contact_photo_size">64dip</dimen> + <dimen name="call_detail_contact_name_margin">24dip</dimen> + <dimen name="call_detail_button_spacing">2dip</dimen> + + <!-- Layout weight values for dialpad screen. These layouts will be used in one + LinearLayout (dialpad_fragment.xml), configuring dialpad screen's vertical + ratio. --> + <integer name="dialpad_layout_weight_digits">20</integer> + <integer name="dialpad_layout_weight_dialpad">65</integer> + <integer name="dialpad_layout_weight_additional_buttons">15</integer> + + <!-- Min with of fake menu buttons, which should be same as ActionBar's one --> + <dimen name="fake_menu_button_min_width">56dip</dimen> +</resources> |