summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorBjorn Bringert <bringert@android.com>2010-03-31 13:21:12 +0100
committerBjorn Bringert <bringert@android.com>2010-03-31 14:39:29 +0100
commit738e65d0263aed069d1aa7c8a73f3fbc77486b99 (patch)
tree93c18d4abca2ce3d61d59866355fb0751cb6b929 /res
parent95e5fff449c40341aa8731f09a26598b42696bb9 (diff)
downloadApplicationsProvider-738e65d0263aed069d1aa7c8a73f3fbc77486b99.tar.gz
Handle search intents in ApplicationsProvider
Bug http://b/issue?id=2559078 Change-Id: I1507ab28e86f46593689f4bb2c49455d5ac14170
Diffstat (limited to 'res')
-rw-r--r--res/layout/application_list_item.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/res/layout/application_list_item.xml b/res/layout/application_list_item.xml
new file mode 100644
index 0000000..c8ac8f7
--- /dev/null
+++ b/res/layout/application_list_item.xml
@@ -0,0 +1,41 @@
+<?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.
+-->
+
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:paddingLeft="4dip"
+ android:paddingRight="4dip"
+ android:layout_width="match_parent"
+ android:layout_height="56dip" >
+
+ <ImageView android:id="@+id/icon1"
+ android:layout_width="48dip"
+ android:layout_height="48dip"
+ android:scaleType="centerInside"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentBottom="true" />
+
+ <TextView android:id="@+id/text1"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:singleLine="true"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="4dip"
+ android:layout_centerVertical="true"
+ android:layout_toRightOf="@id/icon1" />
+
+</RelativeLayout>