Browse Source

Up version, tiny bookmarks UI changes

pull/24/head
Ezerous 7 years ago
parent
commit
61809bef24
No known key found for this signature in database GPG Key ID: 262B2954BBA319E3
  1. 7
      app/build.gradle
  2. 2
      app/src/main/res/layout/fragment_bookmarks.xml
  3. 2
      app/src/main/res/layout/fragment_bookmarks_board_row.xml
  4. 5
      app/src/main/res/layout/fragment_bookmarks_topic_row.xml

7
app/build.gradle

@ -10,8 +10,8 @@ android {
applicationId "gr.thmmy.mthmmy" applicationId "gr.thmmy.mthmmy"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 27 targetSdkVersion 27
versionCode 11 versionCode 12
versionName "1.3.3" versionName "1.4.0"
archivesBaseName = "mTHMMY-v$versionName" archivesBaseName = "mTHMMY-v$versionName"
} }
@ -49,8 +49,7 @@ dependencies {
implementation 'com.mikepenz:fontawesome-typeface:4.7.0.0@aar' implementation 'com.mikepenz:fontawesome-typeface:4.7.0.0@aar'
implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar' implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.12' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.12'
implementation 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1' implementation 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1'//TODO: deprecated!
//TODO: needs replacement
implementation 'me.zhanghai.android.materialprogressbar:library:1.4.2' implementation 'me.zhanghai.android.materialprogressbar:library:1.4.2'
implementation 'com.jakewharton.timber:timber:4.7.0' implementation 'com.jakewharton.timber:timber:4.7.0'
} }

2
app/src/main/res/layout/fragment_bookmarks.xml

@ -9,7 +9,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="top|start" android:layout_gravity="top|start"
android:background="@color/background" android:background="@color/primary_light"
android:scrollbars="none" android:scrollbars="none"
app:layout_behavior="@string/appbar_scrolling_view_behavior"> app:layout_behavior="@string/appbar_scrolling_view_behavior">

2
app/src/main/res/layout/fragment_bookmarks_board_row.xml

@ -31,7 +31,7 @@
android:paddingStart="6dp" android:paddingStart="6dp"
android:paddingEnd="6dp" android:paddingEnd="6dp"
android:layout_marginEnd="12dp" android:layout_marginEnd="12dp"
android:background="?android:attr/selectableItemBackground" android:background="@android:color/transparent"
android:contentDescription="@string/remove_bookmark" android:contentDescription="@string/remove_bookmark"
android:src="@drawable/ic_delete"/> android:src="@drawable/ic_delete"/>
</LinearLayout> </LinearLayout>

5
app/src/main/res/layout/fragment_bookmarks_topic_row.xml

@ -31,8 +31,7 @@
android:paddingTop="3dp" android:paddingTop="3dp"
android:paddingStart="6dp" android:paddingStart="6dp"
android:paddingEnd="6dp" android:paddingEnd="6dp"
android:layout_marginEnd="9dp" android:background="@android:color/transparent"
android:background="?android:attr/selectableItemBackground"
android:contentDescription="@string/toggle_notification" android:contentDescription="@string/toggle_notification"
app:srcCompat="@drawable/ic_notification_on"/> app:srcCompat="@drawable/ic_notification_on"/>
@ -45,7 +44,7 @@
android:paddingStart="6dp" android:paddingStart="6dp"
android:paddingEnd="6dp" android:paddingEnd="6dp"
android:layout_marginEnd="12dp" android:layout_marginEnd="12dp"
android:background="?android:attr/selectableItemBackground" android:background="@android:color/transparent"
android:contentDescription="@string/remove_bookmark" android:contentDescription="@string/remove_bookmark"
android:src="@drawable/ic_delete"/> android:src="@drawable/ic_delete"/>
</LinearLayout> </LinearLayout>
Loading…
Cancel
Save