diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-11-19 02:19:31 +0000 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-11-19 02:20:34 +0000 |
commit | 50d4e62972f51be99a00aeae38aab9ea4dd065f3 (patch) | |
tree | 78e42c580240d002f96b20bd5ea7a3a916d0c18f /res | |
parent | cdb1e61ac246649e6bb6049e969ff1414e13e650 (diff) | |
download | packages_apps_trebuchet-50d4e62972f51be99a00aeae38aab9ea4dd065f3.zip packages_apps_trebuchet-50d4e62972f51be99a00aeae38aab9ea4dd065f3.tar.gz packages_apps_trebuchet-50d4e62972f51be99a00aeae38aab9ea4dd065f3.tar.bz2 |
Fix post-merge breakage from the new 4.2 stuff
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-sw720dp/hotseat.xml | 8 | ||||
-rw-r--r-- | res/layout-sw720dp/launcher.xml | 3 | ||||
-rw-r--r-- | res/layout-sw720dp/search_bar.xml | 4 | ||||
-rw-r--r-- | res/layout/custom_workspace_cling.xml | 6 | ||||
-rw-r--r-- | res/values-sw720dp/dimens.xml | 3 | ||||
-rw-r--r-- | res/values/dimens.xml | 4 |
6 files changed, 17 insertions, 11 deletions
diff --git a/res/layout-sw720dp/hotseat.xml b/res/layout-sw720dp/hotseat.xml index bcd5b9d..a6f636a 100644 --- a/res/layout-sw720dp/hotseat.xml +++ b/res/layout-sw720dp/hotseat.xml @@ -13,12 +13,12 @@ See the License for the specific language governing permissions and limitations under the License. --> -<com.android.launcher2.Hotseat +<com.cyanogenmod.trebuchet.Hotseat xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + xmlns:launcher="http://schemas.android.com/apk/res/com.cyanogenmod.trebuchet" launcher:cellCountX="@integer/hotseat_cell_count" launcher:cellCountY="1"> - <com.android.launcher2.CellLayout + <com.cyanogenmod.trebuchet.CellLayout android:id="@+id/layout" android:layout_width="wrap_content" android:layout_height="match_parent" @@ -33,4 +33,4 @@ launcher:widthGap="@dimen/hotseat_width_gap" launcher:heightGap="@dimen/hotseat_height_gap" launcher:maxGap="@dimen/hotseat_width_gap" /> -</com.android.launcher2.Hotseat> +</com.cyanogenmod.trebuchet.Hotseat> diff --git a/res/layout-sw720dp/launcher.xml b/res/layout-sw720dp/launcher.xml index 2397612..fa946e0 100644 --- a/res/layout-sw720dp/launcher.xml +++ b/res/layout-sw720dp/launcher.xml @@ -16,7 +16,7 @@ <com.cyanogenmod.trebuchet.DragLayer xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + xmlns:launcher="http://schemas.android.com/apk/res/com.cyanogenmod.trebuchet" android:id="@+id/drag_layer" android:background="@drawable/workspace_bg" @@ -49,7 +49,6 @@ android:paddingRight="@dimen/workspace_right_padding" android:paddingTop="@dimen/workspace_top_padding" android:paddingBottom="@dimen/workspace_bottom_padding" - launcher:defaultScreen="2" launcher:cellCountX="@integer/cell_count_x" launcher:cellCountY="@integer/cell_count_y" launcher:pageSpacing="@dimen/workspace_page_spacing" diff --git a/res/layout-sw720dp/search_bar.xml b/res/layout-sw720dp/search_bar.xml index ba0ff38..e979eac 100644 --- a/res/layout-sw720dp/search_bar.xml +++ b/res/layout-sw720dp/search_bar.xml @@ -15,7 +15,7 @@ --> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + xmlns:launcher="http://schemas.android.com/apk/res/com.cyanogenmod.trebuchet" style="@style/SearchDropTargetBar" android:layout_width="match_parent" android:layout_height="@dimen/search_bar_height" @@ -43,7 +43,7 @@ android:layout_height="match_parent" android:src="@drawable/ic_home_search_normal_holo" android:adjustViewBounds="true" /> - </com.android.launcher2.HolographicLinearLayout> + </com.cyanogenmod.trebuchet.HolographicLinearLayout> <!-- Voice search icon --> <com.cyanogenmod.trebuchet.HolographicLinearLayout diff --git a/res/layout/custom_workspace_cling.xml b/res/layout/custom_workspace_cling.xml index 0fdb575..8072343 100644 --- a/res/layout/custom_workspace_cling.xml +++ b/res/layout/custom_workspace_cling.xml @@ -14,9 +14,9 @@ limitations under the License. --> <!-- dummy layout, to be replaced in overlays --> -<com.android.launcher2.Cling +<com.cyanogenmod.trebuchet.Cling xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + xmlns:launcher="http://schemas.android.com/apk/res/com.cyanogenmod.trebuchet" android:layout_width="match_parent" android:layout_height="match_parent" launcher:drawIdentifier="workspace_custom"> @@ -29,4 +29,4 @@ android:gravity="left" android:layout_gravity="bottom|left" /> -</com.android.launcher2.Cling> +</com.cyanogenmod.trebuchet.Cling> diff --git a/res/values-sw720dp/dimens.xml b/res/values-sw720dp/dimens.xml index 439709a..80d4b3b 100644 --- a/res/values-sw720dp/dimens.xml +++ b/res/values-sw720dp/dimens.xml @@ -49,6 +49,9 @@ <integer name="apps_customize_maxCellCountY">-1</integer> <dimen name="all_apps_button_vertical_padding">4dip</dimen> + <!-- roughly a status bar (for determining how many rows of icons are in home) --> + <dimen name="status_bar_height">48dip</dimen> + <!-- dimensions for the wallpaper picker wallpaper thumbnail width --> <dimen name="wallpaper_chooser_grid_width">196dp</dimen> <dimen name="wallpaper_chooser_grid_height">140dp</dimen> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 2afcdef..eb4e2cd 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -91,6 +91,10 @@ <!-- Drag padding to add to the bottom of drop targets --> <dimen name="drop_target_drag_padding">14dp</dimen> + <!-- roughly a status bar (for vertically centering the all apps + home icon in landscape) --> + <dimen name="status_bar_height">25dip</dimen> + <!-- Dragging --> <!-- the area at the edge of the screen that makes the workspace go left or right while you're dragging. --> |