1.activity_main.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
......
Home
Archives for January 2017
Tuesday, January 31, 2017
Using glide to show GIF in ImageView
As you know glide is an image loading and caching library for Android focused on......
Monday, January 30, 2017
Limit EditText's length in Byte
When writing text using EditText on Android, you may need to limit the length in......
Get height of the view
Method getHeight() will always return 0 cause you are trying to get the size before......
Saturday, January 28, 2017
Filter ListView when enter text in EditText

This is how to filter a ListView based on user input.
1.activity_main.xml
<?xml......
Format EditText number with comma

This is how to format number with comma of an EditText when we enter the number.
1.activity_main.xml
<LinearLayout......
Custom EditText Cursor

Customize the cursor of an EditText is the easy way, by using xml in drawable.
Create......
Set Dialog position to bottom and remove default margins

Tags
Default position of the dialog is at the middle of the screen. This example show......
Subscribe to:
Posts (Atom)