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

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

Issue 1230313009: [Android] Make enhanced bookmark editing UI more straightforward. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reverted mojo change 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"
36 android:orientation="vertical" > 34 android:orientation="vertical" >
37 35
38 <android.support.design.widget.TextInputLayout 36 <android.support.design.widget.TextInputLayout
39 android:layout_width="match_parent" 37 android:layout_width="match_parent"
40 android:layout_height="wrap_content" > 38 android:layout_height="wrap_content"
41 39 android:layout_marginTop="22dp" >
42 <!-- android:text is set here is to avoid UI jumping. --> 40 <!-- android:text is set here is to avoid UI jumping. -->
43 <org.chromium.chrome.browser.widget.EmptyAlertEditText 41 <org.chromium.chrome.browser.widget.EmptyAlertEditText
44 android:id="@+id/title_text" 42 android:id="@+id/title_text"
45 android:layout_width="match_parent" 43 android:layout_width="match_parent"
46 android:layout_height="wrap_content" 44 android:layout_height="wrap_content"
47 android:hint="@string/bookmark_name" 45 android:hint="@string/bookmark_name"
48 android:text="@string/bookmark_name" 46 android:text="@string/bookmark_name"
49 android:imeOptions="flagNoExtractUi" 47 android:imeOptions="flagNoExtractUi"
50 android:inputType="textCapSentences|textAutoCorrect" 48 android:inputType="textCapSentences|textAutoCorrect"
51 android:singleLine="true" 49 android:singleLine="true"
52 chrome:alertMessage="@string/bookmark_missing_title" /> 50 chrome:alertMessage="@string/bookmark_missing_title" />
53 </android.support.design.widget.TextInputLayout> 51 </android.support.design.widget.TextInputLayout>
54 52
55 <TextView 53 <TextView
56 android:layout_width="wrap_content" 54 android:layout_width="wrap_content"
57 android:layout_height="wrap_content" 55 android:layout_height="wrap_content"
58 android:paddingEnd="3dp" 56 android:layout_marginTop="18dp"
59 android:paddingStart="3dp" 57 android:layout_marginStart="3dp"
60 android:paddingTop="8dp" 58 android:layout_marginEnd="3dp"
61 android:text="@string/bookmark_folder" 59 android:text="@string/bookmark_folder"
62 android:textAppearance="@style/TextAppearance.AppCompat.Small" / > 60 android:textAppearance="@style/TextAppearance.AppCompat.Small"
61 android:textSize="12sp" />
63 62
64 <TextView 63 <TextView
65 android:id="@+id/folder_text" 64 android:id="@+id/folder_text"
66 android:layout_width="match_parent" 65 android:layout_width="match_parent"
67 android:layout_height="wrap_content" 66 android:layout_height="wrap_content"
68 android:paddingBottom="8dp" 67 android:layout_marginTop="14dp"
69 android:paddingEnd="3dp" 68 android:layout_marginStart="3dp"
70 android:paddingStart="3dp" 69 android:layout_marginEnd="3dp"
71 android:paddingTop="8dp"
72 android:textAppearance="@style/TextAppearance.AppCompat.Medium" 70 android:textAppearance="@style/TextAppearance.AppCompat.Medium"
73 android:textColor="@color/dark_mode_tint" /> 71 android:textColor="@color/dark_mode_tint" />
74 72
75 <android.support.design.widget.TextInputLayout 73 <android.support.design.widget.TextInputLayout
76 android:layout_width="match_parent" 74 android:layout_width="match_parent"
77 android:layout_height="wrap_content" > 75 android:layout_height="wrap_content"
76 android:layout_marginTop="24dp" >
78 77
79 <org.chromium.chrome.browser.widget.EmptyAlertEditText 78 <org.chromium.chrome.browser.widget.EmptyAlertEditText
80 android:id="@+id/url_text" 79 android:id="@+id/url_text"
81 android:layout_width="match_parent" 80 android:layout_width="match_parent"
82 android:layout_height="wrap_content" 81 android:layout_height="wrap_content"
83 android:hint="@string/bookmark_url" 82 android:hint="@string/bookmark_url"
84 android:text="@string/bookmark_url" 83 android:text="@string/bookmark_url"
85 android:imeOptions="flagNoExtractUi" 84 android:imeOptions="flagNoExtractUi"
86 android:inputType="textUri" 85 android:inputType="textUri"
87 android:singleLine="true" 86 android:singleLine="true"
88 chrome:alertMessage="@string/bookmark_missing_url" /> 87 chrome:alertMessage="@string/bookmark_missing_url" />
89 </android.support.design.widget.TextInputLayout> 88 </android.support.design.widget.TextInputLayout>
90 </LinearLayout> 89 </LinearLayout>
91 </ScrollView> 90 </ScrollView>
92 </LinearLayout> 91 </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