Different transparency support on diff devices!?

by SweX » Tue, 17 May 2011 07:09:01 GMT


Sponsored Links
 I've got Superpad 3 android tablet with 2.2 on board, and I'm
developing my apps on it, but recently got stupid bug dnt know how to
fix..bug is:
It doesn't show transparent elements above video eq SurfaceView or
VideoView, just greyscale region depends transperancy percentage. On
my HTC Hero same elements handles fine. Where is the problem and how
can I fix it!? Thanks

-- 



Re: Different transparency support on diff devices!?

by kmiecikt91 » Thu, 19 May 2011 22:32:53 GMT


 Hi,

I would first have a look at cupple of xml files in frameworks/core/res/res/
folder, to see if things can be tuned. But this is only my 2 cents.

Bye

2011/5/15 SweX <swe...@gmail.com>


-- 


Sponsored Links


Re: Different transparency support on diff devices!?

by hedwin » Fri, 20 May 2011 15:31:54 GMT


 Best to put it on the android-platform mailing list, better chance of people
being able to help.





-- 



Other Threads

1. Smooth scrolling within a custom view - how to?

Hi,

I would really appreciate any insights regarding the following. Any
pointers/hints/thoughts on this   would be very helpful. I have wasted
quite a bit of time on this.

I have a custom view that needs to scroll internally. Currently the
way I do it is to re-draw the View when I detect fling/scroll
gestures. It works but is extremely jerky when the scroll amount is
large.
I am trying to make the custom view scroll smoothly similar to the way
ListView does.

I've looked at the 'Scroller' class but couldn't figure out how to
make it work with a View.

The only solution I've figured out so far is to start a 'Timer'/Thread
on large Scrolls and manually post invalidates.  This is obviously
undesirable from a performance perspective since every fling/large
scroll creates a Timer/Thread.

I do not want to use ScrollView. The custom view is laid out within a
RelativeLayout.

Thanks,

--MB.

-- 

2. Can startActivityForResult be called from within InputMethodService?

Hi,

i am trying to add voice recognition to my input service keyboard.

So I have:

public class mekb extends InputMethodService

But then to call voice recognition, after the example in the sample, I
need to do:

 private void startVoiceRecognitionActivity() {
                Intent intent = new
Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
                intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
                        RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
                intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speech
recognition demo");
                startActivityForResult(intent,
VOICE_RECOGNITION_REQUEST_CODE);
            }

But then I get the eclipse error that:
  startActivityForResult is undefined for this type.

So is it the case that I cannot get startActivityForResult from
InputMethodService?
Then what's the work around?

Thank you.

-- 

3. queryBroadcastReceivers does not return receivers registered by registerReceiver()

4. ContactsContract.Contact Not fully Aggregated

5. Galaxy Tab SDK missing shared library

6. Application wake up

7. libaudiofinger error when building froyo for Samsung Captivate