| 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 <EditText | |
| 112 android:id="@+id/eb_detail_description" | |
| 113 android:layout_width="match_parent" | |
| 114 android:layout_height="wrap_content" | |
| 115 android:layout_marginEnd="12dp" | |
| 116 android:layout_marginStart="12dp" | |
| 117 android:layout_marginTop="12dp" | |
| 118 android:focusable="false" | |
| 119 android:hint="@string/enhanced_bookmark_description_hint" | |
| 120 android:imeOptions="flagNoExtractUi" | |
| 121 android:inputType="textCapSentences|textAutoCorrect|textMultiLin
e" | |
| 122 android:minLines="1" | |
| 123 android:textAlignment="viewStart" | |
| 124 android:textColor="@color/enhanced_bookmark_detail_text" | |
| 125 android:textSize="14sp" /> | |
| 126 | |
| 127 <Space | |
| 128 android:id="@+id/bottom_spacer" | |
| 129 android:layout_width="0dp" | |
| 130 android:layout_height="0dp" /> | |
| 131 | |
| 132 </LinearLayout> | |
| 133 </org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkDetailScroll
View> | |
| 134 | |
| 135 <LinearLayout | |
| 136 android:id="@+id/eb_detail_action_bar_layout" | |
| 137 android:layout_width="match_parent" | |
| 138 android:layout_height="wrap_content" | |
| 139 android:orientation="vertical" > | |
| 140 | |
| 141 <RelativeLayout | |
| 142 android:id="@+id/eb_detail_action_bar" | |
| 143 android:layout_width="match_parent" | |
| 144 android:layout_height="@dimen/toolbar_height_no_shadow" > | |
| 145 | |
| 146 <org.chromium.chrome.browser.widget.TintedImageButton | |
| 147 android:id="@+id/eb_detail_actionbar_close_button" | |
| 148 android:layout_width="@dimen/toolbar_height_no_shadow" | |
| 149 android:layout_height="@dimen/toolbar_height_no_shadow" | |
| 150 android:layout_alignParentStart="true" | |
| 151 android:background="@null" | |
| 152 android:contentDescription="@string/accessibility_enhanced_bookm
ark_detail_close_btn" | |
| 153 android:src="@drawable/eb_cancel_active" | |
| 154 chrome:tint="@color/light_mode_tint" /> | |
| 155 | |
| 156 <org.chromium.chrome.browser.widget.TintedImageButton | |
| 157 android:id="@+id/eb_detail_actionbar_save_button" | |
| 158 android:layout_width="@dimen/toolbar_height_no_shadow" | |
| 159 android:layout_height="@dimen/toolbar_height_no_shadow" | |
| 160 android:layout_alignParentEnd="true" | |
| 161 android:background="@null" | |
| 162 android:contentDescription="@string/accessibility_enhanced_bookm
ark_detail_save_btn" | |
| 163 android:src="@drawable/eb_check_white" | |
| 164 chrome:tint="@color/light_mode_tint" /> | |
| 165 | |
| 166 <org.chromium.chrome.browser.widget.TintedImageButton | |
| 167 android:id="@+id/eb_detail_actionbar_delete_button" | |
| 168 android:layout_width="@dimen/toolbar_height_no_shadow" | |
| 169 android:layout_height="@dimen/toolbar_height_no_shadow" | |
| 170 android:layout_toStartOf="@+id/eb_detail_actionbar_save_button" | |
| 171 android:background="@null" | |
| 172 android:contentDescription="@string/accessibility_enhanced_bookm
ark_detail_delete_btn" | |
| 173 android:src="@drawable/eb_delete_white" | |
| 174 chrome:tint="@color/light_mode_tint" /> | |
| 175 </RelativeLayout> | |
| 176 | |
| 177 <org.chromium.chrome.browser.widget.FadingShadowView | |
| 178 android:id="@+id/eb_detail_shadow" | |
| 179 android:layout_width="match_parent" | |
| 180 android:layout_height="4dp" /> | |
| 181 </LinearLayout> | |
| 182 | |
| 183 </merge> | |
| OLD | NEW |