Hi
I have a question about anbackground modification
I want to change a solid color background of galaxy s touchwizz
launcher app drawer by a picture
i found the xml files who control this application, that is
laucher.xml , the codes are:

8"?>
<com.sec.android.app.twlauncher.DragLayer android:id="@id/drag_layer"
android:layout_width="fill_parent" android:layout_height="fill_parent"
  xmlns:android="http://schemas.android.com/apk/res/android";
  xmlns:launcher="http://schemas.android.com/apk/res/
com.sec.android.app.twlauncher">
    <com.sec.android.app.twlauncher.Workspace android:id="@id/
workspace" android:layout_width="fill_parent"
android:layout_height="fill_parent" launcher:defaultScreen="0"
launcher:delayedShortcutDisplay="false" />
    <com.sec.android.app.twlauncher.MenuDrawer android:id="@id/
menudrawer" android:background="@drawable/fond"
android:visibility="invisible" android:layout_width="fill_parent"
android:layout_height="fill_parent">
        <ProgressBar android:layout_gravity="center"
android:paddingBottom="81.34dip" android:layout_width="wrap_content"
android:layout_height="wrap_content" />
        <com.sec.android.app.twlauncher.MenuManager android:id="@id/
menumanager" android:layout_width="320.0dip"
android:layout_height="426.66406dip" />
    </com.sec.android.app.twlauncher.MenuDrawer>
    <com.sec.android.app.twlauncher.AppShortcutZone
android:layout_gravity="bottom|center" android:id="@id/shortcut_zone"
android:layout_width="fill_parent" android:layout_height="81.34dip"
launcher:iconColumnCount="4" />
    <com.sec.android.app.twlauncher.DeleteZone
android:layout_gravity="bottom|center" android:id="@id/delete_zone"
android:visibility="invisible" android:layout_width="fill_parent"
android:layout_height="68.0dip"
launcher:applyIconHoverColorFilter="false"
launcher:drawDeleteZoneBg="true"
launcher:inOutAnimationTranslationRatio="1.0"
launcher:inOutAnimationDuration="200">
        <FrameLayout android:id="@id/remove_zone"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:layout_weight="1.0">
            <TextView android:textSize="14.0dip"
android:textColor="#ffffffff" android:gravity="center"
android:layout_gravity="center" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@string/remove"
android:singleLine="true" android:shadowColor="#ff000000"
android:shadowRadius="2.0" android:drawableTop="@drawable/
homescreen_remove_icon" android:drawablePadding="-6.0dip" />
        </FrameLayout>
    </com.sec.android.app.twlauncher.DeleteZone>
    <com.sec.android.app.twlauncher.WidgetPreview android:id="@id/
widget_preview" android:visibility="invisible"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
    <ImageButton android:layout_gravity="bottom|center"
android:id="@id/homescreen_edit_centerbtn"
android:background="@drawable/homescreen_add_bg"
android:visibility="gone" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:src="@drawable/
homescreen_add" />
    <com.sec.android.app.twlauncher.QuickViewWorkspace android:id="@id/
quickviewworkspace" android:visibility="invisible"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
    <com.sec.android.app.twlauncher.QuickViewMainMenu android:id="@id/
quickviewmainmenu" android:visibility="invisible"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</com.sec.android.app.twlauncher.DragLayer>

In this line who control the appdrawer i change

<com.sec.android.app.twlauncher.MenuDrawer android:id="@id/menudrawer"
android:background="@color/menu_background"
android:visibility="invisible" android:layout_width="fill_parent"
android:layout_height="fill_parent">

to

<com.sec.android.app.twlauncher.MenuDrawer android:id="@id/menudrawer"
android:background="@drawable/fond" android:visibility="invisible"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

for replace a black solid color background, by a picture background

i place my picture "fond.png" to drawable

i think is the good way for the modification but it don't work, it's
always the black solid color on the screen

someone see why the modification don't work
thank

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to