1. Check out our companion app, Forums for Android! Download from Google Play

Changing src image of a widget

Discussion in 'Application Development' started by kujaff, Jul 18, 2010.

  1. kujaff

    kujaff New Member
    Thread Starter
    5

    Jul 18, 2010
    4
    0
    5
    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 :thinking:

    Thanks
     

    Advertisement

Share This Page

Loading...