So I got reports of the error from my Play Store for my app Message Counter.
java.lang.NoSuchMethodError: android.View.getMinimumHeight
In the new build, I had implemented a custom view that reads the min width and height from the xml declaration. The app was working on all the devices that I test. However I did notice that the reports were made from Android devices Version 4.0 or below. Further digging and I found the below solution.
getMinimumHeight() is available in API 16+.
Use android.View.getSuggestedMinimumHeight() instead
It appears that ImageView.getMaxHeight() is also API 16+. Sadly I could not find any alternatives for this one.
Message Counter on Google Play
Sunday, February 15, 2015
Wednesday, December 03, 2014
Message Counter 3.0 Beta
Material Love gets extended to Message Counter, after Random Contact. A fresh coat of paint, a new icon and use of some Material Design Principles is a start for the Beta version. This version is code named "Talisman" which follows "Silversun" and "Silvermoon". The updated code is available in GitHub as well.
As per Google Play regulations, only members of a test community are able to test these apps. So the community link is https://plus.google.com/communities/110966372903178356479.
From a technical standpoint, support has been added for AppCompat libraries, replaced ActionBar with a Toolbar. Using Toolbar should extend the experience to users with API less than 11 (Honeycomb). Use of padding, vibrant colors and card view are highlights of this build.
The first thing you will notice from the screenshot below is the use of Cards and a redesigned Counter screen. This will be the "hero screen" for the app.
Note that this is a work in progress and there may be some bugs or issues and do send them in. You can post them in the community or raise issues in the GitHub page for the project.
https://github.com/midhunhk/message-counter
Labels:
Android,
app,
Design,
Download,
programming,
Source Code
Wednesday, November 26, 2014
Random Contact with Material Design Love
It's been a while since my last blog post, I was obviously busy with my job, life and other important things. In between Android released the latest SDK and support libraries for taking material design to lower versions.
I have been slowly looking at the latest APIs and how to use them in my spare time. Once I was able to get hold of the latest SDK as well as Android Studio, I started to see how I could redesign some apps based on material design principles.
After doing a sample project that made use of all the new features, I started working on redesigning Random Contact app. Firstly this is a simple app, not too complicated in terms of features as well as low volume of users. Second of all, this app has not been updated in a long while. So a little love was on the cards.
Take a look at the new design below.
It will be interesting to note that the action bar and some text color change dynamically based on your contact's profile image. This is made possible due to a library called Palette which is part of Android. On a technical side, this app uses the following new features from Android.
https://play.google.com/store/apps/details?id=com.ae.apps.randomcontact
The source code for the app is available at github - https://github.com/midhunhk/random-contact
I have been slowly looking at the latest APIs and how to use them in my spare time. Once I was able to get hold of the latest SDK as well as Android Studio, I started to see how I could redesign some apps based on material design principles.
![]() |
| Random Contact 2.2 |
Take a look at the new design below.
It will be interesting to note that the action bar and some text color change dynamically based on your contact's profile image. This is made possible due to a library called Palette which is part of Android. On a technical side, this app uses the following new features from Android.
- Recycler View
- Toolbar
- Card View
- Palette
https://play.google.com/store/apps/details?id=com.ae.apps.randomcontact
The source code for the app is available at github - https://github.com/midhunhk/random-contact
Sunday, July 20, 2014
Redesigning the Message Counter App
With the developer release of Android L in June and the introduction of Material design, I've been thinking of redesigning the Message Counter app. Taking into account various principles mentioned and how they can be applied to this app, a few initial design thoughts are shared here.
So first impressions and suggestions will be very much helpful.
You can find the current Message Counter app here: https://play.google.com/store/apps/details?id=com.ae.apps.messagecounter
Variations on the color scheme are given below.
So first impressions and suggestions will be very much helpful.
You can find the current Message Counter app here: https://play.google.com/store/apps/details?id=com.ae.apps.messagecounter
Wednesday, July 02, 2014
Material Design Wallpapers
So Google made the Android L developer preview last week. In a couple of screenshots, they had shown images based on material design and I thought they would look cool as wallpapers. So I created a couple of artworks based on them. You are free to use them as wallpapers or in other creative ways.
Up above you can see my current home screen, you may be able to spot a widget for MessageCounter which is in development as well. So without any wait, here are 2 images. Click on them for a full screen version and download to use them as you like.
The following images are licensed under Creative Commons license. http://creativecommons.org/licenses/by-sa/3.0/. You are free to use these images subject to the terms of this license.

Material design Wallpapers by midhunhk is licensed under a Creative Commons Attribution 4.0 International License.
Update: One more artwork is here. This one is my current wallpaper.
Watch out for more updates.
Update 2: The complete wallpapers and as well as future updates can be found at : https://plus.google.com/photos/114665288998361746888/albums/6121148941176472961
Up above you can see my current home screen, you may be able to spot a widget for MessageCounter which is in development as well. So without any wait, here are 2 images. Click on them for a full screen version and download to use them as you like.
The following images are licensed under Creative Commons license. http://creativecommons.org/licenses/by-sa/3.0/. You are free to use these images subject to the terms of this license.

Material design Wallpapers by midhunhk is licensed under a Creative Commons Attribution 4.0 International License.
Update: One more artwork is here. This one is my current wallpaper.
Update 2: The complete wallpapers and as well as future updates can be found at : https://plus.google.com/photos/114665288998361746888/albums/6121148941176472961
Subscribe to:
Posts (Atom)










