diff options
author | David van Tonder <david.vantonder@gmail.com> | 2013-04-27 10:29:58 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-04-27 10:29:58 -0700 |
commit | 3ee9e4401dfcde5d57f55acc3f0c7aad02749ac9 (patch) | |
tree | aaa8136388463120b29e7369f948fd16afc94129 /res/values | |
parent | f3127e6d01f28fb75ae816139dbf372883bccdec (diff) | |
parent | 5012b5f63a18eab517a8c57d079f5aeece4886d7 (diff) | |
download | packages_apps_settings-3ee9e4401dfcde5d57f55acc3f0c7aad02749ac9.zip packages_apps_settings-3ee9e4401dfcde5d57f55acc3f0c7aad02749ac9.tar.gz packages_apps_settings-3ee9e4401dfcde5d57f55acc3f0c7aad02749ac9.tar.bz2 |
Merge "Settings: Refactor dimens" into cm-10.1
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/cm_dimens.xml | 39 | ||||
-rw-r--r-- | res/values/dimens.xml | 27 |
2 files changed, 39 insertions, 27 deletions
diff --git a/res/values/cm_dimens.xml b/res/values/cm_dimens.xml new file mode 100644 index 0000000..fcbb4ee --- /dev/null +++ b/res/values/cm_dimens.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012-2013 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> + <!-- Light settings dialog --> + <dimen name="dialog_light_settings_width">400dip</dimen> + + <!-- height of a normal list item in edit playlist mode --> + <dimen name="normal_height">64dip</dimen> + <!-- height of an expanded list item in edit playlist mode --> + <dimen name="expanded_height">128dip</dimen> + + <!-- Default distance beyond which snaps to the matching target --> + <dimen name="navbar_search_snap_margin">40dip</dimen> + <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value --> + <dimen name="navbar_search_outerring_radius">170dp</dimen> + <!-- Diameter of outer shape drawable shown in navbar search--> + <dimen name="navbar_search_outerring_diameter">340dp</dimen> + <!-- Height of search panel including navigation bar height --> + <dimen name="navbar_search_panel_height">230dip</dimen> + + <dimen name="auto_brightness_preview_text_size">8dip</dimen> + <dimen name="auto_brightness_preview_stroke_width">1dip</dimen> + <dimen name="auto_brightness_preview_marker_size">3dip</dimen> + <dimen name="auto_brightness_preview_grid_margin">3dip</dimen> + <dimen name="auto_brightness_dialog_more_button_size">48dp</dimen> +</resources> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 008953e..b445194 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -61,31 +61,4 @@ <dimen name="keyguard_appwidget_picker_margin_left">6dip</dimen> <dimen name="keyguard_appwidget_picker_margin_right">6dip</dimen> <integer name="keyguard_appwidget_picker_cols">1</integer> - - <!-- **** CYANOGENMOD ADDITIONS START **** --> - - <!-- Light settings dialog --> - <dimen name="dialog_light_settings_width">400dip</dimen> - - <!-- height of a normal list item in edit playlist mode --> - <dimen name="normal_height">64dip</dimen> - <!-- height of an expanded list item in edit playlist mode --> - <dimen name="expanded_height">128dip</dimen> - - <!-- Default distance beyond which snaps to the matching target --> - <dimen name="navbar_search_snap_margin">40dip</dimen> - <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value --> - <dimen name="navbar_search_outerring_radius">170dp</dimen> - <!-- Diameter of outer shape drawable shown in navbar search--> - <dimen name="navbar_search_outerring_diameter">340dp</dimen> - <!-- Height of search panel including navigation bar height --> - <dimen name="navbar_search_panel_height">230dip</dimen> - - <dimen name="auto_brightness_preview_text_size">8dip</dimen> - <dimen name="auto_brightness_preview_stroke_width">1dip</dimen> - <dimen name="auto_brightness_preview_marker_size">3dip</dimen> - <dimen name="auto_brightness_preview_grid_margin">3dip</dimen> - <dimen name="auto_brightness_dialog_more_button_size">48dp</dimen> - - <!-- **** CYANOGENMOD ADDITIONS END **** --> </resources> |