Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Toast size on Galaxy Nexus

When I use toasts in my app, the size is very very small. But when another app displays a toast, the size is normal (like Advanced Task Killer, or SMS).

What do I have to do to get normally-sized toasts?

I have a Galaxy Nexus ICS=4.0.1, and my app is using SDK API level 7 (android 2.1+).

like image 888
Christian Avatar asked Jan 09 '12 20:01

Christian


2 Answers

Thank you ! (x1000)

Adding

    <supports-screens android:resizeable="true"
                  android:smallScreens="true"
                  android:normalScreens="true"
                  android:largeScreens="true"
                  android:anyDensity="true"/>

to my manifest, solved my problem...

like image 175
cad13 Avatar answered Nov 10 '22 01:11

cad13


you may need to use a Custom ToastView

like image 28
elijah Avatar answered Nov 10 '22 01:11

elijah