Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2011 The Android Open Source Project |
| 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 | --> |
| 17 | |
| 18 | <!-- "More" or "less" expansion button in the contact editor. --> |
| 19 | |
| 20 | <FrameLayout |
| 21 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 22 | android:layout_width="wrap_content" |
| 23 | android:layout_height="@dimen/editor_min_line_item_height" |
| 24 | android:layout_gravity="top"> |
| 25 | <ImageView |
| 26 | android:id="@+id/expansion_view" |
| 27 | android:layout_width="wrap_content" |
| 28 | android:layout_height="wrap_content" |
| 29 | android:layout_gravity="center" |
| 30 | android:duplicateParentState="true" |
| 31 | android:background="?android:attr/selectableItemBackground" |
| 32 | android:paddingLeft="@dimen/editor_round_button_padding_left" |
| 33 | android:paddingRight="@dimen/editor_round_button_padding_right" |
Fabrice Di Meglio | 7d3b915 | 2013-04-04 19:49:34 -0700 | [diff] [blame] | 34 | android:paddingStart="@dimen/editor_round_button_padding_left" |
| 35 | android:paddingEnd="@dimen/editor_round_button_padding_right" |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 36 | android:paddingTop="@dimen/editor_round_button_padding_top" |
| 37 | android:paddingBottom="@dimen/editor_round_button_padding_bottom" /> |
| 38 | </FrameLayout> |