Last example show how to Apply Material Theme (with default color) to Activity . The video show how to further custom the theme colors. Edi...
Apply Material Theme to Activity
This video show how to apply Android provided Material Theme to your Activity. - Edit values/styles.xml to add a new style inherits from And...
elevation effect of overlapped view
This example show how elevation effect of overlapped view. package com.blogspot.android_er.androidzelevation; import android.os.Build; impor...
Change elevation at run-time, by calling setZ()
This example show how to change elevation of ImageView programmatically, by calling setZ(). <?xml version="1.0" encoding="...
Example of applying android:elevation on ImageView
Example to apply android:elevation on ImageView. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:and...
BottomSheetDialog example
The former post show a example of " Implement BottomSheet of Android Design Support Library ". This post show a BottomSheetDialog ...
Sets the height of collapsed bottom sheet, by calling setPeekHeight() method
In lasp example of BottomSheet , I implement a OnClickListener of background to expand and collapse the bottom sheet. Without this, user can...
Implement BottomSheet of Android Design Support Library
BottomSheet run on API 19 BottomSheet run on API 23 With the help from the Android Design Support Library , you can implement a number of im...