In previous article Customizing TextInputLayout – Part 1, we learnt how to customize TextInputLayout and how to apply hint color to it.
In previous article TextInputLayout – Material Design Support library Tutorial, we learn what is TextInputLayout and what is functionality of it. How TextInputLayout added a new functionality to EditText. Going to next step of TextInputLayout, in this article we are going to customize TextInputLayout.
Google is providing a newer version of Android OS each year. This time also we are expecting a newer version of Android 6.0 by the end of this year.
Nexus 6 as the first device which was available with Android Lollipop version in October 2014. Now, this version of Android is ruling the world. When Android 5.0 “L” was not released in 2014, all experts started making assumptions regarding features and name of this Android version.
In an Android application, we usually got the “Force Closed” error if we didn’t get the exceptions right. Everyone has question about “How can I restart my application automatically if it force closed?”.
In this tutorial, we will learn how to handle exception manually and how to restart/auto launch your application after crash/force close.
In Android, there are two constants for providing height and width of any view. But if you provide any specific height to any view, it won’t be change until you change it dynamically or statically in layout file.
What if you want to provide MAX height to any view? Max height means, your view must not exceed the limit of provided height.