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" |
Chiao Cheng | 9f35ccd | 2012-08-15 18:13:43 -0700 | [diff] [blame] | 18 | xmlns:ex="http://schemas.android.com/apk/res-auto" |
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" |
Fabrice Di Meglio | 7d3b915 | 2013-04-04 19:49:34 -0700 | [diff] [blame] | 32 | android:paddingStart="15dip" |
| 33 | android:paddingEnd="15dip" |
Mindy Pereira | 485b5af | 2011-10-06 14:33:48 -0700 | [diff] [blame] | 34 | android:paddingTop="8dip" |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 35 | android:orientation="vertical"> |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 36 | <view |
Chiao Cheng | 888304c | 2012-12-06 13:43:30 -0800 | [diff] [blame] | 37 | class="com.android.contacts.common.widget.ProportionalLayout" |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 38 | 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 Lehmann | 1792b08 | 2011-08-23 18:48:22 -0700 | [diff] [blame] | 44 | <include layout="@layout/quickcontact_track" /> |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 45 | <View |
Daniel Lehmann | 1792b08 | 2011-08-23 18:48:22 -0700 | [diff] [blame] | 46 | android:id="@+id/line_after_track" |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="2dip" |
Daniel Lehmann | 1792b08 | 2011-08-23 18:48:22 -0700 | [diff] [blame] | 49 | android:background="@color/quickcontact_tab_indicator" /> |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 50 | <android.support.v4.view.ViewPager |
| 51 | android:id="@+id/item_list_pager" |
| 52 | android:layout_width="match_parent" |
Chiao Cheng | 878b3da | 2012-12-14 10:56:38 -0800 | [diff] [blame] | 53 | android:layout_height="156dip" |
Christine Chen | 72b3ab1 | 2013-08-13 23:22:34 +0200 | [diff] [blame^] | 54 | android:background="@color/quickcontact_activity_background"/> |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 55 | </LinearLayout> |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 56 | </view> |