Try

Button yourButton = (Button) findViewById(R.id.widget28);

On Fri, Dec 5, 2008 at 9:29 AM, Josh <[EMAIL PROTECTED]> wrote:

>
> I notice in all of the code examples that when a widget has an id it
> is usually something like android:id="@+id/widget28"
>
> Which im assuming is just a variable that is stored somewhere. Where
> are they stored? Also is that the only way to name widgets? In just
> about every other language i have used you can usually do something
> like id="mywidget"
>
> thanks,
>
> Josh
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to