/ Published in: Java

How to add custom layout to TOAST
Expand |
Embed | Plain Text
LayoutInflater inflater = getLayoutInflater(); (ViewGroup) findViewById(R.id.relativeLayout1)); Toast toast = new Toast(this); toast.setView(view); toast.show();
You need to login to post a comment.