Extending Theme.Dialog Problem

by nEx.Software » Sat, 07 Mar 2009 05:05:37 GMT


Sponsored Links
 I've extended Theme.Dialog to use a different color as per the sample
in the ApiDemos project but for some reason it does not use the theme
properly in my project. I created a new project and it works perfectly
fine there. The main problem here is that it does not show as floating
in my project. Instead, it sets the rest of the screen black except
for what would be the dialog window, where it uses the correct colors,
etc... Any ideas? I am beating my head against the wall here. Thanks
in advance.
--~--~---------~--~----~------------~-------~--~----~



Extending Theme.Dialog Problem

by mibollma » Sat, 07 Mar 2009 06:50:11 GMT


 i ran into the same problem when i was experimenting with
onApplyThemeResource

you will get a black background if you don't call the superclass
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. not getting smooth rotation in android

I am rotating image with this code

RotateAnimation  ranim = new RotateAnimation(0f, 360f,
Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f); //,
200, 200); // canvas.getWidth() / 2, canvas.getHeight() / 2);
           stopImage=(ImageView) findViewById(R.id.stopimage);
           ranim.setDuration(2000);
        ranim.setInterpolator(new LinearInterpolator());
           ranim.setRepeatCount(Animation.INFINITE);
           ranim.setRepeatMode(Animation.RESTART);
       stopImage.startAnimation(ranim);


But rotation does not seem to be smooth,,how to make smooth rotation


Can anybody help please

It is urgent

Thanks
Kavitha

-- 

2. Use a dictionary for input method suggestions

Hi,
For various reasons, i'm trying to write my own input keyboard. So far
all is going well except that of creating the suggestions.

I've found the latinIME algorithm, which is all good.

However i'm having major difficulty working out how to load the
dictionary in the first place.

I've had a good look round the net, and found various suggestions, but
no definitive answers, and i cant seem to get any of them to work.

If anyone has any suggestions on how best to do it, or even better
some sample code, that would be brilliant.

Many Thanks

James

-- 

3. Blog post: LinearLayout gravity and layout_gravity explained

4. sms to specific port

5. Multi instance of app launch from status bar notification.

6. How to draw a circle of Given Radius on Google Maps

7. Blur an image