OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> |
| 5 |
| 6 <org.chromium.chrome.browser.widget.emptybackground.EmptyBackgroundViewTablet |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 9 android:id="@+id/empty_container" |
| 10 android:layout_width="match_parent" |
| 11 android:layout_height="match_parent" |
| 12 android:visibility="gone" |
| 13 android:background="@color/tab_switcher_background"> |
| 14 <LinearLayout |
| 15 android:id="@+id/empty_layout_button_container" |
| 16 android:orientation="horizontal" |
| 17 android:layout_width="match_parent" |
| 18 android:layout_height="wrap_content" |
| 19 android:layout_gravity="top|start" |
| 20 android:paddingTop="@dimen/menu_negative_software_vertical_offset"> |
| 21 <view class="org.chromium.chrome.browser.widget.newtab.NewTabButton" |
| 22 android:id="@+id/empty_new_tab_button" |
| 23 style="@style/ToolbarButton" |
| 24 android:layout_width="wrap_content" |
| 25 android:layout_gravity="start|top" |
| 26 android:paddingStart="16dp" |
| 27 android:paddingEnd="16dp" |
| 28 android:src="@drawable/btn_new_tab_white" |
| 29 android:gravity="center_vertical" |
| 30 android:background="?attr/selectableItemBackground" |
| 31 android:contentDescription="@string/accessibility_tabstrip_btn_empty
_new_tab" |
| 32 /> |
| 33 <View |
| 34 android:layout_weight="1.0" |
| 35 android:layout_height="wrap_content" |
| 36 android:layout_width="0dp" /> |
| 37 <org.chromium.chrome.browser.widget.incognitotoggle.IncognitoToggleButto
nTablet |
| 38 android:id="@+id/empty_incognito_toggle_button" |
| 39 android:layout_width="48dp" |
| 40 android:layout_height="@dimen/toolbar_height_no_shadow" |
| 41 android:visibility="gone" |
| 42 android:scaleType="center" |
| 43 android:background="?attr/selectableItemBackground" |
| 44 android:contentDescription="@string/accessibility_tabstrip_btn_incog
nito_toggle_standard" |
| 45 /> |
| 46 <org.chromium.chrome.browser.widget.TintedImageButton |
| 47 android:id="@+id/empty_menu_button" |
| 48 style="@style/ToolbarButton" |
| 49 android:layout_width="48dp" |
| 50 android:layout_height="@dimen/toolbar_height_no_shadow" |
| 51 android:src="@drawable/btn_menu" |
| 52 android:scaleType="center" |
| 53 android:contentDescription="@string/accessibility_toolbar_btn_menu" |
| 54 android:paddingStart="2dp" |
| 55 chrome:tint="@color/light_mode_tint" |
| 56 /> |
| 57 </LinearLayout> |
| 58 </org.chromium.chrome.browser.widget.emptybackground.EmptyBackgroundViewTablet> |
OLD | NEW |