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 <LinearLayout |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 9 android:layout_width="match_parent" |
| 10 android:layout_height="match_parent" |
| 11 android:minHeight="@dimen/enhanced_bookmark_minimum_dialog_size_tablet" |
| 12 android:orientation="vertical" > |
| 13 |
| 14 <LinearLayout |
| 15 android:layout_width="match_parent" |
| 16 android:layout_height="@dimen/toolbar_height_no_shadow" |
| 17 android:background="@color/default_primary_color" > |
| 18 |
| 19 <ImageButton |
| 20 android:id="@+id/back" |
| 21 style="@style/EnhancedBookmarkTitleBarButton" |
| 22 android:contentDescription="@string/accessibility_toolbar_btn_back" |
| 23 android:src="@drawable/eb_back_normal" /> |
| 24 |
| 25 <TextView |
| 26 android:id="@+id/dialog_title" |
| 27 android:layout_width="0dp" |
| 28 android:layout_height="match_parent" |
| 29 android:layout_weight="1" |
| 30 android:gravity="center_vertical" |
| 31 android:singleLine="true" |
| 32 android:textColor="#343434" |
| 33 android:textSize="20sp" /> |
| 34 |
| 35 <ImageButton |
| 36 android:id="@+id/save" |
| 37 style="@style/EnhancedBookmarkTitleBarButton" |
| 38 android:contentDescription="@string/save" |
| 39 android:src="@drawable/eb_check_gray" /> |
| 40 </LinearLayout> |
| 41 |
| 42 <View |
| 43 android:layout_width="match_parent" |
| 44 android:layout_height="4dp" |
| 45 android:layout_marginBottom="-4dp" |
| 46 android:background="@drawable/eb_title_bar_shadow" /> |
| 47 |
| 48 <ScrollView |
| 49 android:layout_width="match_parent" |
| 50 android:layout_height="match_parent" > |
| 51 |
| 52 <LinearLayout |
| 53 android:layout_width="match_parent" |
| 54 android:layout_height="wrap_content" |
| 55 android:orientation="vertical" |
| 56 android:clipToPadding="false" > |
| 57 |
| 58 <EditText |
| 59 android:id="@+id/folder_title" |
| 60 android:layout_width="match_parent" |
| 61 android:layout_height="wrap_content" |
| 62 android:layout_marginEnd="12dp" |
| 63 android:layout_marginStart="12dp" |
| 64 android:layout_marginTop="24dp" |
| 65 android:hint="@string/title" |
| 66 android:imeOptions="flagNoExtractUi" |
| 67 android:inputType="textCapSentences|textAutoCorrect" |
| 68 android:textSize="24sp" /> |
| 69 |
| 70 <TextView |
| 71 android:layout_width="wrap_content" |
| 72 android:layout_height="wrap_content" |
| 73 android:layout_marginBottom="4dp" |
| 74 android:layout_marginEnd="16dp" |
| 75 android:layout_marginStart="16dp" |
| 76 android:layout_marginTop="24dp" |
| 77 android:text="@string/enhanced_bookmark_parent_folder" |
| 78 android:textColor="@color/enhanced_bookmark_detail_section" |
| 79 android:textSize="14sp" |
| 80 android:textStyle="bold" /> |
| 81 |
| 82 <TextView |
| 83 android:id="@+id/parent_folder" |
| 84 android:layout_width="match_parent" |
| 85 android:layout_height="wrap_content" |
| 86 android:layout_marginStart="16dp" |
| 87 android:layout_marginTop="8dp" |
| 88 android:layout_marginBottom="32dp" |
| 89 android:textColor="@color/dark_mode_tint" |
| 90 android:textSize="16sp" /> |
| 91 |
| 92 <org.chromium.chrome.browser.widget.ButtonCompat |
| 93 android:id="@+id/delete" |
| 94 android:layout_width="wrap_content" |
| 95 android:layout_height="wrap_content" |
| 96 android:layout_marginStart="12dp" |
| 97 android:layout_marginBottom="32dp" |
| 98 android:text="@string/delete" |
| 99 android:textAllCaps="true" |
| 100 android:textColor="#343434" |
| 101 android:textSize="14sp" |
| 102 chrome:buttonColor="@color/default_primary_color" /> |
| 103 </LinearLayout> |
| 104 </ScrollView> |
| 105 |
| 106 </LinearLayout> |
OLD | NEW |