123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- ownCloud Android client application
- Copyright (C) 2012 Bartek Przybylski
- 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/ListItemLayout"
- android:layout_width="match_parent"
- android:background="@drawable/list_selector"
- android:orientation="vertical"
- android:layout_height="@dimen/standard_list_item_size">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal">
- <FrameLayout
- android:layout_width="60dp"
- android:layout_height="@dimen/standard_list_item_size"
- android:paddingLeft="12dp"
- android:paddingBottom="@dimen/standard_padding"
- android:paddingTop="@dimen/standard_padding"
- android:paddingRight="4dp"
- android:focusable="false"
- android:focusableInTouchMode="false">
- <ImageView
- android:id="@+id/localFileIndicator"
- android:layout_width="@dimen/file_icon_size"
- android:layout_height="@dimen/file_icon_size"
- android:layout_gravity="top|right"
- android:layout_marginRight="4dp"
- android:src="@drawable/ic_synced" />
- <ImageView
- android:id="@+id/thumbnail"
- android:layout_width="@dimen/file_icon_size"
- android:layout_height="@dimen/file_icon_size"
- android:layout_gravity="left|center_vertical"
- android:src="@drawable/ic_menu_archive" />
- <ImageView
- android:id="@+id/favoriteIcon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom|right"
- android:layout_marginRight="4dp"
- android:src="@drawable/ic_available_offline" />
- </FrameLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="top"
- android:paddingTop="@dimen/standard_padding"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/Filename"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="0dp"
- android:layout_marginRight="4dp"
- android:ellipsize="middle"
- android:singleLine="true"
- android:text="TextView"
- android:textColor="@color/textColor"
- android:textSize="@dimen/two_line_primary_text_size" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="0dp"
- android:layout_marginRight="4dp"
- 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>
- </LinearLayout>
- <ImageView
- android:id="@+id/sharedIcon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginTop="4dp"
- android:layout_marginLeft="4dp"
- android:layout_marginBottom="4dp"
- android:layout_marginRight="4dp"
- android:src="@drawable/shared_via_link" />
- <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="@dimen/standard_margin"
- android:gravity=""
- android:src="@drawable/ic_checkbox_blank_outline" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/list_divider_background"></View>
- </LinearLayout>
|