• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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<com.example.android.batchstepsensor.cardstream.CardLayout
18    android:id="@+id/card_layout"
19    style="@style/Card"
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    android:layout_width="match_parent"
22    android:layout_height="wrap_content">
23
24    <LinearLayout
25        android:id="@+id/card_actionarea"
26        android:layout_width="fill_parent"
27        android:layout_height="wrap_content"
28        android:layout_below="@+id/card_contentarea"
29        android:background="@color/card_action_bg"
30        android:orientation="vertical"
31        android:paddingBottom="@dimen/card_action_margin"
32        android:visibility="gone"
33        >
34        <include layout="@layout/card_button_seperator"/>
35    </LinearLayout>
36
37
38    <LinearLayout
39        android:id="@id/card_contentarea"
40        android:layout_width="match_parent"
41        android:layout_height="wrap_content"
42        android:orientation="vertical"
43        style="@style/CardContentArea">
44
45        <TextView
46            android:id="@+id/card_title"
47            style="@style/CardTitle"
48            android:layout_width="match_parent"
49            android:layout_height="wrap_content"/>
50
51        <TextView
52            android:id="@+id/card_content"
53            style="@style/CardContent"
54            android:layout_width="wrap_content"
55            android:layout_height="wrap_content"
56            android:layout_below="@id/card_title"/>
57
58    </LinearLayout>
59
60    <View
61        android:id="@+id/card_overlay"
62        android:layout_width="match_parent"
63        android:layout_height="match_parent"
64        android:layout_alignBottom="@id/card_contentarea"
65        android:layout_alignLeft="@id/card_contentarea"
66        android:layout_alignRight="@id/card_contentarea"
67        android:layout_alignTop="@id/card_contentarea"
68        android:layout_alignWithParentIfMissing="false"
69        android:visibility="invisible"/>
70
71</com.example.android.batchstepsensor.cardstream.CardLayout>
72