Changing src image of a widget


Last Updated:

  1. kujaff

    kujaff New Member This Topic's Starter

    Joined:
    Jul 18, 2010
    Messages:
    4
    Likes Received:
    0
    Hi :p

    I want to change the src of the image of my widget, wich have this layout :
    PHP:
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <LinearLayout  xmlns:android="http://schemas.android.com/apk/res/android"
    3.                android:layout_width="fill_parent"
    4.                android:layout_height="fill_parent"
    5.                android:orientation="vertical" >
    6.     <ImageView  android:id="@+id/wifi_widget_icon"
    7.                android:scaleType="center"
    8.         android:layout_width="fill_parent"
    9.              android:layout_height="fill_parent"
    10.                android:src="@drawable/wifi_enabled" />
    11. </LinearLayout>
    How can i do this please :confused:

    Thanks
     

    Advertisement

Share This Page

Loading...