[android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread Hari Edo

The tarot deck answers nothing, so I'm reading the tea leaves now.  If
that
doesn't work, I will throw some chicken bones across the campfire.

What app?  Is this your app?  What are you doing to develop the
activity?
Are you making layouts in XML?  Did you try a sample application?
What
tablet are you talking about?

I'm sure this reply is not useful to you.  Google for How to ask
questions
the smart way and you may get some more useful replies.

On Jan 26, 2:10 pm, gato chlr dany...@gmail.com wrote:
 Hi List,

 In a phone, the application works o, but in an android tablet (with android
 2.2) it does not use all screen, does anybody know how to fix that?
 I just see the application in the center of screen, and the rest of screen
 is black.

 Thanks a lot!

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


Re: [android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread Kostya Vasilyev
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
26.01.2011 23:01 пользователь Hari Edo hari@gmail.com написал:

 The tarot deck answers nothing, so I'm reading the tea leaves now. If
 that
 doesn't work, I will throw some chicken bones across the campfire.

 What app? Is this your app? What are you doing to develop the
 activity?
 Are you making layouts in XML? Did you try a sample application?
 What
 tablet are you talking about?

 I'm sure this reply is not useful to you. Google for How to ask
 questions
 the smart way and you may get some more useful replies.

 On Jan 26, 2:10 pm, gato chlr dany...@gmail.com wrote:
 Hi List,

 In a phone, the application works o, but in an android tablet (with
android
 2.2) it does not use all screen, does anybody know how to fix that?
 I just see the application in the center of screen, and the rest of
screen
 is black.

 Thanks a lot!

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread Kostya Vasilyev
This is easily fixed in the manifest. Either set minSdk to 4 or above, or
add supports-screens (look it up in the reference).

http://developer.android.com/guide/practices/screens_support.html

--
Kostya Vasilyev -- http://kmansoft.wordpress.com
26.01.2011 23:01 пользователь Hari Edo hari@gmail.com написал:

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

Re: [android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread gato chlr
On 26 January 2011 16:00, Hari Edo hari@gmail.com wrote:


 The tarot deck answers nothing, so I'm reading the tea leaves now.  If
 that
 doesn't work, I will throw some chicken bones across the campfire.

 Those lines does not help, please google:How to tell somebody: I can't
help you because I don't understand your question or it has few
information.

  What app?  Is this your app?

It is a simple android (Froyo) application that I'm developing. I want that
it runs on tablets. (eg:Samsung Galaxy)

  What are you doing to develop the

 activity?

It does not have nothing special in the manifest file, I just let the
plattform use the screen compatibility features.

supports-screens android:smallScreens
http://developer.android.com/guide/topics/manifest/supports-screens-element.html#small=false

  android:normalScreens
http://developer.android.com/guide/topics/manifest/supports-screens-element.html#normal=false

  android:largeScreens
http://developer.android.com/guide/topics/manifest/supports-screens-element.html#large=false

  android:xlargeScreens
http://developer.android.com/guide/topics/manifest/supports-screens-element.html#xlarge=false

  android:anyDensity
http://developer.android.com/guide/topics/manifest/supports-screens-element.html#any=false
/



 Are you making layouts in XML?

Yes, I have one layout, it is a LinearLayout, that fills the parent in both
width and height

  Did you try a sample application?

I'm just trying this. anyway I have been using the emulator (galaxy tab tab
add-on), and it looks fine. But in the real device the application (I just
have one Activity) is centered and surrounded by a black border.

 What
 tablet are you talking about?

  Samsung Galaxy



 I'm sure this reply is not useful to you.  Google for How to ask
 questions
 the smart way and you may get some more useful replies.

 Thanks for the suggestion.



  On Jan 26, 2:10 pm, gato chlr dany...@gmail.com wrote:
  Hi List,
 
  In a phone, the application works o, but in an android tablet (with
 android
  2.2) it does not use all screen, does anybody know how to fix that?
  I just see the application in the center of screen, and the rest of
 screen
  is black.
 
  Thanks a lot!

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread Kostya Vasilyev
My tarot deck is working just fine, thank you.

Set each value inside supports-screens to true, changing from false's you
have now.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com
27.01.2011 0:04 пользователь gato chlr dany...@gmail.com написал:
 On 26 January 2011 16:00, Hari Edo hari@gmail.com wrote:


 The tarot deck answers nothing, so I'm reading the tea leaves now. If
 that
 doesn't work, I will throw some chicken bones across the campfire.

 Those lines does not help, please google:How to tell somebody: I can't
 help you because I don't understand your question or it has few
 information.

 What app? Is this your app?

 It is a simple android (Froyo) application that I'm developing. I want
that
 it runs on tablets. (eg:Samsung Galaxy)

 What are you doing to develop the

 activity?

 It does not have nothing special in the manifest file, I just let the
 plattform use the screen compatibility features.

 supports-screens android:smallScreens
 
http://developer.android.com/guide/topics/manifest/supports-screens-element.html#small
=false

 android:normalScreens
 
http://developer.android.com/guide/topics/manifest/supports-screens-element.html#normal
=false

 android:largeScreens
 
http://developer.android.com/guide/topics/manifest/supports-screens-element.html#large
=false

 android:xlargeScreens
 
http://developer.android.com/guide/topics/manifest/supports-screens-element.html#xlarge
=false

 android:anyDensity
 
http://developer.android.com/guide/topics/manifest/supports-screens-element.html#any
=false
 /



 Are you making layouts in XML?

 Yes, I have one layout, it is a LinearLayout, that fills the parent in
both
 width and height

 Did you try a sample application?

 I'm just trying this. anyway I have been using the emulator (galaxy tab
tab
 add-on), and it looks fine. But in the real device the application (I just
 have one Activity) is centered and surrounded by a black border.

 What
 tablet are you talking about?

 Samsung Galaxy



 I'm sure this reply is not useful to you. Google for How to ask
 questions
 the smart way and you may get some more useful replies.

 Thanks for the suggestion.



 On Jan 26, 2:10 pm, gato chlr dany...@gmail.com wrote:
  Hi List,
 
  In a phone, the application works o, but in an android tablet (with
 android
  2.2) it does not use all screen, does anybody know how to fix that?
  I just see the application in the center of screen, and the rest of
 screen
  is black.
 
  Thanks a lot!

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com

 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread gato chlr
Thanks Kostya ! it works for me!
now the application uses the whole screen.
Just one more thing, now the elements (Buttons, TextViews) and all in
general looks smaller and because of that, the general view is a little bit
wrong.
What can I do to fix that. As I'm using Android 2.2 I can't use x-large
properties to make a layout for tablets.
Right now I'm setting all my layout to looks ok in tablet (heights and
widths) , but not sure if then the application will look good in smartphones
(motorla, or htc)
 Any idea?


