diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:05 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:05 -0800 |
commit | 15a8880cb1b9010ce4503c10c1666568d49415b1 (patch) | |
tree | 29fa05cbaa19101da95b010de82290cebfb6d092 /res/layout | |
parent | bb96f41aa99687260370cf8cdee7683653e538a7 (diff) | |
download | packages_apps_trebuchet-15a8880cb1b9010ce4503c10c1666568d49415b1.zip packages_apps_trebuchet-15a8880cb1b9010ce4503c10c1666568d49415b1.tar.gz packages_apps_trebuchet-15a8880cb1b9010ce4503c10c1666568d49415b1.tar.bz2 |
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/add_list_item.xml | 25 | ||||
-rw-r--r-- | res/layout/create_shortcut_list.xml | 5 | ||||
-rw-r--r-- | res/layout/gadget_error.xml | 29 | ||||
-rw-r--r-- | res/layout/widget_search.xml | 8 |
4 files changed, 63 insertions, 4 deletions
diff --git a/res/layout/add_list_item.xml b/res/layout/add_list_item.xml new file mode 100644 index 0000000..f276511 --- /dev/null +++ b/res/layout/add_list_item.xml @@ -0,0 +1,25 @@ +<?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. +--> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:minHeight="?android:attr/listPreferredItemHeight" + android:textAppearance="?android:attr/textAppearanceLargeInverse" + android:gravity="center_vertical" + android:drawablePadding="14dip" + android:paddingLeft="15dip" + android:paddingRight="15dip" /> diff --git a/res/layout/create_shortcut_list.xml b/res/layout/create_shortcut_list.xml index 63ca2b8..aa16733 100644 --- a/res/layout/create_shortcut_list.xml +++ b/res/layout/create_shortcut_list.xml @@ -17,11 +17,10 @@ ** limitations under the License. */ --> -<ExpandableListView xmlns:android="http://schemas.android.com/apk/res/android" +<ListView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:layout_marginTop="5px" + android:layout_marginTop="5dip" android:cacheColorHint="@null" - android:childDivider="@android:drawable/divider_horizontal_bright" android:divider="@android:drawable/divider_horizontal_bright" android:scrollbars="vertical" /> diff --git a/res/layout/gadget_error.xml b/res/layout/gadget_error.xml new file mode 100644 index 0000000..bde07af --- /dev/null +++ b/res/layout/gadget_error.xml @@ -0,0 +1,29 @@ +<?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. +--> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingTop="10dip" + android:paddingBottom="10dip" + android:paddingLeft="20dip" + android:paddingRight="20dip" + android:gravity="center" + android:background="@drawable/bg_gadget_error" + android:textAppearance="?android:attr/textAppearanceMediumInverse" + android:textColor="@color/gadget_error_color" + android:text="@string/gadget_error_text" + /> diff --git a/res/layout/widget_search.xml b/res/layout/widget_search.xml index 27e591d..dcc83a5 100644 --- a/res/layout/widget_search.xml +++ b/res/layout/widget_search.xml @@ -36,7 +36,7 @@ android:singleLine="true" android:selectAllOnFocus="true" android:completionThreshold="1" - android:inputType="textAutoComplete|textSearchString" + android:inputType="textAutoComplete|textSearch" /> <ImageButton android:id="@+id/search_go_btn" @@ -46,4 +46,10 @@ android:src="@*android:drawable/ic_btn_search" /> + <ImageButton android:id="@+id/search_voice_btn" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@android:drawable/ic_btn_speak_now" + /> + </com.android.launcher.Search> |