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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/layout/pin_site_dialog.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,43 @@
     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 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    1.10 +              android:layout_width="fill_parent"
    1.11 +              android:layout_height="wrap_content"
    1.12 +              android:orientation="vertical">
    1.13 +
    1.14 +    <LinearLayout android:layout_width="fill_parent"
    1.15 +                  android:layout_height="@dimen/browser_toolbar_height"
    1.16 +                  android:orientation="vertical"
    1.17 +                  android:background="@color/background_normal"
    1.18 +                  android:padding="4dip">
    1.19 +
    1.20 +        <EditText android:id="@+id/search"
    1.21 +                  style="@style/UrlBar.Button"
    1.22 +                  android:layout_width="fill_parent"
    1.23 +                  android:layout_height="fill_parent"
    1.24 +                  android:padding="6dip"
    1.25 +                  android:hint="@string/pin_site_dialog_hint"
    1.26 +                  android:background="@drawable/url_bar_entry"
    1.27 +                  android:textColor="@color/url_bar_title"
    1.28 +                  android:textColorHint="@color/url_bar_title_hint"
    1.29 +                  android:textColorHighlight="@color/url_bar_text_highlight"
    1.30 +                  android:textSelectHandle="@drawable/handle_middle"
    1.31 +                  android:textSelectHandleLeft="@drawable/handle_start"
    1.32 +                  android:textSelectHandleRight="@drawable/handle_end"
    1.33 +                  android:textCursorDrawable="@null"
    1.34 +                  android:inputType="textUri|textNoSuggestions"
    1.35 +                  android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
    1.36 +                  android:singleLine="true"
    1.37 +                  android:gravity="center_vertical|left"/>
    1.38 +
    1.39 +    </LinearLayout>
    1.40 +
    1.41 +    <org.mozilla.gecko.home.HomeListView android:id="@+id/list"
    1.42 +                                         android:layout_width="fill_parent"
    1.43 +                                         android:layout_height="0dip"
    1.44 +                                         android:layout_weight="1.0"/>
    1.45 +
    1.46 +</LinearLayout>

mercurial