nextcloud-android/res/layout/grid_sync_item.xml

77 lines
2.9 KiB
XML
Raw Normal View History

2016-09-22 18:48:06 +03:00
<?xml version="1.0" encoding="UTF-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2016 Andy Scherzinger
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
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 AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout android:id="@+id/grid_item_container"
2016-09-22 18:48:06 +03:00
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:background="@drawable/list_selector"
android:gravity="center_horizontal"
android:orientation="vertical">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
2016-09-22 18:48:06 +03:00
<com.owncloud.android.ui.SquareImageView
android:id="@+id/thumbnail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/ic_menu_archive"/>
<ImageView
android:id="@+id/thumbnailDarkener"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:background="#99000000"/>
2016-09-22 18:48:06 +03:00
<LinearLayout
android:id="@+id/counterLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:gravity="center_horizontal"
android:orientation="horizontal">
<TextView
2016-09-22 20:11:41 +03:00
android:id="@+id/next"
2016-09-22 18:48:06 +03:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2016-09-22 20:11:41 +03:00
android:text="+"
android:textColor="#bcbcbc"
2016-09-22 18:48:06 +03:00
android:textSize="22dp"
android:textStyle="bold"/>
<TextView
2016-09-22 20:11:41 +03:00
android:id="@+id/counter"
2016-09-22 18:48:06 +03:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2016-09-22 20:11:41 +03:00
android:src="@android:drawable/checkbox_off_background"
android:text="127"
android:textColor="#ffffff"
2016-09-22 18:48:06 +03:00
android:textSize="22dp"
android:textStyle="bold"/>
</LinearLayout>
</FrameLayout>
</LinearLayout>