Clean up the workspace layout so it makes sense in landscape.
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
<com.android.launcher2.HandleView
|
||||
android:id="@+id/all_apps_button"
|
||||
android:layout_width="@dimen/button_bar_height"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|center_vertical"
|
||||
|
||||
android:focusable="true"
|
||||
@@ -95,8 +95,9 @@
|
||||
|
||||
<com.android.launcher2.DeleteZone
|
||||
android:id="@+id/delete_zone"
|
||||
android:layout_width="49dip"
|
||||
android:layout_width="@dimen/button_bar_height"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="right|center_vertical"
|
||||
|
||||
android:scaleType="center"
|
||||
android:src="@drawable/delete_zone_selector"
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
|
||||
launcher:cellWidth="@dimen/workspace_cell_width"
|
||||
launcher:cellHeight="@dimen/workspace_cell_height"
|
||||
launcher:longAxisStartPadding="0dip"
|
||||
launcher:longAxisEndPadding="55dip"
|
||||
launcher:longAxisStartPadding="@dimen/button_bar_height"
|
||||
launcher:longAxisEndPadding="@dimen/button_bar_height"
|
||||
launcher:shortAxisStartPadding="0dip"
|
||||
launcher:shortAxisEndPadding="0dip"
|
||||
launcher:shortAxisCells="4"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
launcher:cellWidth="@dimen/workspace_cell_width"
|
||||
launcher:cellHeight="@dimen/workspace_cell_height"
|
||||
launcher:longAxisStartPadding="0dip"
|
||||
launcher:longAxisEndPadding="55dip"
|
||||
launcher:longAxisEndPadding="@dimen/button_bar_height"
|
||||
launcher:shortAxisStartPadding="0dip"
|
||||
launcher:shortAxisEndPadding="0dip"
|
||||
launcher:shortAxisCells="4"
|
||||
|
||||
@@ -19,4 +19,5 @@
|
||||
<dimen name="workspace_cell_height">74dip</dimen>
|
||||
<dimen name="gesture_thumbnail_inset">8dip</dimen>
|
||||
<dimen name="gesture_thumbnail_size">64dip</dimen>
|
||||
<dimen name="button_bar_height">62dip</dimen>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user