summaryrefslogtreecommitdiffstats
path: root/android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml
diff options
context:
space:
mode:
authormikecase <mikecase@chromium.org>2016-03-21 14:18:05 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-21 21:19:03 +0000
commit49971fcb594aaa7181e001b3111cd3bf6410fb67 (patch)
tree0bba6aa85cbec611e3cb289ef51c3d1b31c55950 /android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml
parenta50f9840749052fbdec087a304548217cc6fd00b (diff)
downloadchromium_src-49971fcb594aaa7181e001b3111cd3bf6410fb67.zip
chromium_src-49971fcb594aaa7181e001b3111cd3bf6410fb67.tar.gz
chromium_src-49971fcb594aaa7181e001b3111cd3bf6410fb67.tar.bz2
[WebView] Reorganize all of the WebView Shell apks into their own dir.
Thought I could clean up the android_webview/tools dir a little bit. It basically has some random tools as well as the WebViewShell apks so I moved all the apks into a shared folder. - Moved all WebViewShell Apks into tools/system_webview_shell - Moved WebViewShell/test/ to system_webview_shell/test/data/ to better match the naming of test data elsewhere - Removed DEPRECATED_java_in_dir from tools/BUILD.gn. - Updated gn_migration.gypi since GN targets exist for the WebView Shell apks. BUG= Review URL: https://codereview.chromium.org/1785283005 Cr-Commit-Position: refs/heads/master@{#382390}
Diffstat (limited to 'android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml')
-rw-r--r--android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml b/android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml
new file mode 100644
index 0000000..07483c5
--- /dev/null
+++ b/android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2015 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.
+-->
+
+<LinearLayout 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"
+ android:gravity="center">
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+ <EditText
+ android:id="@+id/url_field"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1.0"
+ android:singleLine="true"
+ android:inputType="textUri"
+ android:imeOptions="actionGo" />
+ <ImageButton
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:src="@drawable/breadcrumb_arrow_black"
+ android:contentDescription="@string/load_url"
+ android:onClick="loadUrlFromUrlBar" />
+ <ImageButton
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:src="@drawable/item_more_black"
+ android:contentDescription="@string/menu_about"
+ android:onClick="showPopup" />
+ </LinearLayout>
+</LinearLayout>