1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2012 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 class="com.android.contacts.quickcontact.FloatingChildLayout" 19 android:id="@+id/floating_layout" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:focusable="true" 23 android:focusableInTouchMode="true" 24 android:descendantFocusability="afterDescendants"> 25 <LinearLayout 26 android:id="@android:id/content" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:padding="32dip" 30 android:orientation="horizontal"> 31 <FrameLayout 32 android:layout_width="360dip" 33 android:layout_height="360dip"> 34 <include layout="@layout/quickcontact_photo_container" /> 35 </FrameLayout> 36 <LinearLayout 37 android:layout_width="360dip" 38 android:layout_height="match_parent" 39 android:orientation="vertical"> 40 <include layout="@layout/quickcontact_track" /> 41 <View 42 android:id="@+id/line_after_track" 43 android:layout_width="match_parent" 44 android:layout_height="2dip" 45 android:background="@color/quickcontact_tab_indicator" /> 46 <android.support.v4.view.ViewPager 47 android:id="@+id/item_list_pager" 48 android:background="@drawable/quickcontact_track_background" 49 android:layout_width="match_parent" 50 android:layout_height="match_parent" /> 51 </LinearLayout> 52 </LinearLayout> 53 </view> 54