mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 06:05:42 +03:00
93 lines
No EOL
3.9 KiB
XML
93 lines
No EOL
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
ownCloud Android client application
|
|
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/>.
|
|
|
|
-->
|
|
<com.owncloud.android.ui.SquareLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/ListItemLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_horizontal"
|
|
android:background="@drawable/list_selector"
|
|
android:gravity="center"
|
|
android:orientation="vertical" >
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal" >
|
|
|
|
<ImageView
|
|
android:id="@+id/thumbnail"
|
|
android:layout_width="@dimen/standard_list_item_size"
|
|
android:layout_height="@dimen/standard_list_item_size"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginLeft="@dimen/fragment_margin"
|
|
android:layout_marginRight="@dimen/alternate_margin"
|
|
android:src="@drawable/ic_menu_archive" />
|
|
|
|
<ImageView
|
|
android:id="@+id/sharedIcon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/standard_quarter_margin"
|
|
android:layout_gravity="top|right"
|
|
android:src="@drawable/shared_via_link" />
|
|
|
|
<ImageView
|
|
android:id="@+id/localFileIndicator"
|
|
android:layout_width="@dimen/file_icon_size"
|
|
android:layout_height="@dimen/file_icon_size"
|
|
android:layout_gravity="bottom|right"
|
|
android:layout_marginTop="@dimen/standard_eighth_margin"
|
|
android:layout_marginRight="@dimen/standard_eighth_margin"
|
|
android:src="@drawable/ic_synced" />
|
|
|
|
<ImageView
|
|
android:id="@+id/favoriteIcon"
|
|
android:layout_width="@dimen/favorite_icon_size"
|
|
android:layout_height="@dimen/favorite_icon_size"
|
|
android:layout_gravity="bottom|right"
|
|
android:layout_marginBottom="@dimen/standard_eighth_margin"
|
|
android:layout_marginRight="@dimen/standard_eighth_margin"
|
|
android:src="@drawable/ic_available_offline" />
|
|
|
|
<ImageView
|
|
android:id="@+id/custom_checkbox"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|top"
|
|
android:layout_marginLeft="@dimen/standard_quarter_margin"
|
|
android:layout_marginRight="@dimen/standard_quarter_margin"
|
|
android:src="@android:drawable/checkbox_off_background"
|
|
android:elevation="@dimen/elevation" />
|
|
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/Filename"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/standard_quarter_margin"
|
|
android:layout_marginRight="@dimen/standard_quarter_margin"
|
|
android:ellipsize="middle"
|
|
android:gravity="center_horizontal"
|
|
android:singleLine="true"
|
|
android:text="TextView"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="@dimen/grid_item_text_size" />
|
|
|
|
</com.owncloud.android.ui.SquareLinearLayout> |