Skip to content Skip to sidebar Skip to footer

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

Solution 1:

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...


Solution 2:

you may need to use a Custom ToastView


Solution 3:

Maybe this is a theme problem... Can you try to implement Using Holo while supporting Android 2.x in this post ?


Solution 4:

I finally fixed this by removing android:anyDensity="false" from my supports-screens element in my manifest. I'm not sure why I had it there in the first place, except that I started that app from one of my rather old apps instead of from scratch.

That setting also caused my activity to be realllllly small (order the order of 25px by 20px) when I ran with targetSdkVersion 14 or 15 on my nexus. Seems like a bug.


Post a Comment for "Toast Size On Galaxy Nexus"