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

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

Issue 1182083005: Re-engineer edit screen in enhanced bookmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove description code in native, use new UI wedgit Created 5 years, 6 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
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
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
5 found in the LICENSE file.
6 -->
7 <LinearLayout 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:orientation="vertical" >
12
13 <android.support.v7.widget.Toolbar
14 android:id="@+id/toolbar"
15 android:layout_width="match_parent"
16 android:layout_height="wrap_content"
17 android:background="?attr/colorPrimary"
18 android:minHeight="?attr/actionBarSize" />
19
20 <View
21 android:layout_width="match_parent"
22 android:layout_height="4dp"
23 android:layout_marginBottom="-4dp"
24 android:background="@drawable/eb_title_bar_shadow" />
25
26 <ScrollView
27 android:layout_width="match_parent"
28 android:layout_height="match_parent" >
29
30 <LinearLayout
31 android:layout_width="match_parent"
32 android:layout_height="wrap_content"
33 android:layout_marginEnd="16dp"
34 android:layout_marginStart="16dp"
35 android:layout_marginTop="8dp"
36 android:layout_marginBottom="8dp"
37 android:orientation="vertical" >
38
39 <org.chromium.chrome.browser.widget.FloatLabelLayout
40 android:layout_width="match_parent"
41 android:layout_height="wrap_content" >
42
43 <org.chromium.chrome.browser.widget.EmptyAlertEditText
44 android:id="@+id/title_text"
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
47 android:hint="@string/bookmark_name"
48 android:imeOptions="flagNoExtractUi"
49 android:inputType="textCapSentences|textAutoCorrect"
50 android:singleLine="true"
51 chrome:alertMessage="@string/bookmark_missing_title" />
52 </org.chromium.chrome.browser.widget.FloatLabelLayout>
53
54 <TextView
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:paddingEnd="3dp"
58 android:paddingStart="3dp"
59 android:paddingTop="8dp"
60 android:text="@string/bookmark_folder"
61 android:textAppearance="@style/TextAppearance.AppCompat.Small" / >
62
63 <TextView
64 android:id="@+id/folder_text"
65 android:layout_width="match_parent"
66 android:layout_height="wrap_content"
67 android:paddingBottom="8dp"
68 android:paddingEnd="3dp"
69 android:paddingStart="3dp"
70 android:paddingTop="8dp"
71 android:textAppearance="@style/TextAppearance.AppCompat.Medium"
72 android:textColor="@color/dark_mode_tint" />
73
74 <org.chromium.chrome.browser.widget.FloatLabelLayout
75 android:layout_width="match_parent"
76 android:layout_height="wrap_content" >
77
78 <org.chromium.chrome.browser.widget.EmptyAlertEditText
79 android:id="@+id/url_text"
80 android:layout_width="match_parent"
81 android:layout_height="wrap_content"
82 android:hint="@string/bookmark_url"
83 android:imeOptions="flagNoExtractUi"
84 android:inputType="textUri"
85 android:singleLine="true"
86 chrome:alertMessage="@string/bookmark_missing_url" />
87 </org.chromium.chrome.browser.widget.FloatLabelLayout>
88 </LinearLayout>
89 </ScrollView>
90
91 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698