diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-11-19 02:23:15 +0000 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-11-19 02:23:15 +0000 |
commit | be62d494e9e55093ba178df8a3b580339ee3ab7a (patch) | |
tree | 78e42c580240d002f96b20bd5ea7a3a916d0c18f /res/values | |
parent | f9b5a4d932742d41891d5ad814441a6b09f83395 (diff) | |
parent | 50d4e62972f51be99a00aeae38aab9ea4dd065f3 (diff) | |
download | packages_apps_trebuchet-be62d494e9e55093ba178df8a3b580339ee3ab7a.zip packages_apps_trebuchet-be62d494e9e55093ba178df8a3b580339ee3ab7a.tar.gz packages_apps_trebuchet-be62d494e9e55093ba178df8a3b580339ee3ab7a.tar.bz2 |
Merge commit 'mr1-rebase' into mr1-staging
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/config.xml | 16 | ||||
-rw-r--r-- | res/values/dimens.xml | 5 | ||||
-rw-r--r-- | res/values/strings.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 11 |
4 files changed, 19 insertions, 15 deletions
diff --git a/res/values/config.xml b/res/values/config.xml index 5bbaec3..0e67306 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -1,5 +1,4 @@ <resources> - <bool name="config_hardwareAccelerated">true</bool> <bool name="config_largeHeap">false</bool> <bool name="is_large_screen">false</bool> <bool name="allow_rotation">false</bool> @@ -78,15 +77,16 @@ <integer name="folder_max_count_y">4</integer> <integer name="folder_max_num_items">16</integer> - <!-- Workspace grid size --> - <integer name="config_maxWorkspaceRows">7</integer> - <integer name="config_maxWorkspaceColumns">7</integer> - - <!-- Allow tablets to set grid size in settings, false disables --> - <bool name="config_workspaceTabletGrid">false</bool> - <integer name="cell_count_x">4</integer> <integer name="cell_count_y">4</integer> + + <!-- Whether or not to use custom clings if a custom workspace layout is passed in --> + <bool name="config_useCustomClings">false</bool> + +<!-- Hotseat --> + <bool name="hotseat_transpose_layout_with_orientation">true</bool> <integer name="hotseat_cell_count">5</integer> <integer name="hotseat_all_apps_index">2</integer> + <!-- must be between 0 and 100 --> + <integer name="hotseat_item_scale_percentage">100</integer> </resources> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index ecc858a..eb4e2cd 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -22,6 +22,10 @@ <dimen name="cling_text_block_offset_x">0dp</dimen> <dimen name="cling_text_block_offset_y">0dp</dimen> <dimen name="reveal_radius">48dp</dimen> + <!-- entries for custom clings, will be set in overlays --> + <add-resource type="dimen" name="custom_cling_margin_top" /> + <add-resource type="dimen" name="custom_cling_margin_right" /> + <add-resource type="dimen" name="custom_cling_margin_left" /> <!-- Workspace --> <!-- qsb_bar_height_inset represents qsb_bar_height minus the padding @@ -125,6 +129,7 @@ <dimen name="folder_name_padding">10dp</dimen> <dimen name="folder_width_gap">0dp</dimen> <dimen name="folder_height_gap">0dp</dimen> + <dimen name="folder_padding">0dp</dimen> <!-- CellLayout padding --> <dimen name="cell_layout_left_padding_port">0dp</dimen> diff --git a/res/values/strings.xml b/res/values/strings.xml index a866a0e..9e8d6f8 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -261,6 +261,8 @@ s --> <string name="folder_cling_create_folder">To make a new folder on your Home screen, stack one app on top of another.</string> <!-- The text on the button to dismiss a cling [CHAR_LIMIT=none] --> <string name="cling_dismiss">OK</string> + <!-- Error message on dummy custom cling layout [DO NOT TRANSLATE] --> + <string name="dummy_custom_cling_error_message">Error: custom workspace layout passed in but custom cling was not overwritten</string> <add-resource type="string" name="default_folder_name" /> <!-- Folder accessibility --> diff --git a/res/values/styles.xml b/res/values/styles.xml index ee91d73..c3fe7ef 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -18,8 +18,7 @@ --> <resources> - <style name="Theme.WallpaperPicker"> - <item name="android:screenOrientation">nosensor</item> + <style name="Theme.WallpaperPicker" parent="@android:style/Theme.Holo.NoActionBar"> </style> <style name="Theme" parent="@android:style/Theme.Holo.Wallpaper.NoTitleBar"> @@ -47,6 +46,8 @@ <item name="android:shadowRadius">2.0</item> </style> <style name="ClingText"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> <item name="android:textSize">15sp</item> <item name="android:textColor">#FFFFFF</item> <item name="android:shadowColor">#000000</item> @@ -123,17 +124,13 @@ <item name="android:orientation">horizontal</item> <item name="android:layout_width">match_parent</item> <item name="android:layout_height">match_parent</item> + <item name="android:layout_gravity">bottom|center_horizontal</item> </style> <style name="SearchButton"> <item name="android:layout_gravity">center_vertical</item> <item name="android:paddingTop">@dimen/toolbar_button_vertical_padding</item> <item name="android:paddingBottom">@dimen/toolbar_button_vertical_padding</item> </style> - <style name="SearchButtonDivider"> - <item name="android:layout_width">wrap_content</item> - <item name="android:layout_height">match_parent</item> - <item name="android:layout_gravity">center_vertical</item> - </style> <style name="DropTargetButtonContainer"> <item name="android:layout_width">0dp</item> <item name="android:layout_height">match_parent</item> |