Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: content/shell/android/res/layout/shell_view.xml

Issue 10035034: Implement the skeleton of an android content shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed drawable png as it was checked in separately. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/android/res/layout/shell_view.xml
diff --git a/content/shell/android/res/layout/shell_view.xml b/content/shell/android/res/layout/shell_view.xml
new file mode 100644
index 0000000000000000000000000000000000000000..b3eeee1b4b1b3c34c0c38d91cd80d1fdc601c29c
--- /dev/null
+++ b/content/shell/android/res/layout/shell_view.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+ -->
+
+<org.chromium.content_shell.ShellView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ 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">
+ <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:autoText="true"
+ android:capitalize="sentences"
+ android:singleLine="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" />
+ <ImageButton android:id="@+id/next"
+ android:layout_width="38dp"
+ android:layout_height="38dp"
+ android:src="@android:drawable/ic_media_next"
+ android:scaleType="center" />
+ </LinearLayout>
+ <FrameLayout android:id="@+id/contentview_holder"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+</org.chromium.content_shell.ShellView>

Powered by Google App Engine
This is Rietveld 408576698