blob: 61d356c447955b000a80cb3525ea9a891230e7b2 [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"
Mindy Pereira485b5af2011-10-06 14:33:48 -070032 android:paddingTop="8dip"
Daniel Lehmannedb576a2011-07-27 16:45:13 -070033 android:orientation="vertical">
Daniel Lehmann2e95ad02011-07-28 18:30:01 -070034 <view
Chiao Cheng888304c2012-12-06 13:43:30 -080035 class="com.android.contacts.common.widget.ProportionalLayout"
Daniel Lehmann2e95ad02011-07-28 18:30:01 -070036 android:layout_width="match_parent"
37 android:layout_height="wrap_content"
38 ex:ratio="0.5"
39 ex:direction="widthToHeight">
40 <include layout="@layout/quickcontact_photo_container" />
41 </view>
Daniel Lehmann1792b082011-08-23 18:48:22 -070042 <include layout="@layout/quickcontact_track" />
Daniel Lehmannedb576a2011-07-27 16:45:13 -070043 <View
Daniel Lehmann1792b082011-08-23 18:48:22 -070044 android:id="@+id/line_after_track"
Daniel Lehmannedb576a2011-07-27 16:45:13 -070045 android:layout_width="match_parent"
46 android:layout_height="2dip"
Daniel Lehmann1792b082011-08-23 18:48:22 -070047 android:background="@color/quickcontact_tab_indicator" />
Daniel Lehmannedb576a2011-07-27 16:45:13 -070048 <android.support.v4.view.ViewPager
49 android:id="@+id/item_list_pager"
50 android:layout_width="match_parent"
Chiao Cheng878b3da2012-12-14 10:56:38 -080051 android:layout_height="156dip"
Chiao Chengacbee992012-12-14 14:27:46 -080052 android:background="@drawable/quickcontact_track_background"/>
Daniel Lehmannedb576a2011-07-27 16:45:13 -070053 </LinearLayout>
Jeff Sharkeycde73892011-04-07 00:48:02 -070054</view>