mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 06:05:42 +03:00
59 lines
No EOL
2.3 KiB
XML
59 lines
No EOL
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
ownCloud Android client application
|
|
|
|
Copyright (C) 2015 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="@dimen/standard_padding_independent"
|
|
android:paddingEnd="@dimen/standard_padding_independent"
|
|
android:paddingRight="@dimen/standard_padding_independent"
|
|
android:paddingLeft="@dimen/standard_padding_independent"
|
|
android:minWidth="@dimen/activity_row_layout_min_width_independent"
|
|
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="@dimen/user_icon_size_independent"
|
|
android:layout_height="@dimen/user_icon_size_independent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="@dimen/standard_half_padding_independent"
|
|
android:layout_marginRight="@dimen/standard_half_padding_independent"
|
|
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> |