try something like this.... it will work
<Button android:layout_height="wrap_content" android:text="Button"
android:layout_width="wrap_content" android:id="@+id/button1"
android:background="#006400"
android:layout_marginTop="52dp"></Button
On Fri, Jan 6, 2012 at 9:50 AM, TreKing <[email protected]> wrote:
> On Tue, Jan 3, 2012 at 12:32 PM, Carl <[email protected]> wrote:
>
>> It appears I need a display refresh or something like VB.NET
>> 's Application.DoEvents()
>>
>> Got any ideas?
>>
>
> http://developer.android.com/reference/android/view/View.html#invalidate()
>
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
> --
> 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
--
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