Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / share_dialog_item.xml
blobd0ee264d3998f24afdadd4d88b2dc055a127120e
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 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. -->
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
7     android:layout_width="match_parent"
8     android:layout_height="wrap_content"
9     android:background="?attr/selectableItemBackground"
10     android:gravity="center_vertical"
11     android:orientation="horizontal" >
12     <ImageView android:id="@+id/icon"
13         android:layout_width="48dp"
14         android:layout_height="48dp"
15         android:layout_marginStart="12dp"
16         android:padding="4dp"
17         android:scaleType="fitCenter"
18         android:contentDescription="@null" />
19     <TextView android:id="@+id/text"
20         android:layout_width="wrap_content"
21         android:layout_height="wrap_content"
22         android:layout_marginStart="12dp"
23         android:ellipsize="end"
24         android:maxLines="2"
25         android:textAlignment="viewStart"
26         android:textAppearance="?android:attr/textAppearanceMedium" />
27 </LinearLayout>