blob: 24bffebf2016ef4016577e4de70d1288bc1105eb [file] [log] [blame]
Alexander Lucasa1a00392014-02-06 14:42:27 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2013 The Android Open Source Project
4
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
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
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.
16-->
17
18
19
20<com.example.android.batchstepsensor.CardLayout
21 android:id="@+id/card_layout"
22 style="@style/Card"
23 xmlns:android="http://schemas.android.com/apk/res/android"
24 android:layout_width="match_parent"
25 android:layout_height="wrap_content">
26
27 <LinearLayout
28 android:id="@+id/card_actionarea"
29 android:layout_width="fill_parent"
30 android:layout_height="wrap_content"
31 android:layout_below="@+id/card_contentarea"
32 android:background="@color/card_action_bg"
33 android:orientation="vertical"
34 android:paddingBottom="@dimen/card_action_margin"
35 android:visibility="gone"
36 >
37 <include layout="@layout/card_button_seperator"/>
38 </LinearLayout>
39
40
41 <LinearLayout
42 android:id="@id/card_contentarea"
43 android:layout_width="match_parent"
44 android:layout_height="wrap_content"
45 android:orientation="vertical"
46 style="@style/CardContentArea">
47
48 <TextView
49 android:id="@+id/card_title"
50 style="@style/CardTitle"
51 android:layout_width="match_parent"
52 android:layout_height="wrap_content"/>
53
54 <TextView
55 android:id="@+id/card_content"
56 style="@style/CardContent"
57 android:layout_width="wrap_content"
58 android:layout_height="wrap_content"
59 android:layout_below="@id/card_title"/>
60
61 </LinearLayout>
62
63 <View
64 android:id="@+id/card_overlay"
65 android:layout_width="match_parent"
66 android:layout_height="match_parent"
67 android:layout_alignBottom="@id/card_contentarea"
68 android:layout_alignLeft="@id/card_contentarea"
69 android:layout_alignRight="@id/card_contentarea"
70 android:layout_alignTop="@id/card_contentarea"
71 android:layout_alignWithParentIfMissing="false"
72 android:visibility="invisible"/>
73
74</com.example.android.batchstepsensor.CardLayout>