mobile/android/base/resources/layout/toolbar_edit_layout.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/layout/toolbar_edit_layout.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<merge xmlns:android="http://schemas.android.com/apk/res/android"
    1.10 +       xmlns:gecko="http://schemas.android.com/apk/res-auto">
    1.11 +
    1.12 +    <org.mozilla.gecko.toolbar.ToolbarEditText
    1.13 +          android:id="@+id/url_edit_text"
    1.14 +          style="@style/UrlBar.Button"
    1.15 +          android:layout_width="fill_parent"
    1.16 +          android:layout_height="fill_parent"
    1.17 +          android:layout_weight="1.0"
    1.18 +          android:hint="@string/url_bar_default_text"
    1.19 +          android:textColor="@color/url_bar_title"
    1.20 +          android:textColorHint="@color/url_bar_title_hint"
    1.21 +          android:textColorHighlight="@color/url_bar_text_highlight"
    1.22 +          android:textSelectHandle="@drawable/handle_middle"
    1.23 +          android:textSelectHandleLeft="@drawable/handle_start"
    1.24 +          android:textSelectHandleRight="@drawable/handle_end"
    1.25 +          android:textCursorDrawable="@null"
    1.26 +          android:inputType="textUri|textNoSuggestions"
    1.27 +          android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
    1.28 +          android:selectAllOnFocus="true"
    1.29 +          android:singleLine="true"
    1.30 +          android:gravity="center_vertical|left"
    1.31 +          gecko:autoUpdateTheme="false"/>
    1.32 +
    1.33 +</merge>

mercurial