Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(946)

Side by Side Diff: chrome/android/java/res/layout/eb_edit.xml

Issue 1278963004: Revert of [Android] Make enhanced bookmark editing UI more straightforward. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- 2 <!--
3 Copyright 2015 The Chromium Authors. All rights reserved. 3 Copyright 2015 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:chrome="http://schemas.android.com/apk/res-auto" 8 xmlns:chrome="http://schemas.android.com/apk/res-auto"
9 android:layout_width="match_parent" 9 android:layout_width="match_parent"
10 android:layout_height="match_parent" 10 android:layout_height="match_parent"
(...skipping 13 matching lines...) Expand all
24 24
25 <ScrollView 25 <ScrollView
26 android:layout_width="match_parent" 26 android:layout_width="match_parent"
27 android:layout_height="match_parent" > 27 android:layout_height="match_parent" >
28 28
29 <LinearLayout 29 <LinearLayout
30 android:layout_width="match_parent" 30 android:layout_width="match_parent"
31 android:layout_height="wrap_content" 31 android:layout_height="wrap_content"
32 android:layout_marginEnd="16dp" 32 android:layout_marginEnd="16dp"
33 android:layout_marginStart="16dp" 33 android:layout_marginStart="16dp"
34 android:layout_marginTop="8dp"
35 android:layout_marginBottom="8dp"
34 android:orientation="vertical" > 36 android:orientation="vertical" >
35 37
36 <android.support.design.widget.TextInputLayout 38 <android.support.design.widget.TextInputLayout
37 android:layout_width="match_parent" 39 android:layout_width="match_parent"
38 android:layout_height="wrap_content" 40 android:layout_height="wrap_content" >
39 android:layout_marginTop="22dp" > 41
40 <!-- android:text is set here is to avoid UI jumping. --> 42 <!-- android:text is set here is to avoid UI jumping. -->
41 <org.chromium.chrome.browser.widget.EmptyAlertEditText 43 <org.chromium.chrome.browser.widget.EmptyAlertEditText
42 android:id="@+id/title_text" 44 android:id="@+id/title_text"
43 android:layout_width="match_parent" 45 android:layout_width="match_parent"
44 android:layout_height="wrap_content" 46 android:layout_height="wrap_content"
45 android:hint="@string/bookmark_name" 47 android:hint="@string/bookmark_name"
46 android:text="@string/bookmark_name" 48 android:text="@string/bookmark_name"
47 android:imeOptions="flagNoExtractUi" 49 android:imeOptions="flagNoExtractUi"
48 android:inputType="textCapSentences|textAutoCorrect" 50 android:inputType="textCapSentences|textAutoCorrect"
49 android:singleLine="true" 51 android:singleLine="true"
50 chrome:alertMessage="@string/bookmark_missing_title" /> 52 chrome:alertMessage="@string/bookmark_missing_title" />
51 </android.support.design.widget.TextInputLayout> 53 </android.support.design.widget.TextInputLayout>
52 54
53 <TextView 55 <TextView
54 android:layout_width="wrap_content" 56 android:layout_width="wrap_content"
55 android:layout_height="wrap_content" 57 android:layout_height="wrap_content"
56 android:layout_marginTop="18dp" 58 android:paddingEnd="3dp"
57 android:layout_marginStart="3dp" 59 android:paddingStart="3dp"
58 android:layout_marginEnd="3dp" 60 android:paddingTop="8dp"
59 android:text="@string/bookmark_folder" 61 android:text="@string/bookmark_folder"
60 android:textAppearance="@style/TextAppearance.AppCompat.Small" 62 android:textAppearance="@style/TextAppearance.AppCompat.Small" / >
61 android:textSize="12sp" />
62 63
63 <TextView 64 <TextView
64 android:id="@+id/folder_text" 65 android:id="@+id/folder_text"
65 android:layout_width="match_parent" 66 android:layout_width="match_parent"
66 android:layout_height="wrap_content" 67 android:layout_height="wrap_content"
67 android:layout_marginTop="14dp" 68 android:paddingBottom="8dp"
68 android:layout_marginStart="3dp" 69 android:paddingEnd="3dp"
69 android:layout_marginEnd="3dp" 70 android:paddingStart="3dp"
71 android:paddingTop="8dp"
70 android:textAppearance="@style/TextAppearance.AppCompat.Medium" 72 android:textAppearance="@style/TextAppearance.AppCompat.Medium"
71 android:textColor="@color/dark_mode_tint" /> 73 android:textColor="@color/dark_mode_tint" />
72 74
73 <android.support.design.widget.TextInputLayout 75 <android.support.design.widget.TextInputLayout
74 android:layout_width="match_parent" 76 android:layout_width="match_parent"
75 android:layout_height="wrap_content" 77 android:layout_height="wrap_content" >
76 android:layout_marginTop="24dp" >
77 78
78 <org.chromium.chrome.browser.widget.EmptyAlertEditText 79 <org.chromium.chrome.browser.widget.EmptyAlertEditText
79 android:id="@+id/url_text" 80 android:id="@+id/url_text"
80 android:layout_width="match_parent" 81 android:layout_width="match_parent"
81 android:layout_height="wrap_content" 82 android:layout_height="wrap_content"
82 android:hint="@string/bookmark_url" 83 android:hint="@string/bookmark_url"
83 android:text="@string/bookmark_url" 84 android:text="@string/bookmark_url"
84 android:imeOptions="flagNoExtractUi" 85 android:imeOptions="flagNoExtractUi"
85 android:inputType="textUri" 86 android:inputType="textUri"
86 android:singleLine="true" 87 android:singleLine="true"
87 chrome:alertMessage="@string/bookmark_missing_url" /> 88 chrome:alertMessage="@string/bookmark_missing_url" />
88 </android.support.design.widget.TextInputLayout> 89 </android.support.design.widget.TextInputLayout>
89 </LinearLayout> 90 </LinearLayout>
90 </ScrollView> 91 </ScrollView>
91 </LinearLayout> 92 </LinearLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkAddEditFolderActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698