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
|
2014-09-17 19:21:26 +04:00
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2014-09-15 11:41:54 +04:00
|
|
|
|
|
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/ListItemLayout"
|
2014-09-17 19:21:26 +04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2014-09-15 11:41:54 +04:00
|
|
|
android:background="@drawable/list_selector"
|
2014-09-17 19:21:26 +04:00
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical" >
|
2014-09-15 11:41:54 +04:00
|
|
|
|
|
|
|
<FrameLayout
|
2014-09-18 23:36:43 +04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" >
|
2014-09-15 11:41:54 +04:00
|
|
|
|
2014-09-18 23:36:43 +04:00
|
|
|
<com.owncloud.android.ui.SquareImageView
|
|
|
|
android:id="@+id/thumbnail"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingLeft="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
android:src="@drawable/ic_menu_archive" />
|
2014-09-15 11:41:54 +04:00
|
|
|
|
|
|
|
<ImageView
|
2014-09-18 23:36:43 +04:00
|
|
|
android:id="@+id/favoriteIcon"
|
|
|
|
android:layout_width="15dp"
|
|
|
|
android:layout_height="15dp"
|
2014-09-15 11:41:54 +04:00
|
|
|
android:layout_gravity="bottom|right"
|
2014-09-18 23:36:43 +04:00
|
|
|
android:layout_marginBottom="2dp"
|
2014-09-15 11:41:54 +04:00
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:src="@drawable/ic_favorite" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|