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

Unified Diff: android_webview/shell_apk/res/layout/testshell_activity.xml

Issue 12317015: [android_webview] Add test shell for webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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: android_webview/shell_apk/res/layout/testshell_activity.xml
diff --git a/content/shell/android/java/res/layout/shell_view.xml b/android_webview/shell_apk/res/layout/testshell_activity.xml
similarity index 75%
copy from content/shell/android/java/res/layout/shell_view.xml
copy to android_webview/shell_apk/res/layout/testshell_activity.xml
index d6c15d6f91f855af81c6a6550043c5fae7e1226a..0a997fa14d5d2902d83da4040a8d278394abeffc 100644
--- a/content/shell/android/java/res/layout/shell_view.xml
+++ b/android_webview/shell_apk/res/layout/testshell_activity.xml
@@ -1,22 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
+<!-- Copyright (c) 2013 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.Shell
+<LinearLayout android:id="@+id/testshell_activity"
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" >
+ 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">
+ android:orientation="horizontal">
<EditText android:id="@+id/url"
android:layout_width="0dp"
android:layout_height="wrap_content"
@@ -27,7 +25,6 @@
android:capitalize="sentences"
android:singleLine="true"
android:selectAllOnFocus="true"
- android:hint="@string/url_hint"
android:inputType="textUri"
android:imeOptions="actionGo" />
<ImageButton android:id="@+id/prev"
@@ -41,8 +38,10 @@
android:src="@android:drawable/ic_media_next"
android:scaleType="center" />
</LinearLayout>
- <FrameLayout android:id="@+id/contentview_holder"
+ <LinearLayout android:id="@+id/content_container"
android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1" />
-</org.chromium.content_shell.Shell>
+ android:layout_height="match_parent">
+ </LinearLayout>
+
+</LinearLayout>
+

Powered by Google App Engine
This is Rietveld 408576698