Created
December 2, 2016 13:35
-
-
Save dario61081/830e593b7bef7ee6424ac184cc40aa12 to your computer and use it in GitHub Desktop.
Custom toast view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Toast msg = new Toast(getActivity()); | |
View v = View.inflate(getActivity(), R.layout.dlg_save, null); | |
msg.setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL,0,0); | |
msg.setView(v); | |
msg.show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment