blob: 36bdd50bca76260a99b459aa8d49e7f12d6206b5 [file] [log] [blame]
Jeff Sharkeycde73892011-04-07 00:48:02 -07001<?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<view
17 xmlns:android="http://schemas.android.com/apk/res/android"
Chiao Cheng9f35ccd2012-08-15 18:13:43 -070018 xmlns:ex="http://schemas.android.com/apk/res-auto"
Jeff Sharkeycde73892011-04-07 00:48:02 -070019 class="com.android.contacts.quickcontact.FloatingChildLayout"
20 android:id="@+id/floating_layout"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent"
23 android:focusable="true"
24 android:focusableInTouchMode="true"
25 android:descendantFocusability="afterDescendants">
Daniel Lehmannedb576a2011-07-27 16:45:13 -070026 <LinearLayout
27 android:id="@android:id/content"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:paddingLeft="15dip"
31 android:paddingRight="15dip"
Fabrice Di Meglio7d3b9152013-04-04 19:49:34 -070032 android:paddingStart="15dip"
33 android:paddingEnd="15dip"
Mindy Pereira485b5af2011-10-06 14:33:48 -070034 android:paddingTop="8dip"
Daniel Lehmannedb576a2011-07-27 16:45:13 -070035 android:orientation="vertical">
Daniel Lehmann2e95ad02011-07-28 18:30:01 -070036 <view
Chiao Cheng888304c2012-12-06 13:43:30 -080037 class="com.android.contacts.common.widget.ProportionalLayout"
Daniel Lehmann2e95ad02011-07-28 18:30:01 -070038 android:layout_width="match_parent"
39 android:layout_height="wrap_content"
40 ex:ratio="0.5"
41 ex:direction="widthToHeight">
42 <include layout="@layout/quickcontact_photo_container" />
43 </view>
Daniel Lehmann1792b082011-08-23 18:48:22 -070044 <include layout="@layout/quickcontact_track" />
Daniel Lehmannedb576a2011-07-27 16:45:13 -070045 <View
Daniel Lehmann1792b082011-08-23 18:48:22 -070046 android:id="@+id/line_after_track"
Daniel Lehmannedb576a2011-07-27 16:45:13 -070047 android:layout_width="match_parent"
48 android:layout_height="2dip"
Daniel Lehmann1792b082011-08-23 18:48:22 -070049 android:background="@color/quickcontact_tab_indicator" />
Daniel Lehmannedb576a2011-07-27 16:45:13 -070050 <android.support.v4.view.ViewPager
51 android:id="@+id/item_list_pager"
52 android:layout_width="match_parent"
Chiao Cheng878b3da2012-12-14 10:56:38 -080053 android:layout_height="156dip"
Christine Chen72b3ab12013-08-13 23:22:34 +020054 android:background="@color/quickcontact_activity_background"/>
Daniel Lehmannedb576a2011-07-27 16:45:13 -070055 </LinearLayout>
Jeff Sharkeycde73892011-04-07 00:48:02 -070056</view>