The default activity window (when my program opens), I want to be able to customize it to be more like a theme dialog (not fill 100% width and 100% height), plus I'd like to customize other things perhaps. If you could show me some examples that'd be great!
thanks On May 31, 8:01 am, tek <tek.bas...@gmail.com> wrote: > What is it you are trying to acheive? Reason I ask is I've found you > can do a lot more using 9 patch png files backed by a basic style > theme. I have examples if you can tell me more about what you are > trying to achieve. > > Regards. > > On May 31, 12:53 am, mike <maldwo...@gmail.com> wrote: > > > I was basically creating a custom Dialog.Theme, and inheriting from > > the parent. I used the help > > herehttp://developer.android.com/guide/topics/ui/themes.html#inTheManifest > > and was able to add the style as a parent in the styles.xml. However I > > got to the point where I had: > > > <?xml version="1.0" encoding="utf-8"?> > > <resources> > > <style name="Theme.CustomDialog" parent="@android:style/ > > Theme.Dialog"> > > <item name=""></item> > > </style> > > </resources> > > > and then it hit me, I don't know what name attributes I can use to > > apply or modifty to Theme.Dialog. I know there has to be some but I > > couldn't find any. I eventually found some guy's post with these > > > <item name="android:windowNoTitle">true</item> > > <item name="android:windowIsFloating">true</item> > > <item name="android:windowNoTitle">true</item> > > <item name="android:padding">10dp</item> > > <item name="android:backgroundDimAmount">0</item> > > <item name="android:shadowColor">#000000</item> > > <item name="android:shadowRadius">5</item> > > > My question is, Are there more? Where can I find a listing of the > > available attributes that I can edit from the Theme.Dialog? > > > Thanks, > > > Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---