summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/pin_site_dialog.xml
blob: 07eb152d77c0ef51010f4af8e8915435266b79ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="vertical">

    <LinearLayout android:layout_width="match_parent"
                  android:layout_height="@dimen/browser_toolbar_height"
                  android:orientation="vertical"
                  android:background="@color/toolbar_grey"
                  android:padding="4dip">

        <EditText android:id="@+id/search"
                  style="@style/UrlBar.Button"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:padding="6dip"
                  android:hint="@string/pin_site_dialog_hint"
                  android:background="@drawable/url_bar_entry"
                  android:textColor="@color/url_bar_title"
                  android:textColorHint="@color/url_bar_title_hint"
                  android:textColorHighlight="@color/fennec_ui_orange"
                  android:textSelectHandle="@drawable/handle_middle"
                  android:textSelectHandleLeft="@drawable/handle_start"
                  android:textSelectHandleRight="@drawable/handle_end"
                  android:textCursorDrawable="@null"
                  android:inputType="textUri|textNoSuggestions"
                  android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
                  android:singleLine="true"
                  android:gravity="center_vertical|left"/>

    </LinearLayout>

    <org.mozilla.gecko.home.HomeListView android:id="@+id/list"
                                         android:layout_width="match_parent"
                                         android:layout_height="0dip"
                                         android:layout_weight="1.0"/>

</LinearLayout>