OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> |
| 5 |
| 6 <merge xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 8 android:id="@+id/eb_detail_root_layout" |
| 9 android:layout_width="match_parent" |
| 10 android:layout_height="match_parent" > |
| 11 |
| 12 <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkDetailScrollV
iew |
| 13 android:id="@+id/eb_detail_scroll_view" |
| 14 android:layout_width="match_parent" |
| 15 android:layout_height="match_parent" > |
| 16 |
| 17 <LinearLayout |
| 18 android:id="@+id/eb_detail_content" |
| 19 android:layout_width="match_parent" |
| 20 android:layout_height="wrap_content" |
| 21 android:contentDescription="@string/accessibility_enhanced_bookmark_
detail_view" |
| 22 android:focusable="true" |
| 23 android:focusableInTouchMode="true" |
| 24 android:orientation="vertical" |
| 25 android:paddingBottom="20dp" > |
| 26 |
| 27 <FrameLayout |
| 28 android:layout_width="match_parent" |
| 29 android:layout_height="wrap_content" > |
| 30 |
| 31 <ImageView |
| 32 android:id="@+id/eb_detail_image_view" |
| 33 android:layout_width="match_parent" |
| 34 android:layout_height="@dimen/enhanced_bookmark_detail_image
_height" |
| 35 android:contentDescription="@null" |
| 36 android:scaleType="centerCrop" |
| 37 android:transitionName="@string/enhanced_bookmark_detail_tra
nsition_name" /> |
| 38 |
| 39 <org.chromium.chrome.browser.widget.FadingShadowView |
| 40 android:id="@+id/eb_detail_top_shadow" |
| 41 android:layout_width="match_parent" |
| 42 android:layout_height="@dimen/toolbar_height_no_shadow" /> |
| 43 |
| 44 <View |
| 45 android:id="@+id/eb_detail_image_mask" |
| 46 android:layout_width="match_parent" |
| 47 android:layout_height="@dimen/enhanced_bookmark_detail_image
_height" /> |
| 48 </FrameLayout> |
| 49 |
| 50 <EditText |
| 51 android:id="@+id/eb_detail_title" |
| 52 android:layout_width="match_parent" |
| 53 android:layout_height="wrap_content" |
| 54 android:layout_marginEnd="12dp" |
| 55 android:layout_marginStart="12dp" |
| 56 android:layout_marginTop="24dp" |
| 57 android:focusable="false" |
| 58 android:imeOptions="flagNoExtractUi" |
| 59 android:inputType="textCapSentences|textAutoCorrect" |
| 60 android:lineSpacingExtra="2dp" |
| 61 android:singleLine="true" |
| 62 android:textAlignment="viewStart" |
| 63 android:textColor="@color/enhanced_bookmark_detail_text" |
| 64 android:textSize="24sp" /> |
| 65 |
| 66 <EditText |
| 67 android:id="@+id/eb_detail_url" |
| 68 android:layout_width="match_parent" |
| 69 android:layout_height="wrap_content" |
| 70 android:layout_marginEnd="12dp" |
| 71 android:layout_marginStart="12dp" |
| 72 android:layout_marginTop="8dp" |
| 73 android:focusable="false" |
| 74 android:imeOptions="flagNoExtractUi" |
| 75 android:inputType="textUri" |
| 76 android:lineSpacingExtra="2dp" |
| 77 android:singleLine="true" |
| 78 android:textAlignment="viewStart" |
| 79 android:textColor="@color/enhanced_bookmark_detail_text" |
| 80 android:textSize="16sp" /> |
| 81 |
| 82 <LinearLayout |
| 83 android:id="@+id/eb_detail_folder_box" |
| 84 android:layout_width="wrap_content" |
| 85 android:layout_height="wrap_content" |
| 86 android:layout_marginTop="24dp" |
| 87 android:orientation="vertical" > |
| 88 |
| 89 <TextView |
| 90 android:layout_width="wrap_content" |
| 91 android:layout_height="wrap_content" |
| 92 android:layout_marginEnd="16dp" |
| 93 android:layout_marginStart="16dp" |
| 94 android:fontFamily="sans-serif-medium" |
| 95 android:text="@string/bookmark_folder" |
| 96 android:textColor="@color/enhanced_bookmark_detail_section" |
| 97 android:textSize="14sp" |
| 98 android:textStyle="bold" /> |
| 99 |
| 100 <TextView |
| 101 android:id="@+id/eb_detail_folder_textview" |
| 102 android:layout_width="wrap_content" |
| 103 android:layout_height="wrap_content" |
| 104 android:layout_marginEnd="16dp" |
| 105 android:layout_marginStart="16dp" |
| 106 android:layout_marginTop="8dp" |
| 107 android:textColor="@color/dark_mode_tint" |
| 108 android:textSize="16sp" /> |
| 109 </LinearLayout> |
| 110 |
| 111 <TextView |
| 112 android:id="@+id/eb_detail_auto_folder_label" |
| 113 android:layout_width="wrap_content" |
| 114 android:layout_height="wrap_content" |
| 115 android:layout_marginEnd="16dp" |
| 116 android:layout_marginStart="16dp" |
| 117 android:layout_marginTop="24dp" |
| 118 android:layout_marginBottom="4dp" |
| 119 android:fontFamily="sans-serif-medium" |
| 120 android:text="@string/enhanced_bookmark_auto_folders" |
| 121 android:textColor="@color/enhanced_bookmark_detail_section" |
| 122 android:textSize="14sp" |
| 123 android:textStyle="bold" /> |
| 124 |
| 125 <org.chromium.chrome.browser.widget.FlowLayout |
| 126 android:id="@+id/eb_detail_flow_layout" |
| 127 android:layout_width="wrap_content" |
| 128 android:layout_height="wrap_content" |
| 129 android:layout_marginEnd="16dp" |
| 130 android:layout_marginStart="16dp" /> |
| 131 |
| 132 <EditText |
| 133 android:id="@+id/eb_detail_description" |
| 134 android:layout_width="match_parent" |
| 135 android:layout_height="wrap_content" |
| 136 android:layout_marginEnd="12dp" |
| 137 android:layout_marginStart="12dp" |
| 138 android:layout_marginTop="12dp" |
| 139 android:focusable="false" |
| 140 android:hint="@string/enhanced_bookmark_description_hint" |
| 141 android:imeOptions="flagNoExtractUi" |
| 142 android:inputType="textCapSentences|textAutoCorrect|textMultiLin
e" |
| 143 android:minLines="1" |
| 144 android:textAlignment="viewStart" |
| 145 android:textColor="@color/enhanced_bookmark_detail_text" |
| 146 android:textSize="14sp" /> |
| 147 |
| 148 <Space |
| 149 android:id="@+id/bottom_spacer" |
| 150 android:layout_width="0dp" |
| 151 android:layout_height="0dp" /> |
| 152 |
| 153 </LinearLayout> |
| 154 </org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkDetailScroll
View> |
| 155 |
| 156 <LinearLayout |
| 157 android:id="@+id/eb_detail_action_bar_layout" |
| 158 android:layout_width="match_parent" |
| 159 android:layout_height="wrap_content" |
| 160 android:orientation="vertical" > |
| 161 |
| 162 <RelativeLayout |
| 163 android:id="@+id/eb_detail_action_bar" |
| 164 android:layout_width="match_parent" |
| 165 android:layout_height="@dimen/toolbar_height_no_shadow" > |
| 166 |
| 167 <org.chromium.chrome.browser.widget.TintedImageButton |
| 168 android:id="@+id/eb_detail_actionbar_close_button" |
| 169 android:layout_width="@dimen/toolbar_height_no_shadow" |
| 170 android:layout_height="@dimen/toolbar_height_no_shadow" |
| 171 android:layout_alignParentStart="true" |
| 172 android:background="@null" |
| 173 android:contentDescription="@string/accessibility_enhanced_bookm
ark_detail_close_btn" |
| 174 android:src="@drawable/eb_cancel_active" |
| 175 chrome:tint="@color/light_mode_tint" /> |
| 176 |
| 177 <org.chromium.chrome.browser.widget.TintedImageButton |
| 178 android:id="@+id/eb_detail_actionbar_save_button" |
| 179 android:layout_width="@dimen/toolbar_height_no_shadow" |
| 180 android:layout_height="@dimen/toolbar_height_no_shadow" |
| 181 android:layout_alignParentEnd="true" |
| 182 android:background="@null" |
| 183 android:contentDescription="@string/accessibility_enhanced_bookm
ark_detail_save_btn" |
| 184 android:src="@drawable/eb_check_white" |
| 185 chrome:tint="@color/light_mode_tint" /> |
| 186 |
| 187 <org.chromium.chrome.browser.widget.TintedImageButton |
| 188 android:id="@+id/eb_detail_actionbar_delete_button" |
| 189 android:layout_width="@dimen/toolbar_height_no_shadow" |
| 190 android:layout_height="@dimen/toolbar_height_no_shadow" |
| 191 android:layout_toStartOf="@+id/eb_detail_actionbar_save_button" |
| 192 android:background="@null" |
| 193 android:contentDescription="@string/accessibility_enhanced_bookm
ark_detail_delete_btn" |
| 194 android:src="@drawable/eb_delete_white" |
| 195 chrome:tint="@color/light_mode_tint" /> |
| 196 </RelativeLayout> |
| 197 |
| 198 <org.chromium.chrome.browser.widget.FadingShadowView |
| 199 android:id="@+id/eb_detail_shadow" |
| 200 android:layout_width="match_parent" |
| 201 android:layout_height="4dp" /> |
| 202 </LinearLayout> |
| 203 |
| 204 </merge> |
OLD | NEW |