Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 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" |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 18 | xmlns:ex="http://schemas.android.com/apk/res/com.android.contacts" |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 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"> |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 26 | <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" |
| 32 | android:orientation="vertical"> |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 33 | <view |
| 34 | class="com.android.contacts.widget.ProportionalLayout" |
| 35 | android:layout_width="match_parent" |
| 36 | android:layout_height="wrap_content" |
| 37 | ex:ratio="0.5" |
| 38 | ex:direction="widthToHeight"> |
| 39 | <include layout="@layout/quickcontact_photo_container" /> |
| 40 | </view> |
Daniel Lehmann | 1792b08 | 2011-08-23 18:48:22 -0700 | [diff] [blame] | 41 | <include layout="@layout/quickcontact_track" /> |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 42 | <View |
Daniel Lehmann | 1792b08 | 2011-08-23 18:48:22 -0700 | [diff] [blame] | 43 | android:id="@+id/line_after_track" |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 44 | android:layout_width="match_parent" |
| 45 | android:layout_height="2dip" |
Daniel Lehmann | 1792b08 | 2011-08-23 18:48:22 -0700 | [diff] [blame] | 46 | android:background="@color/quickcontact_tab_indicator" /> |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 47 | <android.support.v4.view.ViewPager |
| 48 | android:id="@+id/item_list_pager" |
| 49 | android:layout_width="match_parent" |
| 50 | android:layout_height="180dip" /> |
| 51 | </LinearLayout> |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 52 | </view> |