• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 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<com.android.contacts.widget.TouchlessScrollView
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:cardview="http://schemas.android.com/apk/res-auto"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:fillViewport="true"
22    android:id="@+id/content_scroller"
23    android:background="@color/card_margin_color">
24
25    <!-- All the cards should be inserted into this LinearLayout -->
26    <LinearLayout
27        android:layout_width="match_parent"
28        android:layout_height="wrap_content"
29        android:orientation="vertical"
30        android:paddingTop="@dimen/first_card_marginTop"
31        android:id="@+id/card_container" >
32
33        <com.android.contacts.quickcontact.ExpandingEntryCardView
34            style="@style/ExpandingEntryCardStyle"
35            android:id="@+id/no_contact_data_card"
36            android:visibility="gone"
37            cardview:cardCornerRadius="@dimen/expanding_entry_card_card_corner_radius" />
38
39        <com.android.contacts.quickcontact.ExpandingEntryCardView
40            style="@style/ExpandingEntryCardStyle"
41            android:id="@+id/communication_card"
42            android:visibility="gone"
43            cardview:cardCornerRadius="@dimen/expanding_entry_card_card_corner_radius" />
44
45        <com.android.contacts.quickcontact.ExpandingEntryCardView
46            style="@style/ExpandingEntryCardStyle"
47            android:id="@+id/recent_card"
48            android:visibility="gone"
49            cardview:cardCornerRadius="@dimen/expanding_entry_card_card_corner_radius" />
50
51        <com.android.contacts.quickcontact.ExpandingEntryCardView
52            style="@style/ExpandingEntryCardStyle"
53            android:id="@+id/permission_explanation_card"
54            android:visibility="gone"
55            cardview:cardCornerRadius="@dimen/expanding_entry_card_card_corner_radius"/>
56
57        <com.android.contacts.quickcontact.ExpandingEntryCardView
58            style="@style/ExpandingEntryCardStyle"
59            android:id="@+id/about_card"
60            android:visibility="gone"
61            cardview:cardCornerRadius="@dimen/expanding_entry_card_card_corner_radius" />
62
63        <include layout="@layout/quickcontact_collapsed_suggestion_card" />
64        <include layout="@layout/quickcontact_expand_suggestion_card" />
65
66    </LinearLayout>
67
68</com.android.contacts.widget.TouchlessScrollView>