blob: dbaa29bd30f63f3994c2eb4f1741fdeb13bc7021 [file] [log] [blame]
Dianne Hackbornc644c912011-05-27 18:29:00 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<!--
18 Demonstrates receiving activity results.
19 See corresponding Java code com.android.sdk.app.ReceiveResult.java.
20-->
21
22<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="4dip"
23 android:gravity="center_horizontal"
Clara Bayarric7406632016-04-15 11:48:32 +010024 android:layout_width="match_parent"
25 android:layout_height="match_parent">
Dianne Hackbornc644c912011-05-27 18:29:00 -070026
27 <TextView
Clara Bayarric7406632016-04-15 11:48:32 +010028 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
Dianne Hackbornc644c912011-05-27 18:29:00 -070030 android:layout_weight="0"
31 android:paddingBottom="4dip"
32 android:textAppearance="?android:attr/textAppearanceMedium"
33 android:text="@string/receive_result_instructions"/>
34
35 <TextView android:id="@+id/results"
Clara Bayarric7406632016-04-15 11:48:32 +010036 android:layout_width="match_parent"
37 android:layout_height="10dip"
Dianne Hackbornc644c912011-05-27 18:29:00 -070038 android:layout_weight="1"
39 android:paddingBottom="4dip"
40 android:textAppearance="?android:attr/textAppearanceMedium"
41 android:textColor="#000"
42 android:background="@drawable/green">
43 </TextView>
44
45 <Button android:id="@+id/get"
Clara Bayarric7406632016-04-15 11:48:32 +010046 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:layout_weight="0"
49 android:text="@string/receive_result_result">
Dianne Hackbornc644c912011-05-27 18:29:00 -070050 <requestFocus />
51 </Button>
52
Clara Bayarric7406632016-04-15 11:48:32 +010053 <Button android:id="@+id/get_intentsender"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_weight="0"
57 android:text="@string/receive_result_intentsender">
58 </Button>
59
Dianne Hackbornc644c912011-05-27 18:29:00 -070060</LinearLayout>
61