OLD | NEW |
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) 2012 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 <org.chromium.content_shell.Shell |
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" | 11 android:id="@+id/container" |
12 android:layout_width="match_parent" | 12 android:layout_width="match_parent" |
13 android:layout_height="match_parent" | 13 android:layout_height="match_parent" |
14 android:orientation="vertical" > | 14 android:orientation="vertical" > |
15 <LinearLayout android:id="@+id/toolbar" | 15 <LinearLayout android:id="@+id/toolbar" |
16 android:layout_width="match_parent" | 16 android:layout_width="match_parent" |
17 android:layout_height="wrap_content" | 17 android:layout_height="wrap_content" |
18 android:orientation="horizontal" | 18 android:orientation="horizontal" |
19 android:background="@drawable/progress"> | 19 android:background="@drawable/progress"> |
| 20 <ImageButton android:id="@+id/stop" |
| 21 android:layout_width="38dp" |
| 22 android:layout_height="38dp" |
| 23 android:src="@android:drawable/ic_menu_close_clear_cancel" |
| 24 android:scaleType="center" /> |
| 25 <ImageButton android:id="@+id/reload" |
| 26 android:layout_width="38dp" |
| 27 android:layout_height="38dp" |
| 28 android:src="@drawable/ic_refresh" |
| 29 android:scaleType="centerCrop" /> |
20 <EditText android:id="@+id/url" | 30 <EditText android:id="@+id/url" |
21 android:layout_width="0dp" | 31 android:layout_width="0dp" |
22 android:layout_height="wrap_content" | 32 android:layout_height="wrap_content" |
23 android:layout_weight="1" | 33 android:layout_weight="1" |
24 android:gravity="bottom" | 34 android:gravity="bottom" |
25 android:textSize="18sp" | 35 android:textSize="18sp" |
26 android:autoText="true" | 36 android:autoText="true" |
27 android:capitalize="sentences" | 37 android:capitalize="sentences" |
28 android:singleLine="true" | 38 android:singleLine="true" |
29 android:selectAllOnFocus="true" | 39 android:selectAllOnFocus="true" |
30 android:hint="@string/url_hint" | 40 android:hint="@string/url_hint" |
31 android:inputType="textUri" | 41 android:inputType="textUri" |
32 android:imeOptions="actionGo" /> | 42 android:imeOptions="actionGo" /> |
33 <ImageButton android:id="@+id/prev" | 43 <ImageButton android:id="@+id/prev" |
34 android:layout_width="38dp" | 44 android:layout_width="38dp" |
35 android:layout_height="38dp" | 45 android:layout_height="38dp" |
36 android:src="@android:drawable/ic_media_previous" | 46 android:src="@android:drawable/ic_media_previous" |
37 android:scaleType="center" /> | 47 android:scaleType="center" /> |
38 <ImageButton android:id="@+id/next" | 48 <ImageButton android:id="@+id/next" |
39 android:layout_width="38dp" | 49 android:layout_width="38dp" |
40 android:layout_height="38dp" | 50 android:layout_height="38dp" |
41 android:src="@android:drawable/ic_media_next" | 51 android:src="@android:drawable/ic_media_next" |
42 android:scaleType="center" /> | 52 android:scaleType="center" /> |
43 </LinearLayout> | 53 </LinearLayout> |
44 <FrameLayout android:id="@+id/contentview_holder" | 54 <FrameLayout android:id="@+id/contentview_holder" |
45 android:layout_width="match_parent" | 55 android:layout_width="match_parent" |
46 android:layout_height="0dp" | 56 android:layout_height="0dp" |
47 android:layout_weight="1" /> | 57 android:layout_weight="1" /> |
48 </org.chromium.content_shell.Shell> | 58 </org.chromium.content_shell.Shell> |
OLD | NEW |