diff options
Diffstat (limited to 'res/layout-xlarge')
-rw-r--r-- | res/layout-xlarge/all_apps_paged_view_application.xml | 3 | ||||
-rw-r--r-- | res/layout-xlarge/customize_paged_view_item.xml | 30 | ||||
-rw-r--r-- | res/layout-xlarge/customize_paged_view_wallpaper_placeholder.xml | 32 | ||||
-rw-r--r-- | res/layout-xlarge/customize_paged_view_widget.xml | 30 | ||||
-rw-r--r-- | res/layout-xlarge/launcher.xml | 30 |
5 files changed, 102 insertions, 23 deletions
diff --git a/res/layout-xlarge/all_apps_paged_view_application.xml b/res/layout-xlarge/all_apps_paged_view_application.xml index 98c27377d..74487656c 100644 --- a/res/layout-xlarge/all_apps_paged_view_application.xml +++ b/res/layout-xlarge/all_apps_paged_view_application.xml @@ -18,12 +18,13 @@ android:id="@+id/name" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_gravity="center_horizontal" + android:gravity="center_horizontal" android:textColor="#FFFFFFFF" android:shadowColor="#FF000000" android:shadowDx="0.0" android:shadowDy="1.0" + android:shadowRadius="1.0" android:maxLines="2" android:fadingEdge="horizontal" /> diff --git a/res/layout-xlarge/customize_paged_view_item.xml b/res/layout-xlarge/customize_paged_view_item.xml new file mode 100644 index 000000000..74487656c --- /dev/null +++ b/res/layout-xlarge/customize_paged_view_item.xml @@ -0,0 +1,30 @@ +<?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. +--> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/name" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center_horizontal" + + android:textColor="#FFFFFFFF" + android:shadowColor="#FF000000" + android:shadowDx="0.0" + android:shadowDy="1.0" + android:shadowRadius="1.0" + + android:maxLines="2" + android:fadingEdge="horizontal" /> diff --git a/res/layout-xlarge/customize_paged_view_wallpaper_placeholder.xml b/res/layout-xlarge/customize_paged_view_wallpaper_placeholder.xml new file mode 100644 index 000000000..df73bcdc7 --- /dev/null +++ b/res/layout-xlarge/customize_paged_view_wallpaper_placeholder.xml @@ -0,0 +1,32 @@ +<?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. +--> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/name" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center_vertical" + + android:textColor="#FFFFFFFF" + android:shadowColor="#FF000000" + android:shadowDx="0.0" + android:shadowDy="1.0" + android:shadowRadius="1.0" + android:drawableLeft="@drawable/ic_launcher_wallpaper" + android:drawablePadding="10dip" + + android:maxLines="2" + android:fadingEdge="horizontal" /> diff --git a/res/layout-xlarge/customize_paged_view_widget.xml b/res/layout-xlarge/customize_paged_view_widget.xml new file mode 100644 index 000000000..74487656c --- /dev/null +++ b/res/layout-xlarge/customize_paged_view_widget.xml @@ -0,0 +1,30 @@ +<?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. +--> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/name" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center_horizontal" + + android:textColor="#FFFFFFFF" + android:shadowColor="#FF000000" + android:shadowDx="0.0" + android:shadowDy="1.0" + android:shadowRadius="1.0" + + android:maxLines="2" + android:fadingEdge="horizontal" /> diff --git a/res/layout-xlarge/launcher.xml b/res/layout-xlarge/launcher.xml index a1879efa6..3e00381d8 100644 --- a/res/layout-xlarge/launcher.xml +++ b/res/layout-xlarge/launcher.xml @@ -26,7 +26,7 @@ layout="@layout/all_apps_tabbed" android:id="@+id/all_apps_view" android:layout_width="match_parent" - android:layout_height="500dip" + android:layout_height="550dip" android:layout_gravity="top"/> <!-- The workspace contains 5 screens of cells --> @@ -112,38 +112,24 @@ <TabHost android:id="@android:id/tabhost" android:layout_width="match_parent" - android:layout_height="500dip" + android:layout_height="550dip" android:layout_gravity="bottom"> <LinearLayout android:orientation="vertical" + android:background="#40000000" android:layout_width="match_parent" android:layout_height="match_parent"> <TabWidget android:id="@android:id/tabs" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:tabStripEnabled="false" + android:paddingBottom="10dp" /> <FrameLayout android:id="@android:id/tabcontent" - android:background="#ff000000" android:layout_width="match_parent" android:layout_height="match_parent"> - <com.android.launcher2.WidgetChooser - android:id="@+id/widget_chooser" - android:layout_width="match_parent" - android:layout_height="match_parent" /> - <com.android.launcher2.FolderChooser - android:id="@+id/folder_chooser" - android:layout_width="match_parent" - android:layout_height="match_parent" /> - <com.android.launcher2.ShortcutChooser - android:id="@+id/shortcut_chooser" - android:layout_width="match_parent" - android:layout_height="match_parent" /> - <TextView - android:id="@+id/wallpaperstab" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:text="@string/wallpapers_temp_tab_text" /> </FrameLayout> </LinearLayout> </TabHost> |