From 46501be24966964d18ffd9fa3dca4393ce41c4b0 Mon Sep 17 00:00:00 2001 From: Daniele Gobbetti Date: Mon, 27 Mar 2017 13:56:03 +0200 Subject: [PATCH 1/2] Enlarge the "hit box" of each icon (replace some margin pixels with padding). Fixes #615 --- app/src/main/res/layout/device_itemv2.xml | 51 +++++++++++++---------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/app/src/main/res/layout/device_itemv2.xml b/app/src/main/res/layout/device_itemv2.xml index a8979189d..f5c8fe30f 100644 --- a/app/src/main/res/layout/device_itemv2.xml +++ b/app/src/main/res/layout/device_itemv2.xml @@ -111,17 +111,18 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/device_image" - android:layout_marginBottom="8dp" - android:layout_marginStart="8dp" + android:layout_marginBottom="4dp" + android:layout_marginStart="4dp" android:layout_marginEnd="0dp" - android:layout_marginTop="8dp" + android:layout_marginTop="4dp" + android:padding="4dp" android:minWidth="48dp" android:orientation="vertical"> @@ -142,7 +143,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/device_image" - android:layout_margin="8dp" + android:layout_margin="4dp" + android:padding="4dp" android:layout_toEndOf="@id/device_battery_status_box" android:gravity="center_vertical" android:minWidth="36dp" @@ -150,8 +152,8 @@ Date: Mon, 27 Mar 2017 22:15:03 +0200 Subject: [PATCH 2/2] update changelog, bump version to 0.18.4 --- CHANGELOG.md | 15 +++++++++------ app/build.gradle | 4 ++-- app/src/main/res/xml/changelog_master.xml | 5 ++++- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3a95f41a..ef8dbf97c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,16 @@ ###Changelog -###Version next +###Version 0.18.4 +* Mi Band 2: Display realtime steps in Live Activity +* Mi Band: Attempt to recognize Mi Band model with hwVersion = 8 * Alarms activity improvements and fixes +* Make Buttons in the main activity easier to hit ###Version 0.18.3 * Fix bug that caused the same value in weekly charts for every day on Android 6 and older ###Version 0.18.2 -* Mi2: Fix crash on "chat" or "social network" text notification (#603) +* Mi Band 2: Fix crash on "chat" or "social network" text notification (#603) ###Version 0.18.1 * Pebble: Fix Firmware insstallation on Pebble Time Round (broken since 0.16.0) @@ -24,10 +27,10 @@ * Huge speedup for weekly charts when changing days * Drop support for importing pre Gadgetbridge 0.12.0 database * Pebble: allow configuration web pages (clay) to access device location -* Mi2: Initial support for text notifications, caller ID, and icons (requires font installation) (#560) -* Mi2: Support for flashing Mili_pro.ft* font files -* Mi2: Improved firmware/font updated -* Mi2: Set 12h/24h time format, following the Android configuration (#573) +* Mi Band 2: Initial support for text notifications, caller ID, and icons (requires font installation) (#560) +* Mi Band 2: Support for flashing Mili_pro.ft* font files +* Mi Band 2: Improved firmware/font updated +* Mi Band 2: Set 12h/24h time format, following the Android configuration (#573) * Improved BLE discovery and connectivity ####Version 0.17.5 diff --git a/app/build.gradle b/app/build.gradle index d6ea9c869..c53951140 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,8 +26,8 @@ android { targetSdkVersion 25 // note: always bump BOTH versionCode and versionName! - versionName "0.18.3" - versionCode 90 + versionName "0.18.4" + versionCode 91 vectorDrawables.useSupportLibrary = true } buildTypes { diff --git a/app/src/main/res/xml/changelog_master.xml b/app/src/main/res/xml/changelog_master.xml index 22c00ad66..218c76fa5 100644 --- a/app/src/main/res/xml/changelog_master.xml +++ b/app/src/main/res/xml/changelog_master.xml @@ -1,6 +1,9 @@ - + + Mi Band 2: Display realtime steps in Live Activity + Mi Band: Attempt to recognize Mi Band model with hwVersion = 8 + Make Buttons in the main activity easier to hit Alarms activity improvements and fixes