From 0a752cea037d1f7dbf0307fea6e8fecf4d65b665 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 4 Feb 2018 18:00:09 +0100 Subject: [PATCH] use our own Linear and Grid layout managers --- app/build.gradle | 2 +- app/src/main/res/layout/activity_main.xml | 2 +- app/src/main/res/layout/activity_manage_folders.xml | 2 +- app/src/main/res/layout/activity_media.xml | 2 +- app/src/main/res/layout/dialog_directory_picker.xml | 2 +- app/src/main/res/layout/dialog_medium_picker.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d7dc29c52..11f6884b0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -46,7 +46,7 @@ ext { } dependencies { - implementation 'com.simplemobiletools:commons:3.9.10' + implementation 'com.simplemobiletools:commons:3.9.11' implementation 'com.theartofdev.edmodo:android-image-cropper:2.6.0' implementation 'com.android.support:multidex:1.0.2' implementation 'com.google.code.gson:gson:2.8.2' diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 033563bb1..e3aad745a 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -38,7 +38,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="none" - app:layoutManager="android.support.v7.widget.GridLayoutManager" + app:layoutManager="com.simplemobiletools.commons.views.MyGridLayoutManager" app:spanCount="@integer/directory_columns_vertical_scroll"/> + app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager"/>