Katherine Kuan | 1b22073 | 2011-04-28 18:45:39 -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 | <!-- Layout of "add field" row in contact editor --> |
Katherine Kuan | a666423 | 2011-07-20 21:47:58 -0700 | [diff] [blame] | 17 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Katherine Kuan | 1b22073 | 2011-04-28 18:45:39 -0700 | [diff] [blame] | 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="wrap_content" |
Daniel Lehmann | ca87e9c | 2012-03-06 14:02:31 -0800 | [diff] [blame] | 20 | android:minHeight="48dip" |
Katherine Kuan | 1ebbd5b | 2011-08-05 14:39:34 -0700 | [diff] [blame] | 21 | android:paddingLeft="@dimen/editor_add_field_label_left_padding" |
Fabrice Di Meglio | 7d3b915 | 2013-04-04 19:49:34 -0700 | [diff] [blame] | 22 | android:paddingStart="@dimen/editor_add_field_label_left_padding" |
Yorke Lee | dd25cd0 | 2013-01-22 08:50:56 -0800 | [diff] [blame] | 23 | android:background="?android:attr/selectableItemBackground" |
| 24 | android:focusable="true" |
| 25 | android:clickable="true"> |
Katherine Kuan | 1b22073 | 2011-04-28 18:45:39 -0700 | [diff] [blame] | 26 | <TextView |
| 27 | android:id="@+id/add_text" |
| 28 | android:layout_gravity="center_vertical" |
Katherine Kuan | a666423 | 2011-07-20 21:47:58 -0700 | [diff] [blame] | 29 | android:layout_width="match_parent" |
Katherine Kuan | 1b22073 | 2011-04-28 18:45:39 -0700 | [diff] [blame] | 30 | android:layout_height="wrap_content" |
Katherine Kuan | a666423 | 2011-07-20 21:47:58 -0700 | [diff] [blame] | 31 | android:duplicateParentState="true" |
| 32 | android:textAppearance="?android:attr/textAppearanceMedium" |
Katherine Kuan | fd70903 | 2011-08-02 14:18:16 -0700 | [diff] [blame] | 33 | android:textColor="?android:attr/textColorSecondary" |
Katherine Kuan | 398e380 | 2011-07-21 21:16:15 -0700 | [diff] [blame] | 34 | android:text="@string/add_new_entry_for_section" /> |
Katherine Kuan | a666423 | 2011-07-20 21:47:58 -0700 | [diff] [blame] | 35 | </FrameLayout> |