1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2015 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<merge xmlns:android="http://schemas.android.com/apk/res/android"> 19 20 <LinearLayout 21 android:id="@+id/kind_section_views" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:orientation="vertical" /> 25 26 <LinearLayout 27 style="@style/SelectableItem" 28 android:id="@+id/more_fields" 29 android:focusable="true" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:orientation="vertical"> 33 34 <!-- See the comment for EditKindIconStyle in styles.xml, we use (16 + 24 + 32) dp of 35 padding (start margin + icon width + end margin) for this to line up with the start 36 of the edit fields. --> 37 <TextView 38 android:background="?android:attr/selectableItemBackground" 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:minHeight="@dimen/editor_min_line_item_height" 42 android:paddingStart="72dp" 43 android:gravity="center_vertical" 44 android:text="@string/editor_more_fields" 45 android:textAlignment="viewStart" 46 android:textColor="?android:attr/colorAccent" 47 android:textSize="@dimen/expanding_entry_card_title_text_size"/> 48 49 </LinearLayout> 50 51</merge>