diff options
author | Steve Block <steveblock@google.com> | 2011-11-03 11:04:31 -0700 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-11-07 14:54:51 +0000 |
commit | 2d803903af6158722c846ad8c605a7e8f7e4fd6d (patch) | |
tree | 78c8cd72fd67007a657c3f2e98d5c0c8c5cd91c0 /tests/WebViewTests/res/layout | |
parent | 93fdebb5ffd5ab1c703d5fdccda2e0b0cf4eafaa (diff) | |
download | frameworks_base-2d803903af6158722c846ad8c605a7e8f7e4fd6d.zip frameworks_base-2d803903af6158722c846ad8c605a7e8f7e4fd6d.tar.gz frameworks_base-2d803903af6158722c846ad8c605a7e8f7e4fd6d.tar.bz2 |
Adds a new test for type coercion in WebView's Java Bridge
This change adds a new directory of tests for the WebView, WebViewTests.
It also provides the first in a set of tests to test WebView's Java Bridge.
Once this set of tests is complete, the Java Bridge test in
packages/apps/Browser will be removed.
Bug: 5140673
Change-Id: I32b7fdc0ac5d2231e6b96ff232d336ad2c0fcaab
Diffstat (limited to 'tests/WebViewTests/res/layout')
-rw-r--r-- | tests/WebViewTests/res/layout/webview_layout.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/WebViewTests/res/layout/webview_layout.xml b/tests/WebViewTests/res/layout/webview_layout.xml new file mode 100644 index 0000000..d266d21 --- /dev/null +++ b/tests/WebViewTests/res/layout/webview_layout.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + * Copyright (C) 2009 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + --> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <WebView android:id="@+id/web_page" + android:layout_width="match_parent" + android:layout_height="match_parent" /> +</LinearLayout> |