[android-beginners] Re: WQVGA not respecting android:layout_height=fill_parent for layout.

2010-08-06 Thread ckloch
I have got some support on this and my problem is now solved both on
Android 1.5 and 2.1

Best regards
ckloch

On 17 Jun., 20:41, ckloch htc.kl...@hotmail.com wrote:
 Thanks for this inspiring contribtion.

 I have just ran in to the same problem with a HTC Hero Android 1.5
 By using android:layout_width=fill_parent, the screen does only take
 approximately half of the width of the screen while the rest is black.

 So, does it mean that I have to dictate the width in inches/mm to fill
 the entire width of the screen, or are there other ways to do?

 Thank you for your helpckloch

 On 14 Maj, 19:18, Stormtap Studios r...@stormtapstudios.com wrote:



  Ok, that makes sense for 1.6+ devices.  What will happen on small
  screen devices like QVGA-P and QVGA-L running 1.5 if you specify a -
  small resource folder?  Will it use the -small folder if that minimum
  sdk level is set, or does that SDK level just know nothing about that
  folder and keep on using the regular ones?

  Rob

  On May 14, 10:03šam, Kostya Vasilyev kmans...@gmail.com wrote:

   You can build against 1.6 and set min-sdk to 3, also set supports-screens
   for high and low screen support.

   There was a topic here recently about properly specifying drawables.

   14 ÍÁÑ, 2010 8:47 PM ÐÏÌØÚÏ×ÁÔÅÌØ Stormtap Studios 
   r...@stormtapstudios.com ÎÁÐÉÓÁÌ:

   I've found the reason this happens. šAccording to the documentation:

   Compatibility-mode display on larger screen-sizes
   If the current screen's size is larger than your application supports,
   as specified in the supports-screens element, the platform displays
   the application at the baseline size (normal) and density (medium).
   For screens larger than baseline, the platform displays the
   application in a baseline-sized portion of the overall screen, against
   a black background.

   This is what's happening to me.

   Unfortunately my app is being built against Android 1.5 and I can't
   include the supports-screens tag in the manifest to indicate that I
   support the large screens which would allow it to scale properly.
   Does anyone know of a way to tell the screen to stretch /fill_parent
   on large screens in Android 1.5?

   Thanks,

   Rob

   On May 13, 7:43 pm, Stormtap Studios r...@stormtapstudios.com wrote:  
   Hi
   guys,   I have this l... NEW! Try asking and tagging your question on 
   Stack Overflow athttp://

   stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to 

   android-beginners+unsubscr...@googlegroups.comandroid-beginners%2Bunsubscr
i...@googlegroups.com For more options, visit this group athttp://

   groups.google.com/group/android-beginners?hl=en

   -- You received this message because you are subscribed to the Google 
   Groups
   Android Beginners g...

   --
   You received this message because you are subscribed to the Google
   Groups Android Beginners group.

   NEW! Try asking and tagging your question on Stack Overflow 
   athttp://stackoverflow.com/questions/tagged/android

   To unsubscribe from this group, send email to
   android-beginners+unsubscr...@googlegroups.com
   For more options, visit this group 
   athttp://groups.google.com/group/android-beginners?hl=en

  --
  You received this message because you are subscribed to the Google
  Groups Android Beginners group.

  NEW! Try asking and tagging your question on Stack Overflow 
  athttp://stackoverflow.com/questions/tagged/android

  To unsubscribe from this group, send email to
  android-beginners+unsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/android-beginners?hl=en-Skjul tekst i 
  anførselstegn -

  - Vis tekst i anførselstegn -- Skjul tekst i anførselstegn -

 - Vis tekst i anførselstegn -

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

