-
Notifications
You must be signed in to change notification settings - Fork 0
ActivityUtils
Shanti Ranjan Das edited this page Apr 5, 2020
·
3 revisions
All the methods of this class will be called from an activity or from the activity scope.
-
hideKeyboard()
This will hide the softinput -
viewOverStatesBar()
This function makes the status bar transparent, Call this function just after setContentView in Activity class. Make sure you are using No Action Bar in themes(present in xml), Note :- Be aware of your color usage, as status bar can only be white and black. So if you are using too dark or too light color. Status bar icons wouldn't be visible.