所以从transient_notification布局xml:
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/toast_frame">
android:id="@android:id/message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textAppearance="@style/TextAppearance.Small"
android:textColor="@color/bright_foreground_dark"
android:shadowColor="#BB000000"
android:shadowRadius="2.75"
/>
哪个指向res / drawable-hdpi / toast_frame.9.png.然而,该图像似乎因版本而异.您可以在android-sdk文件夹中找到这些文件,在/ platforms / / data / res中.