1 <?xml version="1.0" encoding="utf-8"?>
3 /* Copyright 2010, The Android Open Source Project
5 ** Licensed under the Apache License, Version 2.0 (the "License");
6 ** you may not use this file except in compliance with the License.
7 ** You may obtain a copy of the License at
9 ** http://www.apache.org/licenses/LICENSE-2.0
11 ** Unless required by applicable law or agreed to in writing, software
12 ** distributed under the License is distributed on an "AS IS" BASIS,
13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ** See the License for the specific language governing permissions and
15 ** limitations under the License.
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 android:orientation="vertical">
26 android:layout_width="match_parent"
27 android:layout_height="wrap_content"
28 android:paddingTop="6dp"
29 android:paddingBottom="6dp"
30 android:scaleType="fitXY"
31 android:gravity="fill_horizontal"
32 android:src="@android:drawable/divider_horizontal_dark" />
35 android:layout_width="match_parent"
36 android:layout_height="wrap_content"
37 android:paddingTop="10dip"
38 android:orientation="horizontal">
39 <ImageView android:id="@+id/replace_app_icon"
40 android:layout_width="@android:dimen/app_icon_size"
41 android:layout_height="@android:dimen/app_icon_size"
42 android:scaleType="fitCenter" />
43 <TextView android:id="@+id/replace_message"
44 style="?android:attr/textAppearanceMedium"
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
47 android:padding="5dip" />
51 android:layout_width="match_parent"
52 android:layout_height="wrap_content"
53 android:paddingTop="10dip"
54 android:orientation="horizontal">
55 <ImageView android:id="@+id/original_app_icon"
56 android:layout_width="@android:dimen/app_icon_size"
57 android:layout_height="@android:dimen/app_icon_size"
58 android:scaleType="fitCenter" />
59 <TextView android:id="@+id/original_message"
60 style="?android:attr/textAppearanceMedium"
61 android:layout_width="match_parent"
62 android:layout_height="wrap_content"
63 android:padding="5dip" />