有没有人对冰淇淋三明治的吐司通知太小有任何问题?在我的应用程序中,通知在所有其他版本上看起来都很好。然而,在冰淇淋三明治中,它却非常小。起初我以为这可能是我的自定义主题,但禁用后,我看到了同样的结果。我像其他人一样用:
显示ToastToast.makeText(MyActivity.this, "Hello, World!", Toast.LENGTH_SHORT).show();
我的主题:
<resources>
<style name="mytheme" parent="@android:style/Theme.Light.NoTitleBar" >
<item name="android:editTextStyle">@style/blue_edittext</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@color/White</item>
</style>
</resources>
任何想法?谢谢!
根据这个问题/答案:
添加
<supports-screens android:resizeable="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"/>
到我的清单,解决了我的问题…