blob: f80593f2ca025b264b1d5e8a000edd14113909dc [file] [log] [blame]
Makoto Onukia826d3f2011-01-10 13:35:47 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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
Ben Komalo761390a2011-05-25 12:08:09 -070017<!-- tablet -->
Makoto Onukia826d3f2011-01-10 13:35:47 -080018
19<LinearLayout
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 android:id="@+id/invite_section"
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:background="@color/message_view_info_back_color"
25 android:orientation="vertical"
26 >
27 <View
28 android:layout_width="match_parent"
29 style="@style/message_view_horizontal_divider"
30 />
31 <LinearLayout
32 android:layout_width="match_parent"
33 android:layout_height="64dip"
34 android:orientation="horizontal"
35 >
Makoto Onukieee11392011-01-26 18:15:51 -080036 <!-- TODO: The plan is to show a calendar icon here. -->
Makoto Onukia826d3f2011-01-10 13:35:47 -080037 <ImageView
38 android:layout_width="64dip"
39 android:layout_height="64dip"
40 android:layout_weight="0"
41 android:src="@null"
42 android:visibility="gone"
43 />
44 <LinearLayout
45 android:layout_width="200dip"
46 android:layout_weight="1"
47 android:layout_height="64dip"
48 android:orientation="horizontal"
49 android:divider="?android:attr/dividerVertical"
50 android:showDividers="middle"
51 android:dividerPadding="16dip"
52 >
53 <RelativeLayout
54 android:layout_width="0dip"
55 android:layout_height="match_parent"
56 android:layout_weight="1"
57 >
58 <CheckBox
59 android:id="@+id/accept"
60 android:layout_width="104dip"
61 android:layout_height="wrap_content"
62 android:layout_alignParentBottom="true"
63 android:layout_alignParentLeft="true"
64 android:layout_marginLeft="32dip"
65 android:text="@string/message_view_invite_accept"
66 android:textSize="14dip"
67 android:textColor="@color/text_primary_color"
68 android:singleLine="true"
69 android:ellipsize="end"
70 />
71 <CheckBox
72 android:id="@+id/maybe"
73 android:layout_width="104dip"
74 android:layout_height="wrap_content"
75 android:layout_alignParentBottom="true"
76 android:layout_toRightOf="@id/accept"
77 android:layout_marginLeft="24dip"
78 android:text="@string/message_view_invite_maybe"
79 android:textSize="14dip"
80 android:textColor="@color/text_primary_color"
81 android:singleLine="true"
82 android:ellipsize="end"
83 />
84 <CheckBox
85 android:id="@+id/decline"
86 android:layout_width="104dip"
87 android:layout_height="wrap_content"
88 android:layout_alignParentBottom="true"
89 android:layout_toRightOf="@id/maybe"
90 android:layout_marginLeft="24dip"
91 android:text="@string/message_view_invite_decline"
92 android:textSize="14dip"
93 android:textColor="@color/text_primary_color"
94 android:singleLine="true"
95 android:ellipsize="end"
96 />
97
98 <!-- "Going?" -->
99 <TextView
100 android:layout_width="0dip"
101 android:layout_height="wrap_content"
102 android:layout_alignParentTop="true"
103 android:layout_alignParentLeft="true"
104 android:layout_alignParentRight="true"
105 android:layout_above="@id/accept"
106 android:layout_marginLeft="32dip"
107 android:layout_marginRight="32dip"
108 android:singleLine="true"
109 android:ellipsize="end"
110 android:text="@string/message_view_invite_text"
111 android:textSize="18dip"
112 android:textColor="@color/text_primary_color"
113 android:gravity="left|bottom"
114 />
115
116 </RelativeLayout>
117 <Button
118 android:id="@+id/invite_link"
119 android:layout_width="192dip"
120 android:layout_height="match_parent"
121 android:layout_marginLeft="16dip"
122 android:layout_marginRight="16dip"
123 style="@android:style/Widget.Holo.Button.Borderless"
124 android:padding="0dip"
125 android:text="@string/message_view_invite_view"
126 android:textSize="14dip"
127 android:textColor="@color/text_primary_color"
128 android:textStyle="bold"
129 android:singleLine="true"
130 android:ellipsize="end"
131 android:gravity="center"
132 />
133 </LinearLayout>
134 </LinearLayout>
135 <View
136 android:layout_width="match_parent"
137 style="@style/message_view_horizontal_divider"
138 />
139</LinearLayout>