Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / android / java / res / layout / title_button_menu_item.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
3
4      Use of this source code is governed by a BSD-style license that can be
5      found in the LICENSE file.
6 -->
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8     xmlns:chrome="http://schemas.android.com/apk/res-auto"
9     android:layout_width="match_parent"
10     android:layout_height="?android:attr/listPreferredItemHeightSmall">
11     <TextView
12         android:id="@+id/title"
13         android:layout_width="wrap_content"
14         android:layout_height="match_parent"
15         android:layout_gravity="start"
16         android:layout_weight="1"
17         android:background="?android:attr/listChoiceBackgroundIndicator"
18         android:gravity="center_vertical"
19         android:paddingStart="?android:attr/listPreferredItemPaddingStart"
20         android:paddingEnd="9dp"
21         android:singleLine="true"
22         android:textAppearance="?android:attr/textAppearanceLargePopupMenu" />
23
24     <org.chromium.chrome.browser.widget.TintedImageButton
25         android:id="@+id/button"
26         android:layout_width="56dp"
27         android:layout_height="match_parent"
28         android:background="?android:attr/listChoiceBackgroundIndicator"
29         android:paddingStart="16dp"
30         android:paddingEnd="16dp"
31         android:paddingTop="12dp"
32         android:paddingBottom="12dp"
33         android:scaleType="fitCenter"
34         chrome:tint="@null" />
35 </LinearLayout>