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
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55

content / shell / android / java / res / layout / shell_view.xml [blame]

<?xml version="1.0" encoding="utf-8"?>

<!--
Copyright 2012 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<org.chromium.content_shell.Shell
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
    <LinearLayout android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:background="@drawable/progress">
        <ImageButton android:id="@+id/stop_reload_button"
            android:layout_width="38dp"
            android:layout_height="38dp"
            android:src="@android:drawable/ic_menu_close_clear_cancel"
            android:scaleType="centerCrop"
            tools:ignore="ContentDescription" />
        <EditText android:id="@+id/url"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="bottom"
            android:textSize="18sp"
            android:singleLine="true"
            android:selectAllOnFocus="true"
            android:hint="@string/url_hint"
            android:inputType="textUri"
            android:imeOptions="actionGo" />
        <ImageButton android:id="@+id/prev"
            android:layout_width="38dp"
            android:layout_height="38dp"
            android:src="@android:drawable/ic_media_previous"
            android:scaleType="center"
            tools:ignore="ContentDescription" />
        <ImageButton android:id="@+id/next"
            android:layout_width="38dp"
            android:layout_height="38dp"
            android:src="@android:drawable/ic_media_next"
            android:scaleType="center"
            tools:ignore="ContentDescription" />
    </LinearLayout>
    <FrameLayout android:id="@+id/contentview_holder"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1" />
</org.chromium.content_shell.Shell>