2011/1/26 Kostya Vasilyev kmans...@gmail.com

 My tarot deck is working just fine, thank you.

 Set each value inside supports-screens to true, changing from false's you
 have now.

 --
 Kostya Vasilyev -- http://kmansoft.wordpress.com
 27.01.2011 0:04 пользователь gato chlr dany...@gmail.com написал:

  On 26 January 2011 16:00, Hari Edo hari@gmail.com wrote:
 
 
  The tarot deck answers nothing, so I'm reading the tea leaves now. If
  that
  doesn't work, I will throw some chicken bones across the campfire.
 
  Those lines does not help, please google:How to tell somebody: I can't
  help you because I don't understand your question or it has few
  information.
 
  What app? Is this your app?
 
  It is a simple android (Froyo) application that I'm developing. I want
 that
  it runs on tablets. (eg:Samsung Galaxy)
 
  What are you doing to develop the
 
  activity?
 
  It does not have nothing special in the manifest file, I just let the
  plattform use the screen compatibility features.
 
  supports-screens android:smallScreens
  
 http://developer.android.com/guide/topics/manifest/supports-screens-element.html#small
 =false
 
  android:normalScreens
  
 http://developer.android.com/guide/topics/manifest/supports-screens-element.html#normal
 =false
 
  android:largeScreens
  
 http://developer.android.com/guide/topics/manifest/supports-screens-element.html#large
 =false
 
  android:xlargeScreens
  
 http://developer.android.com/guide/topics/manifest/supports-screens-element.html#xlarge
 =false
 
  android:anyDensity
  
 http://developer.android.com/guide/topics/manifest/supports-screens-element.html#any
 =false

  /
 
 
 
  Are you making layouts in XML?
 
  Yes, I have one layout, it is a LinearLayout, that fills the parent in
 both
  width and height
 
  Did you try a sample application?
 
  I'm just trying this. anyway I have been using the emulator (galaxy tab
 tab
  add-on), and it looks fine. But in the real device the application (I
 just
  have one Activity) is centered and surrounded by a black border.
 
  What
  tablet are you talking about?
 
  Samsung Galaxy
 
 
 
  I'm sure this reply is not useful to you. Google for How to ask
  questions
  the smart way and you may get some more useful replies.
 
  Thanks for the suggestion.
 
 
 
  On Jan 26, 2:10 pm, gato chlr dany...@gmail.com wrote:
   Hi List,
  
   In a phone, the application works o, but in an android tablet (with
  android
   2.2) it does not use all screen, does anybody know how to fix that?
   I just see the application in the center of screen, and the rest of
  screen
   is black.
  
   Thanks a lot!
 
  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com
 

  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


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

