|
@@ -2,8 +2,8 @@
|
|
|
<!--
|
|
|
Nextcloud Android client application
|
|
|
|
|
|
- Copyright (C) 2016 Andy Scherzinger
|
|
|
- Copyright (C) 2016 Nextcloud.
|
|
|
+ Copyright (C) 2017 Andy Scherzinger
|
|
|
+ Copyright (C) 2017 Nextcloud.
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
|
@@ -18,60 +18,54 @@
|
|
|
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"
|
|
|
- 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
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:id="@+id/grid_item_container"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:background="@drawable/list_selector"
|
|
|
+ android:gravity="center_horizontal">
|
|
|
|
|
|
- <FrameLayout
|
|
|
+ <com.owncloud.android.ui.SquareImageView
|
|
|
+ android:id="@+id/thumbnail"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:scaleType="centerCrop"
|
|
|
+ android:src="@drawable/folder"/>
|
|
|
|
|
|
- <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/folder"/>
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/thumbnailDarkener"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#99000000"
|
|
|
+ android:scaleType="centerCrop"/>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/thumbnailDarkener"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:scaleType="centerCrop"
|
|
|
- android:background="#99000000"/>
|
|
|
+ <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">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/counterLayout"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/next"
|
|
|
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
|
|
|
- android:id="@+id/next"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="+"
|
|
|
- android:textColor="#ffffff"
|
|
|
- android:textSize="22dp"
|
|
|
- android:textStyle="bold"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/counter"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:src="@android:drawable/checkbox_off_background"
|
|
|
- android:text="127"
|
|
|
- android:textColor="#ffffff"
|
|
|
- android:textSize="22dp"
|
|
|
- android:textStyle="bold"/>
|
|
|
- </LinearLayout>
|
|
|
- </FrameLayout>
|
|
|
+ android:text="@string/synced_folders_plus"
|
|
|
+ android:textColor="#ffffff"
|
|
|
+ android:textSize="22sp"
|
|
|
+ android:textStyle="bold"/>
|
|
|
|
|
|
-</LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/counter"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@android:drawable/checkbox_off_background"
|
|
|
+ android:text="@string/placeholder_filesize"
|
|
|
+ android:textColor="#ffffff"
|
|
|
+ android:textSize="22sp"
|
|
|
+ android:textStyle="bold"/>
|
|
|
+ </LinearLayout>
|
|
|
+</FrameLayout>
|