[android-developers] Re: Menu on the center of the screen if style inherit from Theme.Dialog

2009-05-14 Thread Adrien Guichard

2009/5/14 andreas andreas.str...@googlemail.com

 I have the same problem - any solution?

 Greetings,
 Andreas

AFAIK, no. The same problem occurs with Android Cupcake too. I reply
to Android developper ML, because there is no better way to display my
app, I would be happy to know how to solve this.


The problem was (Would like to open a bug report but do not know how
to do it...):

if my custom Activity style inherite from android:style/Theme.Dialog:
       style name=MyTransparent parent=android:style/Theme.Dialog
       /style

The menu associated with my activity pop up on the center of the screen.

Is this the expected behaviour ?
Is there any workaround ?


Thanks for your support,
Adrien

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



[android-developers] Menu on the center of the screen if style inherit from Theme.Dialog

2009-02-17 Thread Adrien Guichard

if my custom Activity style inherite from android:style/Theme.Dialog:
style name=MyTransparent parent=android:style/Theme.Dialog
/style

The menu associated with my activity pop up on the center of the screen.

Is this the expected behaviour ?
Is there any workaround ?


Thanks for your support,
Adrien

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



[android-developers] Cannot use custom style that inherit from translucent android theme

2009-02-16 Thread Adrien Guichard

if I do add the property:
android:theme=@style/android:Theme.Translucent.NoTitleBar

to my activity into the manifest file, it does work.


if I want to use a custom style that inherit from this style, even
without setting any properties into my style.xml:
   android:theme=@style/MyTranslucent
and
   style name=MyTranslucent
parent=android:style/android:Theme.Translucent.NoTitleBar/style

it does not work. But if I inherit from another android style (i.e.
Dialog for exemple), it does work...


has someone a solution?
Thx

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



[android-developers] Re: Cannot use custom style that inherit from translucent android theme

2009-02-16 Thread Adrien Guichard

2009/2/17 Greg Krimer gkri...@gmail.com:

 Did you mean:

 style name=MyTranslucent
 parent=android:Theme.Translucent.NoTitleBar/style


Yes, Translucents Themes are not inherited, other theme are ...

 Anyway, I can confirm that it indeed does not work.

 But this does (in the sense that the title bar is absent):

 style name=MyTranslucent parent=android:Theme.NoTitleBar/
 style

 How odd. I'd like to know what's up with this, too. Anyone have any
 ideas?


I do find a workaround, from the samples style.xml file (I do not find
any documentation about items of style):

style name=Theme.Transparent
item name=android:windowIsTranslucenttrue/item
item 
name=android:windowAnimationStyle@android:style/Animation.Translucent/item
item 
name=android:windowBackground@drawable/transparent_background/item
item name=android:windowNoTitletrue/item
item name=android:colorForeground#fff/item
/style

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



[android-developers] Re: There is a problem communicating with Google servers

2009-01-26 Thread Adrien Guichard

2009/1/24 qwerty enetconsult...@comcast.net:

 I just got the Dev. phone today and trying to get it up and
 running'.   I am trying to create a google account but I keep getting
 an error message

 There is a problem communicating with Google servers

 This could be a temporary problem or your SIM card may not be
 provisioned for data services.  if it continues, call Customer Care.


Try using Wifi:

If you have RC30 or further release:
Connect your phone to a computer with the SDK installed, then run:
$ ./adb shell
$ su
# am start -a android.intent.action.MAIN -n com.android.settings/.Settings

If you have a previous release, follow instructions listed there:
http://forum.xda-developers.com/showthread.php?p=3195022

Then you may need to set APN, but I do not really know what to put in
it, I do not have data enbled SIM card.

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