0

Never messed with custom layout in Android.

What I'm basically trying to do is this: enter image description here

The closest thing I've found is this, but didn't manage to make it work (tried for few hours and no result, it just won't show), and also it would require more work to make it look like the facebook's one.

I'd like to be able to call the toast everywhere from my app, too.

Thanks ahead.

Community
  • 1
  • 1
Jjang
  • 11,250
  • 11
  • 51
  • 87
  • 1
    Btw, toasts with buttons/actions sound more like a [Snackbar](http://android-developers.blogspot.ca/2015/05/android-design-support-library.html) component from the new design library. – AndroidEx Jun 13 '15 at 17:04
  • @Android777, thanks, this looks like the answer. I got another problem tho, I imported the design support library with resources to my workspace but I get lots of 'error: Error: No resource found that matches the given...' in the styles.xml. Any idea? – Jjang Jun 13 '15 at 18:41

0 Answers0