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

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5
michael@0 6 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
michael@0 7 xmlns:gecko="http://schemas.android.com/apk/res-auto"
michael@0 8 android:layout_width="fill_parent"
michael@0 9 android:layout_height="fill_parent">
michael@0 10
michael@0 11 <ViewStub android:id="@+id/tabs_panel"
michael@0 12 android:layout="@layout/tabs_panel_view"
michael@0 13 android:layout_width="fill_parent"
michael@0 14 android:layout_height="fill_parent"/>
michael@0 15
michael@0 16 <view class="org.mozilla.gecko.GeckoApp$MainLayout"
michael@0 17 android:id="@+id/main_layout"
michael@0 18 android:layout_width="fill_parent"
michael@0 19 android:layout_height="fill_parent"
michael@0 20 android:background="@android:color/transparent">
michael@0 21
michael@0 22 <RelativeLayout android:id="@+id/gecko_layout"
michael@0 23 android:layout_width="fill_parent"
michael@0 24 android:layout_height="fill_parent"
michael@0 25 android:layout_above="@+id/find_in_page">
michael@0 26
michael@0 27 <include layout="@layout/shared_ui_components"/>
michael@0 28
michael@0 29 <FrameLayout android:id="@+id/home_pager_container"
michael@0 30 android:layout_width="fill_parent"
michael@0 31 android:layout_height="fill_parent"
michael@0 32 android:visibility="gone">
michael@0 33
michael@0 34 <ViewStub android:id="@+id/home_pager_stub"
michael@0 35 android:layout="@layout/home_pager"
michael@0 36 android:layout_width="fill_parent"
michael@0 37 android:layout_height="fill_parent"/>
michael@0 38
michael@0 39 <ViewStub android:id="@+id/home_banner_stub"
michael@0 40 android:layout="@layout/home_banner"
michael@0 41 android:layout_width="fill_parent"
michael@0 42 android:layout_height="@dimen/home_banner_height"
michael@0 43 android:layout_gravity="bottom"/>
michael@0 44
michael@0 45 </FrameLayout>
michael@0 46
michael@0 47 </RelativeLayout>
michael@0 48
michael@0 49 <org.mozilla.gecko.FindInPageBar android:id="@+id/find_in_page"
michael@0 50 android:layout_width="fill_parent"
michael@0 51 android:layout_height="wrap_content"
michael@0 52 android:layout_alignParentBottom="true"
michael@0 53 style="@style/FindBar"
michael@0 54 android:visibility="gone"/>
michael@0 55
michael@0 56 <org.mozilla.gecko.MediaCastingBar android:id="@+id/media_casting"
michael@0 57 android:layout_width="fill_parent"
michael@0 58 android:layout_height="wrap_content"
michael@0 59 android:layout_alignParentBottom="true"
michael@0 60 style="@style/FindBar"
michael@0 61 android:visibility="gone"/>
michael@0 62
michael@0 63 <FrameLayout android:id="@+id/search_container"
michael@0 64 android:layout_width="fill_parent"
michael@0 65 android:layout_height="fill_parent"
michael@0 66 android:layout_below="@+id/browser_actionbar"
michael@0 67 android:background="@android:color/white"
michael@0 68 android:visibility="invisible"/>
michael@0 69
michael@0 70 <!-- When focus is cleared from from BrowserToolbar's EditText to
michael@0 71 lower the virtual keyboard, focus will be returned to the root
michael@0 72 view. To make sure the EditText is not the first focusable view in
michael@0 73 the root view, BrowserToolbar should be specified as low in the
michael@0 74 view hierarchy as possible. -->
michael@0 75
michael@0 76 <org.mozilla.gecko.widget.GeckoViewFlipper android:id="@id/browser_actionbar"
michael@0 77 android:layout_width="fill_parent"
michael@0 78 android:layout_height="@dimen/browser_toolbar_height"
michael@0 79 android:clickable="true"
michael@0 80 android:focusable="true">
michael@0 81
michael@0 82 <org.mozilla.gecko.toolbar.BrowserToolbar
michael@0 83 android:id="@+id/browser_toolbar"
michael@0 84 style="@style/BrowserToolbar"
michael@0 85 android:layout_width="fill_parent"
michael@0 86 android:layout_height="@dimen/browser_toolbar_height"
michael@0 87 android:clickable="true"
michael@0 88 android:focusable="true"
michael@0 89 android:background="@drawable/url_bar_bg"/>
michael@0 90
michael@0 91 <org.mozilla.gecko.ActionModeCompatView android:id="@+id/actionbar"
michael@0 92 android:layout_height="fill_parent"
michael@0 93 android:layout_width="fill_parent"
michael@0 94 style="@style/GeckoActionBar"/>
michael@0 95
michael@0 96 </org.mozilla.gecko.widget.GeckoViewFlipper>
michael@0 97
michael@0 98 <org.mozilla.gecko.toolbar.ToolbarProgressView android:id="@+id/progress"
michael@0 99 android:layout_width="fill_parent"
michael@0 100 android:layout_height="14dp"
michael@0 101 android:layout_marginTop="-8dp"
michael@0 102 android:layout_below="@id/browser_actionbar"
michael@0 103 android:src="@drawable/progress"
michael@0 104 android:background="@null"
michael@0 105 android:visibility="gone" />
michael@0 106
michael@0 107 </view>
michael@0 108
michael@0 109 <ViewStub android:id="@+id/toast_stub"
michael@0 110 android:layout="@layout/button_toast"
michael@0 111 style="@style/Toast"/>
michael@0 112
michael@0 113 </RelativeLayout>

mercurial