Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright (C) 2011 The Android Open Source Project |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 17 | <ScrollView 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 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 21 | android:orientation="vertical" |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 22 | android:focusable="true" |
| 23 | android:focusableInTouchMode="true" |
Paul Soulos | 5ec23fd | 2014-05-29 18:19:38 -0700 | [diff] [blame] | 24 | android:descendantFocusability="afterDescendants" |
| 25 | android:background="@color/card_margin_color" > |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 26 | |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 27 | <LinearLayout |
| 28 | android:id="@android:id/content" |
| 29 | android:layout_width="match_parent" |
| 30 | android:layout_height="wrap_content" |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 31 | android:orientation="vertical" > |
| 32 | |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 33 | <view |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="wrap_content" |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 36 | class="com.android.contacts.common.widget.ProportionalLayout" |
| 37 | ex:direction="widthToHeight" |
| 38 | ex:ratio="0.5" > |
| 39 | |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 40 | <include layout="@layout/quickcontact_photo_container" /> |
| 41 | </view> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 42 | |
| 43 | <com.android.contacts.quickcontact.ExpandingEntryCardView |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 44 | style="@style/ExpandingEntryCardStyle" |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 45 | android:id="@+id/communication_card" |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 46 | android:layout_marginTop="@dimen/communication_card_marginTop" /> |
Daniel Lehmann | edb576a | 2011-07-27 16:45:13 -0700 | [diff] [blame] | 47 | </LinearLayout> |
Paul Soulos | 2d48b5a | 2014-05-29 13:56:25 -0700 | [diff] [blame] | 48 | </ScrollView> |