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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 2
3 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 4
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 8
9 <org.chromium.content_shell.Shell 9 <LinearLayout android:id="@+id/testshell_activity"
10 xmlns:android="http://schemas.android.com/apk/res/android" 10 xmlns:android="http://schemas.android.com/apk/res/android"
11 android:id="@+id/container"
12 android:layout_width="match_parent" 11 android:layout_width="match_parent"
13 android:layout_height="match_parent" 12 android:layout_height="match_parent"
14 android:orientation="vertical" > 13 android:orientation="vertical">
15 <LinearLayout android:id="@+id/toolbar" 14 <LinearLayout android:id="@+id/toolbar"
16 android:layout_width="match_parent" 15 android:layout_width="match_parent"
17 android:layout_height="wrap_content" 16 android:layout_height="wrap_content"
18 android:orientation="horizontal" 17 android:orientation="horizontal">
19 android:background="@drawable/progress">
20 <EditText android:id="@+id/url" 18 <EditText android:id="@+id/url"
21 android:layout_width="0dp" 19 android:layout_width="0dp"
22 android:layout_height="wrap_content" 20 android:layout_height="wrap_content"
23 android:layout_weight="1" 21 android:layout_weight="1"
24 android:gravity="bottom" 22 android:gravity="bottom"
25 android:textSize="18sp" 23 android:textSize="18sp"
26 android:autoText="true" 24 android:autoText="true"
27 android:capitalize="sentences" 25 android:capitalize="sentences"
28 android:singleLine="true" 26 android:singleLine="true"
29 android:selectAllOnFocus="true" 27 android:selectAllOnFocus="true"
30 android:hint="@string/url_hint"
31 android:inputType="textUri" 28 android:inputType="textUri"
32 android:imeOptions="actionGo" /> 29 android:imeOptions="actionGo" />
33 <ImageButton android:id="@+id/prev" 30 <ImageButton android:id="@+id/prev"
34 android:layout_width="38dp" 31 android:layout_width="38dp"
35 android:layout_height="38dp" 32 android:layout_height="38dp"
36 android:src="@android:drawable/ic_media_previous" 33 android:src="@android:drawable/ic_media_previous"
37 android:scaleType="center" /> 34 android:scaleType="center" />
38 <ImageButton android:id="@+id/next" 35 <ImageButton android:id="@+id/next"
39 android:layout_width="38dp" 36 android:layout_width="38dp"
40 android:layout_height="38dp" 37 android:layout_height="38dp"
41 android:src="@android:drawable/ic_media_next" 38 android:src="@android:drawable/ic_media_next"
42 android:scaleType="center" /> 39 android:scaleType="center" />
43 </LinearLayout> 40 </LinearLayout>
44 <FrameLayout android:id="@+id/contentview_holder" 41 <LinearLayout android:id="@+id/content_container"
45 android:layout_width="match_parent" 42 android:layout_width="match_parent"
46 android:layout_height="0dp" 43 android:layout_height="match_parent">
47 android:layout_weight="1" /> 44 </LinearLayout>
48 </org.chromium.content_shell.Shell> 45
46 </LinearLayout>
47
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698