2014-09-15 11:41:54 +04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
ownCloud Android client application
|
|
|
|
|
|
|
|
Copyright (C) 2012 Bartek Przybylski
|
|
|
|
Copyright (C) 2012-2013 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/ListItemLayout"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="160dp"
|
|
|
|
android:background="@drawable/list_selector"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:orientation="vertical" >
|
2014-09-15 11:41:54 +04:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageView1"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:layout_width="90dp"
|
|
|
|
android:layout_height="93dp"
|
2014-09-15 11:41:54 +04:00
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginLeft="9dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:src="@drawable/ic_menu_archive" />
|
|
|
|
|
2014-09-15 21:12:12 +04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/Filename"
|
|
|
|
android:layout_width="95dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="TextView"
|
|
|
|
android:textColor="#303030"
|
|
|
|
android:textSize="16dip" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageView2"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="22dp"
|
|
|
|
android:layout_marginLeft="22dp"
|
|
|
|
android:src="@drawable/local_file_indicator" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/file_size"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight=".5"
|
|
|
|
android:gravity="right"
|
|
|
|
android:text="TextView"
|
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
|
|
android:textSize="12dip" />
|
|
|
|
|
2014-09-15 11:41:54 +04:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/imageItemFrame"
|
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:focusable="false"
|
|
|
|
android:focusableInTouchMode="false" >
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/sharedIcon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:src="@drawable/sharedlink" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/sharedWithMeIcon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:src="@drawable/shared_with_me" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/custom_checkbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:src="@android:drawable/checkbox_off_background" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageView3"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|right"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:src="@drawable/ic_favorite" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/last_mod"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight=".5"
|
|
|
|
android:text="TextView"
|
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
|
|
android:textSize="12dip" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|