diff options
author | Winson Chung <winsonc@google.com> | 2011-08-31 16:07:43 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-08-31 16:07:43 -0700 |
commit | c4540bd7ba6e426dee532d7f6183c75fc6329e38 (patch) | |
tree | 2b1e2f90c165524b778da3f375baf0db41c5e797 /res/layout-sw600dp | |
parent | 2e9f4fb38e833b18fe403da17b00f830d6a5e86c (diff) | |
download | android_packages_apps_Trebuchet-c4540bd7ba6e426dee532d7f6183c75fc6329e38.tar.gz android_packages_apps_Trebuchet-c4540bd7ba6e426dee532d7f6183c75fc6329e38.tar.bz2 android_packages_apps_Trebuchet-c4540bd7ba6e426dee532d7f6183c75fc6329e38.zip |
Fixing incorrect resource overlay naming.
Change-Id: Iebb48a96835360d2a312aa8df8ac940d9a7e9be6
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r-- | res/layout-sw600dp/external_widget_drop_list_item.xml | 39 | ||||
-rw-r--r-- | res/layout-sw600dp/launcher.xml | 48 | ||||
-rw-r--r-- | res/layout-sw600dp/market_button.xml | 35 | ||||
-rw-r--r-- | res/layout-sw600dp/search_bar.xml | 92 | ||||
-rw-r--r-- | res/layout-sw600dp/wallpaper_item.xml | 28 | ||||
-rw-r--r-- | res/layout-sw600dp/workspace.xml | 30 | ||||
-rw-r--r-- | res/layout-sw600dp/workspace_screen.xml | 33 |
7 files changed, 305 insertions, 0 deletions
diff --git a/res/layout-sw600dp/external_widget_drop_list_item.xml b/res/layout-sw600dp/external_widget_drop_list_item.xml new file mode 100644 index 000000000..84f40eddf --- /dev/null +++ b/res/layout-sw600dp/external_widget_drop_list_item.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + + android:layout_width="match_parent" + android:layout_height="64dp"> + <ImageView + android:id="@+id/provider_icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:layout_marginLeft="20dp" + android:maxWidth="32dp" + android:maxHeight="32dp" + android:scaleType="fitCenter" + android:src="@drawable/ic_launcher_application" /> + <TextView + android:id="@+id/provider" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginLeft="5dp" + android:gravity="center_vertical" + android:textSize="18sp" /> +</LinearLayout> diff --git a/res/layout-sw600dp/launcher.xml b/res/layout-sw600dp/launcher.xml new file mode 100644 index 000000000..bfa6f3e08 --- /dev/null +++ b/res/layout-sw600dp/launcher.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> + +<com.android.launcher2.DragLayer + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + + android:id="@+id/drag_layer" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:focusable="false"> + + <include layout="@layout/workspace" + android:id="@+id/workspace" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + + <include layout="@layout/qsb_bar" + android:id="@+id/qsb_bar" + android:layout_width="match_parent" + android:layout_height="@dimen/qsb_bar_height" + android:layout_gravity="top" /> + + <include layout="@layout/apps_customize_pane" + android:id="@+id/apps_customize_pane" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="invisible" /> + + <include layout="@layout/workspace_cling" + android:id="@+id/workspace_cling" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" /> +</com.android.launcher2.DragLayer> diff --git a/res/layout-sw600dp/market_button.xml b/res/layout-sw600dp/market_button.xml new file mode 100644 index 000000000..ad5f6da0d --- /dev/null +++ b/res/layout-sw600dp/market_button.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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. +--> +<TextView + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + style="@style/MarketButton" + android:onClick="onClickAppMarketButton" + android:gravity="center" + android:paddingLeft="@dimen/toolbar_button_horizontal_padding" + android:paddingRight="@dimen/toolbar_button_horizontal_padding" + android:drawablePadding="10dp" + android:text="@string/market" + android:contentDescription="@string/market" + android:textColor="@color/workspace_all_apps_and_delete_zone_text_color" + android:textSize="18sp" + android:shadowColor="@color/workspace_all_apps_and_delete_zone_text_shadow_color" + android:shadowDx="0.0" + android:shadowDy="0.0" + android:shadowRadius="2.0" + android:background="@drawable/tab_widget_indicator_selector" + android:focusable="true" + android:clickable="true" /> diff --git a/res/layout-sw600dp/search_bar.xml b/res/layout-sw600dp/search_bar.xml new file mode 100644 index 000000000..44ac14cdf --- /dev/null +++ b/res/layout-sw600dp/search_bar.xml @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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. +--> +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + style="@style/SearchDropTargetBar" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <!-- Global search icon --> + <ImageView + style="@style/SearchButton" + android:id="@+id/search_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:src="@drawable/ic_search_normal_holo" + android:background="?android:attr/selectableItemBackground" + android:onClick="onClickSearchButton" + android:focusable="true" + android:clickable="true" + android:contentDescription="@string/accessibility_search_button" /> + + <ImageView + style="@style/SearchButtonDivider" + android:id="@+id/search_divider" + android:layout_toRightOf="@+id/search_button" + android:src="@drawable/divider_launcher_holo" + android:onClick="onClickSearchButton" + android:focusable="false" + android:clickable="true" /> + + <!-- Voice search icon --> + <ImageView + style="@style/SearchButton" + android:id="@+id/voice_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_toRightOf="@+id/search_divider" + android:src="@drawable/ic_voice_search_holo" + android:background="?android:attr/selectableItemBackground" + android:onClick="onClickVoiceButton" + android:focusable="true" + android:clickable="true" + android:contentDescription="@string/accessibility_voice_search_button" /> + + <!-- AppsCustomize icon --> + <com.android.launcher2.StrokedTextView + android:id="@+id/all_apps_button" + android:onClick="onClickAllAppsButton" + android:drawableLeft="@drawable/ic_home_all_apps_holo_dark" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:layout_alignParentTop="true" + android:layout_toLeftOf="@+id/all_apps_divider" + android:paddingLeft="@dimen/toolbar_button_horizontal_padding" + android:paddingRight="@dimen/toolbar_button_horizontal_padding" + android:paddingTop="@dimen/all_apps_button_vertical_padding" + android:paddingBottom="@dimen/all_apps_button_vertical_padding" + android:background="?android:attr/selectableItemBackground" + + android:gravity="center" + android:textColor="#CCFFFFFF" + android:textSize="18sp" + + launcher:strokeColor="#991e3157" + launcher:strokeTextColor="#DDFFFFFF" + launcher:strokeWidth="2.5" + + android:shadowColor="#DA000000" + android:shadowDx="0.0" + android:shadowDy="0.0" + android:shadowRadius="2.5" + + android:focusable="true" + android:clickable="true" + android:contentDescription="@string/accessibility_all_apps_button" /> +</RelativeLayout>
\ No newline at end of file diff --git a/res/layout-sw600dp/wallpaper_item.xml b/res/layout-sw600dp/wallpaper_item.xml new file mode 100644 index 000000000..9a596cb8d --- /dev/null +++ b/res/layout-sw600dp/wallpaper_item.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="@dimen/live_wallpaper_grid_item_padding"> + <ImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/wallpaper_image" + android:layout_width="@dimen/wallpaper_chooser_grid_width" + android:layout_height="@dimen/wallpaper_chooser_grid_height" + android:scaleType="centerCrop" + android:adjustViewBounds="false" + android:focusable="false" + android:padding="0dp" /> +</FrameLayout>
\ No newline at end of file diff --git a/res/layout-sw600dp/workspace.xml b/res/layout-sw600dp/workspace.xml new file mode 100644 index 000000000..327afaf00 --- /dev/null +++ b/res/layout-sw600dp/workspace.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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. +--> + +<!-- The workspace contains 5 screens of cells --> + +<com.android.launcher2.Workspace + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + android:paddingTop="@dimen/workspace_content_large_only_top_margin" + launcher:defaultScreen="2" + launcher:pageSpacing="@dimen/workspace_page_spacing"> + <include android:id="@+id/cell1" layout="@layout/workspace_screen" /> + <include android:id="@+id/cell2" layout="@layout/workspace_screen" /> + <include android:id="@+id/cell3" layout="@layout/workspace_screen" /> + <include android:id="@+id/cell4" layout="@layout/workspace_screen" /> + <include android:id="@+id/cell5" layout="@layout/workspace_screen" /> +</com.android.launcher2.Workspace>
\ No newline at end of file diff --git a/res/layout-sw600dp/workspace_screen.xml b/res/layout-sw600dp/workspace_screen.xml new file mode 100644 index 000000000..52f9defd9 --- /dev/null +++ b/res/layout-sw600dp/workspace_screen.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 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. +--> + +<com.android.launcher2.CellLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="@dimen/workspace_left_padding" + android:paddingRight="@dimen/workspace_right_padding" + android:paddingTop="@dimen/workspace_top_padding" + android:paddingBottom="@dimen/workspace_bottom_padding" + android:hapticFeedbackEnabled="false" + + launcher:cellWidth="@dimen/workspace_cell_width" + launcher:cellHeight="@dimen/workspace_cell_height" + launcher:widthGap="@dimen/workspace_width_gap" + launcher:heightGap="@dimen/workspace_height_gap" + launcher:maxGap="@dimen/workspace_max_gap" /> |