summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAndrew Flynn <flynn@google.com>2012-05-08 11:22:15 -0700
committerAndrew Flynn <flynn@google.com>2012-05-08 11:29:33 -0700
commitde38e42fe89fd7490221427908cd97c51da21b44 (patch)
treef48241892e6a964e7432afbdad256ec96577ce97 /res
parentbec653ea44429bbe85fb334a8c8ba6520e3fa209 (diff)
downloadpackages_apps_trebuchet-de38e42fe89fd7490221427908cd97c51da21b44.zip
packages_apps_trebuchet-de38e42fe89fd7490221427908cd97c51da21b44.tar.gz
packages_apps_trebuchet-de38e42fe89fd7490221427908cd97c51da21b44.tar.bz2
7" launcher changes.
- Shrink icons in workspace (keeping hotseat size the same) - Increase width of QSB in landscape - Move QSB voice button to bottom in landscape Change-Id: I2c0bad4229484f516005592f2c14da1a4939acca
Diffstat (limited to 'res')
-rw-r--r--res/drawable-sw600dp-hdpi/ic_allapps.pngbin8830 -> 6163 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_allapps_pressed.pngbin9105 -> 8846 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_allapps.pngbin5402 -> 4016 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_allapps_pressed.pngbin6027 -> 5384 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_allapps.pngbin12991 -> 9724 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_allapps_pressed.pngbin13428 -> 14361 bytes
-rw-r--r--res/layout-land/search_bar.xml15
-rw-r--r--res/values-sw600dp-land/dimens.xml16
-rw-r--r--res/values-sw600dp-port/dimens.xml9
-rw-r--r--res/values-sw600dp/dimens.xml25
-rw-r--r--res/values-sw720dp/dimens.xml4
-rw-r--r--res/values/dimens.xml2
12 files changed, 25 insertions, 46 deletions
diff --git a/res/drawable-sw600dp-hdpi/ic_allapps.png b/res/drawable-sw600dp-hdpi/ic_allapps.png
index 4353a45..09a516e 100644
--- a/res/drawable-sw600dp-hdpi/ic_allapps.png
+++ b/res/drawable-sw600dp-hdpi/ic_allapps.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_allapps_pressed.png b/res/drawable-sw600dp-hdpi/ic_allapps_pressed.png
index bb18919..71bead3 100644
--- a/res/drawable-sw600dp-hdpi/ic_allapps_pressed.png
+++ b/res/drawable-sw600dp-hdpi/ic_allapps_pressed.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_allapps.png b/res/drawable-sw600dp-mdpi/ic_allapps.png
index f85c895..78177c6 100644
--- a/res/drawable-sw600dp-mdpi/ic_allapps.png
+++ b/res/drawable-sw600dp-mdpi/ic_allapps.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_allapps_pressed.png b/res/drawable-sw600dp-mdpi/ic_allapps_pressed.png
index 8fb7144..bb484d5 100644
--- a/res/drawable-sw600dp-mdpi/ic_allapps_pressed.png
+++ b/res/drawable-sw600dp-mdpi/ic_allapps_pressed.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_allapps.png b/res/drawable-sw600dp-xhdpi/ic_allapps.png
index 5da19c8..ed1bc8d 100644
--- a/res/drawable-sw600dp-xhdpi/ic_allapps.png
+++ b/res/drawable-sw600dp-xhdpi/ic_allapps.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_allapps_pressed.png b/res/drawable-sw600dp-xhdpi/ic_allapps_pressed.png
index 59ac2bc..b0ff084 100644
--- a/res/drawable-sw600dp-xhdpi/ic_allapps_pressed.png
+++ b/res/drawable-sw600dp-xhdpi/ic_allapps_pressed.png
Binary files differ
diff --git a/res/layout-land/search_bar.xml b/res/layout-land/search_bar.xml
index 3352fbb..88b7bbf 100644
--- a/res/layout-land/search_bar.xml
+++ b/res/layout-land/search_bar.xml
@@ -13,9 +13,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<LinearLayout
+<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
- style="@style/SearchDropTargetBar"
android:layout_width="@dimen/qsb_bar_height"
android:layout_height="match_parent">
<!-- Global search icon -->
@@ -24,6 +23,7 @@
android:id="@+id/search_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
android:src="@drawable/ic_home_search_normal_holo"
android:adjustViewBounds="true"
android:onClick="onClickSearchButton"
@@ -31,24 +31,17 @@
android:clickable="true"
android:contentDescription="@string/accessibility_search_button" />
- <ImageView
- style="@style/SearchButtonDivider"
- android:id="@+id/search_divider"
- android:src="@drawable/divider_launcher_holo"
- android:onClick="onClickSearchButton"
- android:focusable="false"
- android:clickable="true" />
-
<!-- Voice search icon -->
<com.android.launcher2.HolographicImageView
style="@style/SearchButton"
android:id="@+id/voice_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
android:src="@drawable/ic_home_voice_search_holo"
android:adjustViewBounds="true"
android:onClick="onClickVoiceButton"
android:focusable="true"
android:clickable="true"
android:contentDescription="@string/accessibility_voice_search_button" />
-</LinearLayout>
+</RelativeLayout>
diff --git a/res/values-sw600dp-land/dimens.xml b/res/values-sw600dp-land/dimens.xml
index 3e18417..9c54cf3 100644
--- a/res/values-sw600dp-land/dimens.xml
+++ b/res/values-sw600dp-land/dimens.xml
@@ -17,22 +17,18 @@
<resources>
<dimen name="app_icon_padding_top">0dp</dimen>
<dimen name="app_icon_drawable_padding_land">0dp</dimen>
- <integer name="app_icon_scale_percent">90</integer>
-
-<!-- Hotseat -->
- <dimen name="hotseat_cell_width">75dp</dimen>
- <dimen name="hotseat_cell_height">75dp</dimen>
<dimen name="workspace_icon_text_size">11sp</dimen>
-<!-- Folders -->
- <!-- The size of the image which sits behind the preview of the folder contents -->
- <dimen name="folder_preview_size">70dp</dimen>
- <dimen name="folder_cell_width">86dp</dimen>
- <dimen name="folder_cell_height">86dp</dimen>
+<!-- Hotseat -->
+ <dimen name="button_bar_width_left_padding">14dp</dimen>
+ <dimen name="button_bar_width_right_padding">14dp</dimen>
<!-- AppsCustomize -->
<dimen name="apps_customize_pageLayoutWidthGap">36dp</dimen>
<dimen name="apps_customize_pageLayoutHeightGap">8dp</dimen>
<dimen name="apps_customize_pageLayoutPaddingTop">20dp</dimen>
<dimen name="apps_customize_pageLayoutPaddingBottom">14dp</dimen>
+
+<!-- QSB -->
+ <dimen name="qsb_bar_height">82dp</dimen>
</resources>
diff --git a/res/values-sw600dp-port/dimens.xml b/res/values-sw600dp-port/dimens.xml
index c813725..1a25409 100644
--- a/res/values-sw600dp-port/dimens.xml
+++ b/res/values-sw600dp-port/dimens.xml
@@ -15,9 +15,6 @@
-->
<resources>
-<!-- Workspace -->
- <integer name="app_icon_scale_percent">-1</integer>
-
<!-- AppsCustomize -->
<dimen name="apps_customize_cell_width">96dp</dimen>
<dimen name="apps_customize_cell_height">96dp</dimen>
@@ -26,8 +23,6 @@
<dimen name="apps_customize_pageLayoutPaddingTop">25dp</dimen>
<dimen name="apps_customize_pageLayoutPaddingBottom">10dp</dimen>
-<!-- Hotseat -->
- <dimen name="hotseat_cell_width">75dp</dimen>
- <dimen name="hotseat_cell_height">75dp</dimen>
-
+<!-- QSB -->
+ <dimen name="qsb_bar_height">54dp</dimen>
</resources>
diff --git a/res/values-sw600dp/dimens.xml b/res/values-sw600dp/dimens.xml
index 1b86670..2d02040 100644
--- a/res/values-sw600dp/dimens.xml
+++ b/res/values-sw600dp/dimens.xml
@@ -15,26 +15,27 @@
-->
<resources>
- <dimen name="app_icon_size">72dp</dimen>
- <integer name="app_icon_hotseat_scale_percent">75</integer>
+ <dimen name="app_icon_size">54dp</dimen>
<dimen name="app_icon_drawable_padding">3dp</dimen>
<dimen name="app_icon_padding_top">4dp</dimen>
<!-- Hotseat -->
+ <dimen name="hotseat_cell_width">70dp</dimen>
+ <dimen name="hotseat_cell_height">70dp</dimen>
<dimen name="hotseat_width_gap">-1dp</dimen>
<dimen name="hotseat_height_gap">-1dp</dimen>
<dimen name="button_bar_height">82dip</dimen>
- <dimen name="button_bar_height_bottom_padding">0dp</dimen>
- <dimen name="button_bar_height_top_padding">0dp</dimen>
+ <dimen name="button_bar_height_bottom_padding">10dp</dimen>
+ <dimen name="button_bar_height_top_padding">20dp</dimen>
<dimen name="button_bar_width_left_padding">33dp</dimen>
<dimen name="button_bar_width_right_padding">33dp</dimen>
- <dimen name="button_bar_height_plus_padding">82dp</dimen>
+ <dimen name="button_bar_height_plus_padding">92dp</dimen>
<!-- Folders -->
<!-- The size of the image which sits behind the preview of the folder contents -->
- <dimen name="folder_preview_size">72dp</dimen>
- <dimen name="folder_cell_width">96dp</dimen>
- <dimen name="folder_cell_height">96dp</dimen>
+ <dimen name="folder_preview_size">60dp</dimen>
+ <dimen name="folder_cell_width">84dp</dimen>
+ <dimen name="folder_cell_height">93dp</dimen>
<!-- AppsCustomize -->
<dimen name="apps_customize_cell_width">96dp</dimen>
@@ -47,10 +48,10 @@
<dimen name="apps_customize_widget_cell_height_gap">36dp</dimen>
<!-- Workspace cell size -->
- <dimen name="workspace_cell_width_land">96dp</dimen>
- <dimen name="workspace_cell_width_port">96dp</dimen>
- <dimen name="workspace_cell_height_land">86dp</dimen>
- <dimen name="workspace_cell_height_port">96dp</dimen>
+ <dimen name="workspace_cell_width_land">82dp</dimen>
+ <dimen name="workspace_cell_width_port">82dp</dimen>
+ <dimen name="workspace_cell_height_land">82dp</dimen>
+ <dimen name="workspace_cell_height_port">82dp</dimen>
<dimen name="workspace_width_gap_land">32dp</dimen>
<dimen name="workspace_width_gap_port">0dp</dimen>
<dimen name="workspace_height_gap_land">0dp</dimen>
diff --git a/res/values-sw720dp/dimens.xml b/res/values-sw720dp/dimens.xml
index 04937cd..848c409 100644
--- a/res/values-sw720dp/dimens.xml
+++ b/res/values-sw720dp/dimens.xml
@@ -35,10 +35,6 @@
<dimen name="app_widget_preview_padding_left">0dp</dimen>
<dimen name="app_widget_preview_padding_top">10dp</dimen>
- <!-- Size of icons in workspace -->
- <integer name="app_icon_scale_percent">-1</integer>
- <integer name="app_icon_hotseat_scale_percent">-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) -->
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index d3b9c1e..d5bcb66 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -64,8 +64,6 @@
<dimen name="apps_customize_tab_bar_height">52dp</dimen>
<dimen name="apps_customize_tab_bar_margin_top">0dp</dimen>
<dimen name="app_icon_size">48dp</dimen>
- <integer name="app_icon_scale_percent">-1</integer>
- <integer name="app_icon_hotseat_scale_percent">-1</integer>
<!-- The width can be 72dp because we don't have L/R padding -->
<dimen name="apps_customize_cell_width">74dp</dimen>
<dimen name="apps_customize_cell_height">82dp</dimen>