• 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<!-- This file is in the base layout/ directory so that it can be referenced from multiple config
17     folder without duplicating this file. -->
18<com.android.contacts.widget.MultiShrinkScroller
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    android:orientation="vertical"
23    android:id="@+id/multiscroller"
24    android:focusable="true"
25    android:focusableInTouchMode="true"
26    android:descendantFocusability="afterDescendants" >
27
28    <LinearLayout
29        android:layout_width="match_parent"
30        android:layout_height="match_parent"
31        android:orientation="vertical">
32
33        <View
34            android:layout_width="match_parent"
35            android:layout_height="@dimen/quickcontact_starting_empty_height"
36            android:contentDescription="@string/quickcontact_transparent_view_description"
37            android:id="@+id/transparent_view" />
38
39        <LinearLayout
40            android:layout_width="match_parent"
41            android:layout_height="match_parent"
42            android:orientation="horizontal">
43
44            <!-- Needs a non null background for elevation to work on this View. This will
45                 *not* cause an additional draw since the background is transparent. -->
46            <FrameLayout
47                android:layout_width="match_parent"
48                android:layout_height="match_parent"
49                android:background="#00000000"
50                android:id="@+id/toolbar_parent">
51
52                <include layout="@layout/quickcontact_header" />
53
54                <include layout="@layout/quickcontact_title_and_phoneticname" />
55
56            </FrameLayout>
57
58            <include layout="@layout/quickcontact_content" />
59
60        </LinearLayout>
61
62    </LinearLayout>
63
64</com.android.contacts.widget.MultiShrinkScroller>