diff options
author | Romain Guy <romainguy@android.com> | 2009-11-09 19:19:59 -0800 |
---|---|---|
committer | Romain Guy <romainguy@android.com> | 2009-11-09 19:19:59 -0800 |
commit | 8a73c51ee87b6d9b12daba188034889caf7a905b (patch) | |
tree | ba0995e4f1f4df2be49a8081ff2d03ea11509130 /res | |
parent | 1e2efc8a6d355bb6c0fc75261eb819e250ddb8fb (diff) | |
download | packages_apps_trebuchet-8a73c51ee87b6d9b12daba188034889caf7a905b.zip packages_apps_trebuchet-8a73c51ee87b6d9b12daba188034889caf7a905b.tar.gz packages_apps_trebuchet-8a73c51ee87b6d9b12daba188034889caf7a905b.tar.bz2 |
New position indicators and icons for Launcher2.
Change-Id: Id444943a3cc2e9db78733614141cbe2be837fdbf
Diffstat (limited to 'res')
44 files changed, 254 insertions, 6 deletions
diff --git a/res/drawable-hdpi/all_apps_button_focused.png b/res/drawable-hdpi/all_apps_button_focused.png Binary files differnew file mode 100644 index 0000000..5860c70 --- /dev/null +++ b/res/drawable-hdpi/all_apps_button_focused.png diff --git a/res/drawable-hdpi/all_apps_button_normal.png b/res/drawable-hdpi/all_apps_button_normal.png Binary files differindex c29d3d7..3ebdbb4 100644 --- a/res/drawable-hdpi/all_apps_button_normal.png +++ b/res/drawable-hdpi/all_apps_button_normal.png diff --git a/res/drawable-hdpi/all_apps_button_pressed.png b/res/drawable-hdpi/all_apps_button_pressed.png Binary files differindex 4c64d69..b8bb7a8 100644 --- a/res/drawable-hdpi/all_apps_button_pressed.png +++ b/res/drawable-hdpi/all_apps_button_pressed.png diff --git a/res/drawable-hdpi/home_button_focused.png b/res/drawable-hdpi/home_button_focused.png Binary files differindex 392bc66..08b1fcb 100644 --- a/res/drawable-hdpi/home_button_focused.png +++ b/res/drawable-hdpi/home_button_focused.png diff --git a/res/drawable-hdpi/home_button_normal.png b/res/drawable-hdpi/home_button_normal.png Binary files differindex 40fbbfd..4afcce8 100644 --- a/res/drawable-hdpi/home_button_normal.png +++ b/res/drawable-hdpi/home_button_normal.png diff --git a/res/drawable-hdpi/home_button_pressed.png b/res/drawable-hdpi/home_button_pressed.png Binary files differindex 392bc66..aa91732 100644 --- a/res/drawable-hdpi/home_button_pressed.png +++ b/res/drawable-hdpi/home_button_pressed.png diff --git a/res/drawable-hdpi/ic_home_arrows_1_focus.png b/res/drawable-hdpi/ic_home_arrows_1_focus.png Binary files differnew file mode 100644 index 0000000..4574682 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_1_focus.png diff --git a/res/drawable-hdpi/ic_home_arrows_1_focus_right.png b/res/drawable-hdpi/ic_home_arrows_1_focus_right.png Binary files differnew file mode 100644 index 0000000..454afce --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_1_focus_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_1_normal.png b/res/drawable-hdpi/ic_home_arrows_1_normal.png Binary files differnew file mode 100644 index 0000000..88ce15f --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_1_normal.png diff --git a/res/drawable-hdpi/ic_home_arrows_1_normal_right.png b/res/drawable-hdpi/ic_home_arrows_1_normal_right.png Binary files differnew file mode 100644 index 0000000..dd39d9b --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_1_normal_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_1_press.png b/res/drawable-hdpi/ic_home_arrows_1_press.png Binary files differnew file mode 100644 index 0000000..93e0ea5 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_1_press.png diff --git a/res/drawable-hdpi/ic_home_arrows_1_press_right.png b/res/drawable-hdpi/ic_home_arrows_1_press_right.png Binary files differnew file mode 100644 index 0000000..be141bc --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_1_press_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_2_focus.png b/res/drawable-hdpi/ic_home_arrows_2_focus.png Binary files differnew file mode 100644 index 0000000..cbcaf40 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_2_focus.png diff --git a/res/drawable-hdpi/ic_home_arrows_2_focus_right.png b/res/drawable-hdpi/ic_home_arrows_2_focus_right.png Binary files differnew file mode 100644 index 0000000..0f50482 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_2_focus_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_2_normal.png b/res/drawable-hdpi/ic_home_arrows_2_normal.png Binary files differnew file mode 100644 index 0000000..9337c1c --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_2_normal.png diff --git a/res/drawable-hdpi/ic_home_arrows_2_normal_right.png b/res/drawable-hdpi/ic_home_arrows_2_normal_right.png Binary files differnew file mode 100644 index 0000000..646437f --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_2_normal_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_2_press.png b/res/drawable-hdpi/ic_home_arrows_2_press.png Binary files differnew file mode 100644 index 0000000..e9daab2 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_2_press.png diff --git a/res/drawable-hdpi/ic_home_arrows_2_press_right.png b/res/drawable-hdpi/ic_home_arrows_2_press_right.png Binary files differnew file mode 100644 index 0000000..8565fc8 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_2_press_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_3_focus.png b/res/drawable-hdpi/ic_home_arrows_3_focus.png Binary files differnew file mode 100644 index 0000000..45b26bc --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_3_focus.png diff --git a/res/drawable-hdpi/ic_home_arrows_3_focus_right.png b/res/drawable-hdpi/ic_home_arrows_3_focus_right.png Binary files differnew file mode 100644 index 0000000..1c045fe --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_3_focus_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_3_normal.png b/res/drawable-hdpi/ic_home_arrows_3_normal.png Binary files differnew file mode 100644 index 0000000..56e4978 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_3_normal.png diff --git a/res/drawable-hdpi/ic_home_arrows_3_normal_right.png b/res/drawable-hdpi/ic_home_arrows_3_normal_right.png Binary files differnew file mode 100644 index 0000000..ef9114b --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_3_normal_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_3_press.png b/res/drawable-hdpi/ic_home_arrows_3_press.png Binary files differnew file mode 100644 index 0000000..9e9c6cb --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_3_press.png diff --git a/res/drawable-hdpi/ic_home_arrows_3_press_right.png b/res/drawable-hdpi/ic_home_arrows_3_press_right.png Binary files differnew file mode 100644 index 0000000..f3ac1d2 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_3_press_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_4_focus.png b/res/drawable-hdpi/ic_home_arrows_4_focus.png Binary files differnew file mode 100644 index 0000000..b7e4980 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_4_focus.png diff --git a/res/drawable-hdpi/ic_home_arrows_4_focus_right.png b/res/drawable-hdpi/ic_home_arrows_4_focus_right.png Binary files differnew file mode 100644 index 0000000..7f4857e --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_4_focus_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_4_normal.png b/res/drawable-hdpi/ic_home_arrows_4_normal.png Binary files differnew file mode 100644 index 0000000..9cdf519 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_4_normal.png diff --git a/res/drawable-hdpi/ic_home_arrows_4_normal_right.png b/res/drawable-hdpi/ic_home_arrows_4_normal_right.png Binary files differnew file mode 100644 index 0000000..de67f17 --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_4_normal_right.png diff --git a/res/drawable-hdpi/ic_home_arrows_4_press.png b/res/drawable-hdpi/ic_home_arrows_4_press.png Binary files differnew file mode 100644 index 0000000..3ff701d --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_4_press.png diff --git a/res/drawable-hdpi/ic_home_arrows_4_press_right.png b/res/drawable-hdpi/ic_home_arrows_4_press_right.png Binary files differnew file mode 100644 index 0000000..33fcc7b --- /dev/null +++ b/res/drawable-hdpi/ic_home_arrows_4_press_right.png diff --git a/res/drawable-hdpi/trashcan.png b/res/drawable-hdpi/trashcan.png Binary files differindex 8d3d8e4..712fc6f 100644 --- a/res/drawable-hdpi/trashcan.png +++ b/res/drawable-hdpi/trashcan.png diff --git a/res/drawable-hdpi/trashcan_hover.png b/res/drawable-hdpi/trashcan_hover.png Binary files differindex 59f2741..9d7131e 100644 --- a/res/drawable-hdpi/trashcan_hover.png +++ b/res/drawable-hdpi/trashcan_hover.png diff --git a/res/drawable/all_apps_button.xml b/res/drawable/all_apps_button.xml index 985bdff..9f6b8ac 100644 --- a/res/drawable/all_apps_button.xml +++ b/res/drawable/all_apps_button.xml @@ -16,7 +16,7 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/all_apps_button_pressed" /> - <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/all_apps_button_pressed" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/all_apps_button_focused" /> <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/all_apps_button_normal" /> <item android:drawable="@drawable/all_apps_button_normal" /> </selector> diff --git a/res/drawable/home_arrows_left.xml b/res/drawable/home_arrows_left.xml new file mode 100644 index 0000000..82df258 --- /dev/null +++ b/res/drawable/home_arrows_left.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<level-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:maxLevel="0" android:drawable="@android:color/transparent" /> + <item android:maxLevel="1" android:drawable="@drawable/home_arrows_left_1" /> + <item android:maxLevel="2" android:drawable="@drawable/home_arrows_left_2" /> + <item android:maxLevel="3" android:drawable="@drawable/home_arrows_left_3" /> + <item android:maxLevel="4" android:drawable="@drawable/home_arrows_left_4" /> +</level-list> diff --git a/res/drawable/home_arrows_left_1.xml b/res/drawable/home_arrows_left_1.xml new file mode 100644 index 0000000..f61f39e --- /dev/null +++ b/res/drawable/home_arrows_left_1.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_1_press" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_1_focus" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_1_normal" /> + <item android:drawable="@drawable/ic_home_arrows_1_normal" /> +</selector> diff --git a/res/drawable/home_arrows_left_2.xml b/res/drawable/home_arrows_left_2.xml new file mode 100644 index 0000000..888a258 --- /dev/null +++ b/res/drawable/home_arrows_left_2.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_2_press" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_2_focus" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_2_normal" /> + <item android:drawable="@drawable/ic_home_arrows_2_normal" /> +</selector> diff --git a/res/drawable/home_arrows_left_3.xml b/res/drawable/home_arrows_left_3.xml new file mode 100644 index 0000000..4dbdf15 --- /dev/null +++ b/res/drawable/home_arrows_left_3.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_3_press" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_3_focus" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_3_normal" /> + <item android:drawable="@drawable/ic_home_arrows_3_normal" /> +</selector> diff --git a/res/drawable/home_arrows_left_4.xml b/res/drawable/home_arrows_left_4.xml new file mode 100644 index 0000000..31b381d --- /dev/null +++ b/res/drawable/home_arrows_left_4.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_4_press" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_4_focus" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_4_normal" /> + <item android:drawable="@drawable/ic_home_arrows_4_normal" /> +</selector> diff --git a/res/drawable/home_arrows_right.xml b/res/drawable/home_arrows_right.xml new file mode 100644 index 0000000..8ab0dec --- /dev/null +++ b/res/drawable/home_arrows_right.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<level-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:maxLevel="0" android:drawable="@drawable/home_arrows_right_4" /> + <item android:maxLevel="1" android:drawable="@drawable/home_arrows_right_3" /> + <item android:maxLevel="2" android:drawable="@drawable/home_arrows_right_2" /> + <item android:maxLevel="3" android:drawable="@drawable/home_arrows_right_1" /> + <item android:maxLevel="4" android:drawable="@android:color/transparent" /> +</level-list> diff --git a/res/drawable/home_arrows_right_1.xml b/res/drawable/home_arrows_right_1.xml new file mode 100644 index 0000000..f49b760 --- /dev/null +++ b/res/drawable/home_arrows_right_1.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_1_press_right" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_1_focus_right" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_1_normal_right" /> + <item android:drawable="@drawable/ic_home_arrows_1_normal_right" /> +</selector> diff --git a/res/drawable/home_arrows_right_2.xml b/res/drawable/home_arrows_right_2.xml new file mode 100644 index 0000000..17318a3 --- /dev/null +++ b/res/drawable/home_arrows_right_2.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_2_press_right" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_2_focus_right" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_2_normal_right" /> + <item android:drawable="@drawable/ic_home_arrows_2_normal_right" /> +</selector> diff --git a/res/drawable/home_arrows_right_3.xml b/res/drawable/home_arrows_right_3.xml new file mode 100644 index 0000000..375f8e3 --- /dev/null +++ b/res/drawable/home_arrows_right_3.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_3_press_right" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_3_focus_right" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_3_normal_right" /> + <item android:drawable="@drawable/ic_home_arrows_3_normal_right" /> +</selector> diff --git a/res/drawable/home_arrows_right_4.xml b/res/drawable/home_arrows_right_4.xml new file mode 100644 index 0000000..06627c6 --- /dev/null +++ b/res/drawable/home_arrows_right_4.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_4_press_right" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_4_focus_right" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_4_normal_right" /> + <item android:drawable="@drawable/ic_home_arrows_4_normal_right" /> +</selector> diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index d3069a1..e5fb6fb 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -40,8 +40,6 @@ android:id="@+id/workspace" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:scrollbars="horizontal" - android:fadeScrollbars="true" launcher:defaultScreen="2"> <include android:id="@+id/cell1" layout="@layout/workspace_screen" /> @@ -52,9 +50,37 @@ </com.android.launcher2.Workspace> + <ImageView + android:id="@+id/previous_screen" + android:layout_width="53dip" + android:layout_height="@dimen/button_bar_height" + android:layout_gravity="bottom|left" + android:layout_marginLeft="6dip" + + android:src="@drawable/home_arrows_left" + + android:onClick="previousScreen" + + android:focusable="true" + android:clickable="true" /> + + <ImageView + android:id="@+id/next_screen" + android:layout_width="53dip" + android:layout_height="@dimen/button_bar_height" + android:layout_gravity="bottom|right" + android:layout_marginRight="6dip" + + android:src="@drawable/home_arrows_right" + + android:onClick="nextScreen" + + android:focusable="true" + android:clickable="true" /> + <com.android.launcher2.HandleView android:id="@+id/all_apps_button" - android:layout_width="fill_parent" + android:layout_width="wrap_content" android:layout_height="@dimen/button_bar_height" android:layout_gravity="bottom|center_horizontal" @@ -68,8 +94,8 @@ <com.android.launcher2.DeleteZone android:id="@+id/delete_zone" - android:layout_width="fill_parent" - android:layout_height="49dip" + android:layout_width="wrap_content" + android:layout_height="@dimen/button_bar_height" android:layout_gravity="bottom|center_horizontal" android:scaleType="center" |