ATTENTION: Android-Beginners will be permanently disabled on August 9 2010. For 
more information about this change, please read [http://goo.gl/xkfl] or visit 
the Group home page.

Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: WQVGA not respecting android:layout_height=fill_parent for layout.

2010-06-17 Thread ckloch
Thanks for this inspiring contribtion.

I have just ran in to the same problem with a HTC Hero Android 1.5
By using android:layout_width=fill_parent, the screen does only take
approximately half of the width of the screen while the rest is black.

So, does it mean that I have to dictate the width in inches/mm to fill
the entire width of the screen, or are there other ways to do?

Thank you for your help
ckloch


On 14 Maj, 19:18, Stormtap Studios r...@stormtapstudios.com wrote:
 Ok, that makes sense for 1.6+ devices.  What will happen on small
 screen devices like QVGA-P and QVGA-L running 1.5 if you specify a -
 small resource folder?  Will it use the -small folder if that minimum
 sdk level is set, or does that SDK level just know nothing about that
 folder and keep on using the regular ones?

 Rob

 On May 14, 10:03šam, Kostya Vasilyev kmans...@gmail.com wrote:





  You can build against 1.6 and set min-sdk to 3, also set supports-screens
  for high and low screen support.

  There was a topic here recently about properly specifying drawables.

  14 ÍÁÑ, 2010 8:47 PM ÐÏÌØÚÏ×ÁÔÅÌØ Stormtap Studios 
  r...@stormtapstudios.com ÎÁÐÉÓÁÌ:

  I've found the reason this happens. šAccording to the documentation:

  Compatibility-mode display on larger screen-sizes
  If the current screen's size is larger than your application supports,
  as specified in the supports-screens element, the platform displays
  the application at the baseline size (normal) and density (medium).
  For screens larger than baseline, the platform displays the
  application in a baseline-sized portion of the overall screen, against
  a black background.

  This is what's happening to me.

  Unfortunately my app is being built against Android 1.5 and I can't
  include the supports-screens tag in the manifest to indicate that I
  support the large screens which would allow it to scale properly.
  Does anyone know of a way to tell the screen to stretch /fill_parent
  on large screens in Android 1.5?

  Thanks,

  Rob

  On May 13, 7:43 pm, Stormtap Studios r...@stormtapstudios.com wrote:  Hi
  guys,   I have this l... NEW! Try asking and tagging your question on 
  Stack Overflow athttp://

  stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to 

  android-beginners+unsubscr...@googlegroups.comandroid-beginners%2Bunsubscr 
  i...@googlegroups.com For more options, visit this group athttp://

  groups.google.com/group/android-beginners?hl=en

  -- You received this message because you are subscribed to the Google Groups
  Android Beginners g...

  --
  You received this message because you are subscribed to the Google
  Groups Android Beginners group.

  NEW! Try asking and tagging your question on Stack Overflow 
  athttp://stackoverflow.com/questions/tagged/android

  To unsubscribe from this group, send email to
  android-beginners+unsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/android-beginners?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow 
 athttp://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-beginners?hl=en- Skjul tekst i 
 anførselstegn -

 - Vis tekst i anførselstegn -

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: WQVGA not respecting android:layout_height=fill_parent for layout.

2010-05-14 Thread Stormtap Studios
I've found the reason this happens.  According to the documentation:

Compatibility-mode display on larger screen-sizes
If the current screen's size is larger than your application supports,
as specified in the supports-screens element, the platform displays
the application at the baseline size (normal) and density (medium).
For screens larger than baseline, the platform displays the
application in a baseline-sized portion of the overall screen, against
a black background.

This is what's happening to me.

Unfortunately my app is being built against Android 1.5 and I can't
include the supports-screens tag in the manifest to indicate that I
support the large screens which would allow it to scale properly.
Does anyone know of a way to tell the screen to stretch / fill_parent
on large screens in Android 1.5?

Thanks,

Rob

On May 13, 7:43 pm, Stormtap Studios r...@stormtapstudios.com wrote:
 Hi guys,

 I have this layout:

 ?xml version=1.0 encoding=utf-8?
 LinearLayout
   xmlns:android=http://schemas.android.com/apk/res/android;
   android:orientation=vertical
   android:layout_height=fill_parent
   android:layout_width=fill_parent
   android:background=#FF
         LinearLayout android:id=@+id/MenuTitleLinearLayout
 android:orientation=horizontal android:layout_width=fill_parent
 android:background=@drawable/titlebarbg
 android:layout_height=44dp
                 trc.prl.Utility.HTMLTextView android:id=@+id/
 HTMLTextViewTitlePreviousMenu android:layout_width=wrap_content
 android:layout_gravity=left|center_vertical
 android:textColor=#FF android:scrollbars=none
 android:textStyle=bold android:gravity=left|center_vertical
 android:background=@drawable/previoustitlebarbg
 android:paddingLeft=4dp android:paddingRight=4dp android:lines=2
 android:layout_height=fill_parent/
                 ImageView android:layout_width=wrap_content
 android:layout_gravity=center_vertical android:background=@drawable/
 titleseparator android:id=@+id/ImageTitleSeparator
 android:layout_height=fill_parent/
                 trc.prl.Utility.HTMLTextView android:id=@+id/
 HTMLTextViewTitleCurrentMenu android:layout_marginLeft=4dp
 android:layout_marginRight=4dp android:scrollbars=none
 android:textColor=#FF android:layout_width=fill_parent
 android:layout_weight=1 android:layout_gravity=center_vertical
 android:textStyle=bold android:gravity=left|center_vertical
 android:lines=2 android:ellipsize=end
 android:layout_height=fill_parent android:layout_marginBottom=4dp
 android:layout_marginTop=4dp/
                 Button android:layout_height=wrap_content android:id=@+id/
 MenuSubscribeButton android:layout_gravity=center_horizontal|
 center_vertical android:text=Subscribe android:textColor=#FF
 android:background=@drawable/greenbuttonselector
 android:textSize=10dp android:layout_width=60dp
 android:visibility=gone android:layout_marginRight=4dp/
         /LinearLayout
         ListView android:id=@android:id/list
 android:layout_width=fill_parent android:layout_height=fill_parent
 android:cacheColorHint=#FF android:footerDividersEnabled=true
 android:headerDividersEnabled=true android:divider=@drawable/
 listdivider/ListView
 /LinearLayout

 When I test on the emulator with a target pointed at API level 7 with
 the WQVGA 432 screen size and run the app I see my app with everything
 in place nicely, however there's a block of black at the bottom of the
 screen, approximately 1/5th of the screen height.  The view isn't
 stretching down to fill the entire height of the screen even though
 the layout is set to fill_parent.

 Can anyone tell me why this is?  What do I need to do to support WQVGA
 432?

 Thanks very much,

 Rob Hawkey

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow 
 athttp://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: WQVGA not respecting android:layout_height=fill_parent for layout.

2010-05-14 Thread Kostya Vasilyev
You can build against 1.6 and set min-sdk to 3, also set supports-screens
for high and low screen support.

There was a topic here recently about properly specifying drawables.

14 мая, 2010 8:47 PM пользователь Stormtap Studios 
r...@stormtapstudios.com написал:

I've found the reason this happens.  According to the documentation:

Compatibility-mode display on larger screen-sizes
If the current screen's size is larger than your application supports,
as specified in the supports-screens element, the platform displays
the application at the baseline size (normal) and density (medium).
For screens larger than baseline, the platform displays the
application in a baseline-sized portion of the overall screen, against
a black background.

This is what's happening to me.

Unfortunately my app is being built against Android 1.5 and I can't
include the supports-screens tag in the manifest to indicate that I
support the large screens which would allow it to scale properly.
Does anyone know of a way to tell the screen to stretch / fill_parent
on large screens in Android 1.5?

Thanks,

Rob

On May 13, 7:43 pm, Stormtap Studios r...@stormtapstudios.com wrote:  Hi
guys,   I have this l...
 NEW! Try asking and tagging your question on Stack Overflow athttp://
stackoverflow.com/questions/tagged/android

  To unsubscribe from this group, send email to 
android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group athttp://
groups.google.com/group/android-beginners?hl=en

-- You received this message because you are subscribed to the Google Groups
Android Beginners g...

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: WQVGA not respecting android:layout_height=fill_parent for layout.

2010-05-14 Thread Stormtap Studios
Ok, that makes sense for 1.6+ devices.  What will happen on small
screen devices like QVGA-P and QVGA-L running 1.5 if you specify a -
small resource folder?  Will it use the -small folder if that minimum
sdk level is set, or does that SDK level just know nothing about that
folder and keep on using the regular ones?

Rob

On May 14, 10:03 am, Kostya Vasilyev kmans...@gmail.com wrote:
 You can build against 1.6 and set min-sdk to 3, also set supports-screens
 for high and low screen support.

 There was a topic here recently about properly specifying drawables.

 14 мая, 2010 8:47 PM пользователь Stormtap Studios 
 r...@stormtapstudios.com написал:

 I've found the reason this happens.  According to the documentation:

 Compatibility-mode display on larger screen-sizes
 If the current screen's size is larger than your application supports,
 as specified in the supports-screens element, the platform displays
 the application at the baseline size (normal) and density (medium).
 For screens larger than baseline, the platform displays the
 application in a baseline-sized portion of the overall screen, against
 a black background.

 This is what's happening to me.

 Unfortunately my app is being built against Android 1.5 and I can't
 include the supports-screens tag in the manifest to indicate that I
 support the large screens which would allow it to scale properly.
 Does anyone know of a way to tell the screen to stretch / fill_parent
 on large screens in Android 1.5?

 Thanks,

 Rob

 On May 13, 7:43 pm, Stormtap Studios r...@stormtapstudios.com wrote:  Hi
 guys,   I have this l... NEW! Try asking and tagging your question on 
 Stack Overflow athttp://

 stackoverflow.com/questions/tagged/android

   To unsubscribe from this group, send email to 

 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2Bunsubscr 
 i...@googlegroups.com For more options, visit this group athttp://

 groups.google.com/group/android-beginners?hl=en

 -- You received this message because you are subscribed to the Google Groups
 Android Beginners g...

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow 
 athttp://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en