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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/eb_edit.xml
diff --git a/chrome/android/java/res/layout/eb_edit.xml b/chrome/android/java/res/layout/eb_edit.xml
index 5665c6508bd426f5ffeb2764be8802281e985122..a8254096fdac7d8f7b5a9018b19a15208f9ac2c3 100644
--- a/chrome/android/java/res/layout/eb_edit.xml
+++ b/chrome/android/java/res/layout/eb_edit.xml
@@ -31,14 +31,12 @@
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
- android:layout_marginTop="8dp"
- android:layout_marginBottom="8dp"
android:orientation="vertical" >
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content" >
-
+ android:layout_height="wrap_content"
+ android:layout_marginTop="22dp" >
<!-- android:text is set here is to avoid UI jumping. -->
<org.chromium.chrome.browser.widget.EmptyAlertEditText
android:id="@+id/title_text"
@@ -55,26 +53,27 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingEnd="3dp"
- android:paddingStart="3dp"
- android:paddingTop="8dp"
+ android:layout_marginTop="18dp"
+ android:layout_marginStart="3dp"
+ android:layout_marginEnd="3dp"
android:text="@string/bookmark_folder"
- android:textAppearance="@style/TextAppearance.AppCompat.Small" />
+ android:textAppearance="@style/TextAppearance.AppCompat.Small"
+ android:textSize="12sp" />
<TextView
android:id="@+id/folder_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingBottom="8dp"
- android:paddingEnd="3dp"
- android:paddingStart="3dp"
- android:paddingTop="8dp"
+ android:layout_marginTop="14dp"
+ android:layout_marginStart="3dp"
+ android:layout_marginEnd="3dp"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="@color/dark_mode_tint" />
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content" >
+ android:layout_height="wrap_content"
+ android:layout_marginTop="24dp" >
<org.chromium.chrome.browser.widget.EmptyAlertEditText
android:id="@+id/url_text"
« 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