2011-08-20 00:37:35 +04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-05-13 18:13:13 +04:00
|
|
|
<!--
|
|
|
|
ownCloud Android client application
|
|
|
|
|
|
|
|
Copyright (C) 2012 Bartek Przybylski
|
2015-03-05 15:27:45 +03:00
|
|
|
Copyright (C) 2015 ownCloud Inc.
|
2013-02-07 21:45:10 +04:00
|
|
|
|
2012-05-13 18:13:13 +04:00
|
|
|
This program is free software: you can redistribute it and/or modify
|
2013-04-17 14:26:13 +04:00
|
|
|
it under the terms of the GNU General Public License version 2,
|
|
|
|
as published by the Free Software Foundation.
|
2012-05-13 18:13:13 +04:00
|
|
|
|
|
|
|
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/>.
|
|
|
|
-->
|
2015-11-09 20:24:57 +03:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-06-11 23:41:00 +03:00
|
|
|
android:layout_width="match_parent"
|
2016-06-13 19:15:06 +03:00
|
|
|
android:layout_height="@dimen/standard_list_item_size"
|
2015-11-09 20:24:57 +03:00
|
|
|
android:background="@drawable/list_selector"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2016-06-11 23:41:00 +03:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/thumbnail"
|
|
|
|
android:layout_width="@dimen/file_icon_size"
|
|
|
|
android:layout_height="@dimen/file_icon_size"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_margin="12dp"
|
|
|
|
android:src="@drawable/ic_menu_archive" />
|
2015-11-09 20:24:57 +03:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
2016-06-13 19:15:06 +03:00
|
|
|
android:layout_height="@dimen/standard_list_item_size"
|
2015-11-09 20:24:57 +03:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/filename"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2016-06-13 19:15:06 +03:00
|
|
|
android:layout_marginLeft="0dp"
|
2015-11-09 20:24:57 +03:00
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="TextView"
|
|
|
|
android:textColor="@color/textColor"
|
|
|
|
android:textSize="16dip" />
|
|
|
|
|
2016-06-13 19:15:06 +03:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-11-09 20:24:57 +03:00
|
|
|
android:layout_height="wrap_content"
|
2016-06-13 19:15:06 +03:00
|
|
|
android:layout_marginLeft="0dp"
|
2015-11-09 20:24:57 +03:00
|
|
|
android:layout_marginRight="4dp"
|
2016-06-13 19:15:06 +03:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/file_size"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Size MB"
|
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
|
|
android:textSize="@dimen/two_line_secondary_text_size"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/file_separator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="right"
|
|
|
|
android:text=", "
|
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
|
|
android:textSize="@dimen/two_line_secondary_text_size"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/last_mod"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="right"
|
|
|
|
android:text="Mod Date"
|
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
|
|
android:textSize="@dimen/two_line_secondary_text_size"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2015-11-09 20:24:57 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2011-08-20 00:37:35 +04:00
|
|
|
</LinearLayout>
|