| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 | |
| 3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | |
| 4 | |
| 5 Use of this source code is governed by a BSD-style license that can be | |
| 6 found in the LICENSE file. | |
| 7 --> | |
| 8 | |
| 9 <org.chromium.chrome.shell.TabManager android:id="@+id/tab_manager" | |
| 10 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 11 xmlns:chrome="http://schemas.android.com/apk/res-auto" | |
| 12 android:layout_width="match_parent" | |
| 13 android:layout_height="match_parent" | |
| 14 android:orientation="vertical"> | |
| 15 <org.chromium.chrome.shell.ChromeShellToolbar android:id="@+id/toolbar" | |
| 16 android:layout_width="match_parent" | |
| 17 android:layout_height="wrap_content" | |
| 18 android:orientation="vertical"> | |
| 19 <LinearLayout | |
| 20 android:layout_width="match_parent" | |
| 21 android:layout_height="wrap_content" | |
| 22 android:orientation="horizontal"> | |
| 23 <org.chromium.chrome.browser.widget.TintedImageButton | |
| 24 android:id="@+id/add_button" | |
| 25 android:layout_width="38dp" | |
| 26 android:layout_height="38dp" | |
| 27 android:src="@android:drawable/ic_menu_add" | |
| 28 android:visibility="gone" | |
| 29 android:scaleType="center"/> | |
| 30 <org.chromium.chrome.browser.widget.TintedImageButton | |
| 31 android:id="@+id/stop_reload_button" | |
| 32 android:layout_width="38dp" | |
| 33 android:layout_height="38dp" | |
| 34 android:src="@drawable/btn_close" | |
| 35 android:background="?attr/selectableItemBackground" | |
| 36 android:scaleType="center"/> | |
| 37 <EditText android:id="@+id/url" | |
| 38 android:layout_width="0dp" | |
| 39 android:layout_height="wrap_content" | |
| 40 android:layout_weight="1" | |
| 41 android:gravity="bottom" | |
| 42 android:textSize="18sp" | |
| 43 android:singleLine="true" | |
| 44 android:selectAllOnFocus="true" | |
| 45 android:hint="@string/url_hint" | |
| 46 android:inputType="textUri" | |
| 47 android:imeOptions="actionGo|flagNoExtractUi" /> | |
| 48 <org.chromium.chrome.browser.widget.TintedImageButton | |
| 49 android:id="@+id/tab_switcher" | |
| 50 android:layout_width="38dp" | |
| 51 android:layout_height="38dp" | |
| 52 android:src="@drawable/btn_tabswitcher" | |
| 53 android:background="?attr/selectableItemBackground" | |
| 54 android:scaleType="center" | |
| 55 android:contentDescription="@null"/> | |
| 56 <org.chromium.chrome.browser.widget.TintedImageButton | |
| 57 android:id="@+id/menu_button" | |
| 58 android:layout_width="38dp" | |
| 59 android:layout_height="38dp" | |
| 60 android:src="@drawable/btn_menu" | |
| 61 android:background="?attr/selectableItemBackground" | |
| 62 android:scaleType="center"/> | |
| 63 </LinearLayout> | |
| 64 <org.chromium.chrome.browser.widget.ToolbarProgressBar | |
| 65 android:id="@+id/progress" | |
| 66 android:layout_width="match_parent" | |
| 67 android:layout_height="2dp" | |
| 68 chrome:progressBarColor="@color/material_deep_teal_500" | |
| 69 chrome:backgroundColor="@android:color/transparent" /> | |
| 70 </org.chromium.chrome.shell.ChromeShellToolbar> | |
| 71 <FrameLayout android:id="@+id/content_container" | |
| 72 android:layout_width="match_parent" | |
| 73 android:layout_height="0dp" | |
| 74 android:layout_weight="1"> | |
| 75 </FrameLayout> | |
| 76 | |
| 77 </org.chromium.chrome.shell.TabManager> | |
| OLD | NEW |