Hi,

I am trying to turn on hardware acceleration for my HoneyComb application 
but I never seem to get a 'true' result from this function.

I tried all the methods in the Android Developers blog post about the 
subject (
http://android-developers.blogspot.com/2011/03/android-30-hardware-acceleration.html
).

I am working on a completely blank project (ADT generated project), I added 
the  tag  android:hardwareAccelerated="true"  to both the application and 
activity and even called 
        getWindow().setFlags(
                WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
                WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);

before calling setContentView()

My view only has the TextView that was automatically generated from the ADT 
new project wizard.

Yet, no matter what I do, when I call isHardwareAccelerated() on the 
textview or the root view or any canvas I try to obtain - the function 
isHardwareAccelerated() of the view/canvas always returns false.

I am testing on a Motorola Xoom device with Android 3.0.1

What am I missing here ? 

Best Regards,
Shai


-- 
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