Kostya,

Yes, that's exactly what I'm looking for.  Odd that you cannot theme
yourself to mimic that look.

I don't think I can use an actual AlertDialog since I am displaying this
from inside a broadcast receiver.  I believe that that is the classic
situation that requires one to use an actual activity that is made to
look like a dialog.  Am I correct or am I missing something?

...Jake


>>>>> "KV" == Kostya Vasilyev <[email protected]> writes:

   KV> Jake,

   KV> Ah, you mean like an *alert* dialog. I don't think you can.

   KV> AlertDialog uses certain resources which are not accessible to
   KV> applications. You can find them under
   KV> android-X\data\res\drawable:

   KV> - popup_top_dark.9.png for the title bar background;
   KV> - popup_center_bright.9.png for the middle portion;
   KV> - ic_dialog_menu_generic.png for the title bar icon.

   KV> ... but they can not be used by applications for some reason.

   KV> It's possible to copy them into your project, but then some
   KV> devices do customize those images (like the Galaxy S family).

   KV> If you really want that look, use an AlertDialog with a custom
   KV> view if you can.

   KV> -- Kostya

   KV> 17.02.2011 17:43, Jake Colman пишет:
   >>>>>>> "KV" == Kostya Vasilyev<[email protected]>  writes:
   KV> 17.02.2011 16:35, Jake Colman пишет:
   >> >>  <style name="DialogTheme" parent="android:style/Theme.Dialog">
   >> 
   KV> For one, you are missing the @ sign:
   >> 
   KV> parent="@android:style/Theme.Dialog"
   >> 
   >> 
   >> Thanks for the catch but that wasn't the problem!
   >> 
   >> Use the "Add to Home Screen" dialog as an example, how do I theme my
   >> activity to have that same look?  Simply using Theme.Dialog as the
   >> parent style doesn't seem to be the whole solution.
   >> 

   KV> -- 
   KV> Kostya Vasilyev -- http://kmansoft.wordpress.com

   KV> -- 
   KV> You received this message because you are subscribed to the Google
   KV> Groups "Android Developers" group.
   KV> To post to this group, send email to [email protected]
   KV> To unsubscribe from this group, send email to
   KV> [email protected]
   KV> For more options, visit this group at
   KV> http://groups.google.com/group/android-developers?hl=en

-- 
Jake Colman -- Android Tinkerer

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