mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
59 lines
No EOL
2 KiB
XML
59 lines
No EOL
2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
ownCloud Android client application
|
|
|
|
Copyright (C) 2012-2014 ownCloud Inc.
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License version 2,
|
|
as published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/list_item"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:paddingStart="16dip"
|
|
android:paddingEnd="16dip"
|
|
android:paddingRight="16dip"
|
|
android:paddingLeft="16dip"
|
|
android:minWidth="196dip"
|
|
android:background="?android:attr/activatedBackgroundIndicator"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:duplicateParentState="true" >
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="40dip"
|
|
android:layout_height="40dip"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="8dip"
|
|
android:layout_marginRight="8dip"
|
|
android:duplicateParentState="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
|
|
android:duplicateParentState="true"
|
|
android:singleLine="true"
|
|
android:ellipsize="marquee"
|
|
android:fadingEdge="horizontal" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |