2012-08-14 14:37:08 +04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
ownCloud Android client application
|
|
|
|
|
|
|
|
Copyright (C) 2012 Bartek Przybylski
|
2013-02-07 21:45:10 +04:00
|
|
|
Copyright (C) 2012-2013 ownCloud Inc.
|
|
|
|
|
2012-08-14 14:37:08 +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-08-14 14:37:08 +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/>.
|
|
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/ListItemLayout"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:background="@drawable/list_selector"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_height="56dp">
|
|
|
|
|
|
|
|
<FrameLayout
|
2014-07-09 18:28:09 +04:00
|
|
|
android:layout_width="56dp"
|
2012-08-14 14:37:08 +04:00
|
|
|
android:layout_height="56dp"
|
|
|
|
android:focusable="false"
|
|
|
|
android:focusableInTouchMode="false">
|
2014-07-09 11:09:37 +04:00
|
|
|
|
2012-08-14 14:37:08 +04:00
|
|
|
<ImageView
|
2014-09-18 23:36:43 +04:00
|
|
|
android:id="@+id/localFileIndicator"
|
2014-11-03 13:27:51 +03:00
|
|
|
android:layout_width="@dimen/file_icon_size"
|
|
|
|
android:layout_height="@dimen/file_icon_size"
|
2014-07-09 11:09:37 +04:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="22dp"
|
|
|
|
android:src="@drawable/local_file_indicator" />
|
2012-08-14 14:37:08 +04:00
|
|
|
|
|
|
|
<ImageView
|
2014-09-18 23:36:43 +04:00
|
|
|
android:id="@+id/thumbnail"
|
2014-11-03 13:27:51 +03:00
|
|
|
android:layout_width="@dimen/file_icon_size"
|
|
|
|
android:layout_height="@dimen/file_icon_size"
|
2014-07-09 11:09:37 +04:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="9dp"
|
2012-08-14 14:37:08 +04:00
|
|
|
android:src="@drawable/ic_menu_archive" />
|
|
|
|
|
|
|
|
<ImageView
|
2014-09-18 23:36:43 +04:00
|
|
|
android:id="@+id/favoriteIcon"
|
2012-08-14 14:37:08 +04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-07-09 11:09:37 +04:00
|
|
|
android:layout_gravity="bottom|right"
|
|
|
|
android:layout_marginBottom="10dp"
|
2014-07-09 18:28:09 +04:00
|
|
|
android:layout_marginRight="2dp"
|
2012-08-14 14:37:08 +04:00
|
|
|
android:src="@drawable/ic_favorite" />
|
|
|
|
</FrameLayout>
|
2014-01-23 21:33:38 +04:00
|
|
|
|
2012-08-14 14:37:08 +04:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical" >
|
2014-01-23 21:33:38 +04:00
|
|
|
|
2012-08-14 14:37:08 +04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/Filename"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="TextView"
|
|
|
|
android:textColor="#303030"
|
|
|
|
android:textSize="16dip" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:weightSum="1">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/last_mod"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="TextView"
|
|
|
|
android:layout_weight=".5"
|
2014-07-09 11:09:37 +04:00
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
2012-08-14 14:37:08 +04:00
|
|
|
android:textSize="12dip"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/file_size"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="right"
|
|
|
|
android:text="TextView"
|
2014-07-09 11:09:37 +04:00
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
2012-08-14 14:37:08 +04:00
|
|
|
android:layout_weight=".5"
|
|
|
|
android:textSize="12dip"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2014-01-23 21:33:38 +04:00
|
|
|
|
2014-06-25 11:04:50 +04:00
|
|
|
<LinearLayout
|
2014-07-09 19:52:52 +04:00
|
|
|
android:layout_width="25dp"
|
2014-06-25 11:04:50 +04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView
|
2014-07-01 11:38:14 +04:00
|
|
|
android:id="@+id/sharedIcon"
|
2014-06-25 11:04:50 +04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-07-09 19:52:52 +04:00
|
|
|
android:layout_gravity="center"
|
2014-06-25 11:04:50 +04:00
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
2014-06-30 12:43:50 +04:00
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:src="@drawable/sharedlink" />
|
2014-06-25 11:04:50 +04:00
|
|
|
|
2014-01-23 21:33:38 +04:00
|
|
|
<ImageView
|
2014-07-01 11:38:14 +04:00
|
|
|
android:id="@+id/sharedWithMeIcon"
|
2014-01-23 21:33:38 +04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-07-09 19:52:52 +04:00
|
|
|
android:layout_gravity="center"
|
2014-01-28 11:55:54 +04:00
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginRight="4dp"
|
2014-06-30 12:43:50 +04:00
|
|
|
android:layout_marginTop="4dp"
|
2014-09-22 19:52:52 +04:00
|
|
|
android:src="@drawable/shared_with_me"
|
|
|
|
android:visibility="invisible" />
|
2014-01-23 21:33:38 +04:00
|
|
|
|
2014-06-25 11:04:50 +04:00
|
|
|
</LinearLayout>
|
|
|
|
|
2012-08-14 14:37:08 +04:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/custom_checkbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:gravity=""
|
|
|
|
android:src="@android:drawable/checkbox_off_background" />
|
|
|
|
|
|
|
|
</LinearLayout>
|