2014-09-15 11:41:54 +04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
ownCloud Android client application
|
2015-03-05 15:27:45 +03:00
|
|
|
Copyright (C) 2015 ownCloud Inc.
|
2014-09-15 11:41:54 +04:00
|
|
|
|
|
|
|
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/>.
|
|
|
|
|
|
|
|
-->
|
2014-09-18 23:36:43 +04:00
|
|
|
<com.owncloud.android.ui.SquareLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-09-15 11:41:54 +04:00
|
|
|
android:id="@+id/ListItemLayout"
|
2014-09-17 19:21:26 +04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2014-09-15 11:41:54 +04:00
|
|
|
android:background="@drawable/list_selector"
|
2014-09-17 19:21:26 +04:00
|
|
|
android:gravity="center"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:orientation="vertical" >
|
2014-09-15 11:41:54 +04:00
|
|
|
|
2014-09-18 23:36:43 +04:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal" >
|
2015-01-28 10:59:57 +03:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/thumbnail"
|
|
|
|
android:layout_width="72dp"
|
|
|
|
android:layout_height="72dp"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:src="@drawable/ic_menu_archive" />
|
|
|
|
|
2015-10-15 10:26:24 +03:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/sharedIcon"
|
2015-01-27 11:46:19 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-10-15 10:26:24 +03:00
|
|
|
android:layout_margin="4dp"
|
2015-01-27 15:51:44 +03:00
|
|
|
android:layout_gravity="top|right"
|
2015-10-15 10:26:24 +03:00
|
|
|
android:src="@drawable/shared_via_link" />
|
2014-09-18 23:36:43 +04:00
|
|
|
|
2015-01-27 11:46:19 +03:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/localFileIndicator"
|
|
|
|
android:layout_width="@dimen/file_icon_size"
|
|
|
|
android:layout_height="@dimen/file_icon_size"
|
2015-01-27 15:51:44 +03:00
|
|
|
android:layout_gravity="bottom|right"
|
2015-01-27 11:46:19 +03:00
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:src="@drawable/local_file_indicator" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/favoriteIcon"
|
|
|
|
android:layout_width="15dp"
|
|
|
|
android:layout_height="15dp"
|
|
|
|
android:layout_gravity="bottom|right"
|
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:src="@drawable/ic_favorite" />
|
|
|
|
|
2015-01-27 15:51:44 +03:00
|
|
|
|
|
|
|
|
2014-09-18 23:36:43 +04:00
|
|
|
</FrameLayout>
|
2014-09-15 11:41:54 +04:00
|
|
|
|
2014-09-15 21:12:12 +04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/Filename"
|
2014-09-18 23:36:43 +04:00
|
|
|
android:layout_width="match_parent"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:ellipsize="middle"
|
2014-09-17 19:21:26 +04:00
|
|
|
android:gravity="center_horizontal"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:singleLine="true"
|
|
|
|
android:text="TextView"
|
2015-01-20 00:13:45 +03:00
|
|
|
android:textColor="@color/textColor"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:textSize="16dip" />
|
|
|
|
|
2014-09-18 23:36:43 +04:00
|
|
|
</com.owncloud.android.ui.SquareLinearLayout>
|