बनाना मैं recentrly ट्यूटोरियल निम्नलिखित एक कस्टम टोस्ट की कोशिश की है:एक फुलस्क्रीन कस्टम टोस्ट
http://developer.android.com/guide/topics/ui/notifiers/toasts.html#CustomToastView
इस तरह के एक लेआउट के साथ:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/toast_layout_root"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="8dp"
android:background="#DAAA"
>
<ImageView android:src="@drawable/droid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="8dp"
/>
<TextView android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#FFF"
/>
</LinearLayout>
लेकिन ऐसा लगता है कि जड़ लेआउट में fill_parent इसका कोई प्रभाव नहीं है।
क्या आपको पता है कि मैं पूर्णस्क्रीन टोस्ट प्राप्त करने के लिए इसे कैसे ठीक कर सकता हूं?