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

Unified Diff: chrome/android/java_staging/res/layout/url_container.xml

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 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
Index: chrome/android/java_staging/res/layout/url_container.xml
diff --git a/chrome/android/java_staging/res/layout/url_container.xml b/chrome/android/java_staging/res/layout/url_container.xml
new file mode 100644
index 0000000000000000000000000000000000000000..eed7b5735f1ef1cbda809fb017a9f485ebe9e3f4
--- /dev/null
+++ b/chrome/android/java_staging/res/layout/url_container.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2015 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
+<!-- The location bar also know as URL bar -->
+<org.chromium.chrome.browser.omnibox.UrlContainer
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+ <org.chromium.chrome.browser.omnibox.UrlBar
+ android:id="@+id/url_bar"
+ android:background="@null"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ android:singleLine="true"
+ android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
+ android:textSize="@dimen/location_bar_url_text_size"
+ android:inputType="textUri"
+ android:hint="@string/search_or_type_url" />
+ <org.chromium.chrome.browser.omnibox.TrailingTextView
+ android:id="@+id/trailing_text"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:gravity="center_vertical"
+ android:background="@null"
+ android:singleLine="true"
+ android:ellipsize="none"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="15dp"
+ android:visibility="gone"
+ android:textColor="@color/url_emphasis_non_emphasized_text"
+ android:textSize="@dimen/location_bar_url_text_size"
+ android:contentDescription="@null" />
+</org.chromium.chrome.browser.omnibox.UrlContainer>

Powered by Google App Engine
This is Rietveld 408576698