1 <?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" 18 xmlns:ex="http://schemas.android.com/apk/res-auto" 19 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"> 26 <LinearLayout 27 android:id="@android:id/content" 28 android:layout_width="match_parent" 29 android:layout_height="match_parent" 30 android:padding="32dip" 31 android:orientation="horizontal"> 32 <view 33 class="com.android.contacts.common.widget.ProportionalLayout" 34 android:layout_width="wrap_content" 35 android:layout_height="match_parent" 36 ex:ratio="1.0" 37 ex:direction="heightToWidth"> 38 <include layout="@layout/quickcontact_photo_container" /> 39 </view> 40 <LinearLayout 41 android:layout_width="match_parent" 42 android:layout_height="match_parent" 43 android:orientation="vertical"> 44 <include layout="@layout/quickcontact_track" /> 45 <View 46 android:id="@+id/line_after_track" 47 android:layout_width="match_parent" 48 android:layout_height="2dip" 49 android:background="@color/quickcontact_tab_indicator" /> 50 <android.support.v4.view.ViewPager 51 android:id="@+id/item_list_pager" 52 android:background="@drawable/quickcontact_track_background" 53 android:layout_width="match_parent" 54 android:layout_height="match_parent" /> 55 </LinearLayout> 56 </LinearLayout> 57 </view> 58