1. Home
  2. chevron_right
  3. android
  4. (Page 3)

Android @IntDef Annotation Example

Android has some helpful annotations in the support library so, in this post, I will show you an example of how to use @IntDef annotation. You can use this annotation (or @StringDef annotation) instead of Enum.…

Android: Add Tabs using TabLayout

In this tutorial we will see how to add tabs to a project by using TabLayout together with ViewPager, and some other new views from the design library 🙂 Before…

Android Countdown ProgressBar

Recently I needed to make a progressBar to update its progress smoothly for a given period of time (I needed a countdown). So after some research on Google, I ended…

Did you know about CoordinatorLayout?

Did You Know?
Definition CoordinatorLayout is a more advanced FrameLayout, that now, with all these new changes with Material Design, it was introduced in the DesignLibrary, in order to provide help and more control over…

Android Custom Edit Text Cursor Not Visible

Story I created a new simple project with a custom edit text without any logic (it just extends EditText). The code is the following: package com.example.customedittextcursor; import android.content.Context; import android.util.AttributeSet;…