Re: [android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread Kostya Vasilyev
Dany,

Read the information at the link I posted before, that should get you
started. If you have any specific questions, post them here, providing more
context, someone should be able to help.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com
27.01.2011 1:09 пользователь gato chlr dany...@gmail.com написал:
 Thanks Kostya ! it works for me!
 now the application uses the whole screen.
 Just one more thing, now the elements (Buttons, TextViews) and all in
 general looks smaller and because of that, the general view is a little
bit
 wrong.
 What can I do to fix that. As I'm using Android 2.2 I can't use x-large
 properties to make a layout for tablets.
 Right now I'm setting all my layout to looks ok in tablet (heights and
 widths) , but not sure if then the application will look good in
smartphones
 (motorla, or htc)
 Any idea?


 2011/1/26 Kostya Vasilyev kmans...@gmail.com

 My tarot deck is working just fine, thank you.

 Set each value inside supports-screens to true, changing from false's you
 have now.

 --
 Kostya Vasilyev -- http://kmansoft.wordpress.com
 27.01.2011 0:04 пользователь gato chlr dany...@gmail.com написал:

  On 26 January 2011 16:00, Hari Edo hari@gmail.com wrote:
 
 
  The tarot deck answers nothing, so I'm reading the tea leaves now. If
  that
  doesn't work, I will throw some chicken bones across the campfire.
 
  Those lines does not help, please google:How to tell somebody: I
can't
  help you because I don't understand your question or it has few
  information.
 
  What app? Is this your app?
 
  It is a simple android (Froyo) application that I'm developing. I want
 that
  it runs on tablets. (eg:Samsung Galaxy)
 
  What are you doing to develop the
 
  activity?
 
  It does not have nothing special in the manifest file, I just let the
  plattform use the screen compatibility features.
 
  supports-screens android:smallScreens
  

http://developer.android.com/guide/topics/manifest/supports-screens-element.html#small
 =false
 
  android:normalScreens
  

http://developer.android.com/guide/topics/manifest/supports-screens-element.html#normal
 =false
 
  android:largeScreens
  

http://developer.android.com/guide/topics/manifest/supports-screens-element.html#large
 =false
 
  android:xlargeScreens
  

http://developer.android.com/guide/topics/manifest/supports-screens-element.html#xlarge
 =false
 
  android:anyDensity
  

http://developer.android.com/guide/topics/manifest/supports-screens-element.html#any
 =false

  /
 
 
 
  Are you making layouts in XML?
 
  Yes, I have one layout, it is a LinearLayout, that fills the parent in
 both
  width and height
 
  Did you try a sample application?
 
  I'm just trying this. anyway I have been using the emulator (galaxy tab
 tab
  add-on), and it looks fine. But in the real device the application (I
 just
  have one Activity) is centered and surrounded by a black border.
 
  What
  tablet are you talking about?
 
  Samsung Galaxy
 
 
 
  I'm sure this reply is not useful to you. Google for How to ask
  questions
  the smart way and you may get some more useful replies.
 
  Thanks for the suggestion.
 
 
 
  On Jan 26, 2:10 pm, gato chlr dany...@gmail.com wrote:
   Hi List,
  
   In a phone, the application works o, but in an android tablet (with
  android
   2.2) it does not use all screen, does anybody know how to fix that?
   I just see the application in the center of screen, and the rest of
  screen
   is black.
  
   Thanks a lot!
 
  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com

 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com
android-developers%252bunsubscr...@googlegroups.comandroid-developers%25252bunsubscr...@googlegroups.com

 

  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com

  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

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