OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> |
| 5 |
| 6 <!-- The location bar also know as URL bar --> |
| 7 <org.chromium.chrome.browser.omnibox.UrlContainer |
| 8 xmlns:android="http://schemas.android.com/apk/res/android" |
| 9 android:layout_width="match_parent" |
| 10 android:layout_height="wrap_content"> |
| 11 <org.chromium.chrome.browser.omnibox.UrlBar |
| 12 android:id="@+id/url_bar" |
| 13 android:background="@null" |
| 14 android:layout_width="match_parent" |
| 15 android:layout_height="match_parent" |
| 16 android:gravity="center_vertical" |
| 17 android:singleLine="true" |
| 18 android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen" |
| 19 android:textSize="@dimen/location_bar_url_text_size" |
| 20 android:inputType="textUri" |
| 21 android:hint="@string/search_or_type_url" /> |
| 22 <org.chromium.chrome.browser.omnibox.TrailingTextView |
| 23 android:id="@+id/trailing_text" |
| 24 android:layout_width="0dp" |
| 25 android:layout_height="0dp" |
| 26 android:gravity="center_vertical" |
| 27 android:background="@null" |
| 28 android:singleLine="true" |
| 29 android:ellipsize="none" |
| 30 android:fadingEdge="horizontal" |
| 31 android:fadingEdgeLength="15dp" |
| 32 android:visibility="gone" |
| 33 android:textColor="@color/url_emphasis_non_emphasized_text" |
| 34 android:textSize="@dimen/location_bar_url_text_size" |
| 35 android:contentDescription="@null" /> |
| 36 </org.chromium.chrome.browser.omnibox.UrlContainer> |
OLD | NEW |