2010-09-01 10 views

Répondre

9

La mise en page se trouve sous {} SDKBASEDIR/plates-formes/{} RELEASE /res/layout/transient_notification.xml

par exemple 2,1:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:orientation="vertical" 
    android:background="@drawable/toast_frame"> 
<TextView 
    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" 
    /> 

</LinearLayout> 

Le toast_frame.9.png drawable se trouve sous {SDKBASEDIR}/plates-formes/{} RELEASE/res/drawable {} -résolution

+0

oh, merci! Je vais tester ce code dans la soirée. – androidfan76