From 61809bef242653a67f2c105f75361c965577f271 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Wed, 4 Jul 2018 17:41:52 +0300 Subject: [PATCH] Up version, tiny bookmarks UI changes --- app/build.gradle | 7 +++---- app/src/main/res/layout/fragment_bookmarks.xml | 2 +- app/src/main/res/layout/fragment_bookmarks_board_row.xml | 2 +- app/src/main/res/layout/fragment_bookmarks_topic_row.xml | 5 ++--- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 4d8ca81d..aafe1fe9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "gr.thmmy.mthmmy" minSdkVersion 19 targetSdkVersion 27 - versionCode 11 - versionName "1.3.3" + versionCode 12 + versionName "1.4.0" archivesBaseName = "mTHMMY-v$versionName" } @@ -49,8 +49,7 @@ dependencies { implementation 'com.mikepenz:fontawesome-typeface:4.7.0.0@aar' implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.12' - implementation 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1' - //TODO: needs replacement + implementation 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1'//TODO: deprecated! implementation 'me.zhanghai.android.materialprogressbar:library:1.4.2' implementation 'com.jakewharton.timber:timber:4.7.0' } diff --git a/app/src/main/res/layout/fragment_bookmarks.xml b/app/src/main/res/layout/fragment_bookmarks.xml index cd5ec7af..ca311cd4 100644 --- a/app/src/main/res/layout/fragment_bookmarks.xml +++ b/app/src/main/res/layout/fragment_bookmarks.xml @@ -9,7 +9,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="top|start" - android:background="@color/background" + android:background="@color/primary_light" android:scrollbars="none" app:layout_behavior="@string/appbar_scrolling_view_behavior"> diff --git a/app/src/main/res/layout/fragment_bookmarks_board_row.xml b/app/src/main/res/layout/fragment_bookmarks_board_row.xml index a29222b0..621f218e 100644 --- a/app/src/main/res/layout/fragment_bookmarks_board_row.xml +++ b/app/src/main/res/layout/fragment_bookmarks_board_row.xml @@ -31,7 +31,7 @@ android:paddingStart="6dp" android:paddingEnd="6dp" android:layout_marginEnd="12dp" - android:background="?android:attr/selectableItemBackground" + android:background="@android:color/transparent" android:contentDescription="@string/remove_bookmark" android:src="@drawable/ic_delete"/> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_bookmarks_topic_row.xml b/app/src/main/res/layout/fragment_bookmarks_topic_row.xml index 60b23b81..2708318e 100644 --- a/app/src/main/res/layout/fragment_bookmarks_topic_row.xml +++ b/app/src/main/res/layout/fragment_bookmarks_topic_row.xml @@ -31,8 +31,7 @@ android:paddingTop="3dp" android:paddingStart="6dp" android:paddingEnd="6dp" - android:layout_marginEnd="9dp" - android:background="?android:attr/selectableItemBackground" + android:background="@android:color/transparent" android:contentDescription="@string/toggle_notification" app:srcCompat="@drawable/ic_notification_on"/> @@ -45,7 +44,7 @@ android:paddingStart="6dp" android:paddingEnd="6dp" android:layout_marginEnd="12dp" - android:background="?android:attr/selectableItemBackground" + android:background="@android:color/transparent" android:contentDescription="@string/remove_bookmark" android:src="@drawable/ic_delete"/> \ No newline at end of file