Merge pull request #453 from owncloud/improve_action_bar_pr_392_with_develop
[pub/Android/ownCloud.git] / res / layout / activity_row.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012-2014 ownCloud Inc.
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2,
9 as published by the Free Software Foundation.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 -->
19
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21 android:id="@+id/list_item"
22 android:layout_width="match_parent"
23 android:layout_height="48dp"
24 android:paddingRight="16dip"
25 android:paddingLeft="16dip"
26 android:minWidth="196dip"
27 android:orientation="vertical" >
28
29 <LinearLayout
30 android:layout_width="wrap_content"
31 android:layout_height="match_parent"
32 android:duplicateParentState="true" >
33
34 <ImageView
35 android:id="@+id/icon"
36 android:layout_width="40dip"
37 android:layout_height="40dip"
38 android:layout_gravity="center_vertical"
39 android:layout_marginRight="8dip"
40 android:duplicateParentState="true" />
41
42 <TextView
43 android:id="@+id/title"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:layout_gravity="center_vertical"
47 android:textAppearance="?android:attr/textAppearanceLarge"
48 android:duplicateParentState="true"
49 android:singleLine="true"
50 android:ellipsize="marquee"
51 android:fadingEdge="horizontal" />
52
53 </LinearLayout>
54
55 </LinearLayout>