Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Foreign Languages > German Forum
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Listview mit Autoscale compailiert ?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2009, 02:58 PM
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Germany
Posts: 341
Awards Showcase
Beta Tester 
Total Awards: 1
Default Listview mit Autoscale compailiert ?

Hi, ich habe eine Listview mit Kontaktdaten erstellt,
wenn ich nun mit Autoscale mein Programm compailiere,
wird die Listview auf meinem Touch-HD nur halb so groß angezeigt.

Wie kann ich im Programm die Auflösung des Device abfragen,
damit ich die Listview entsprechend scalieren kann ?

Mit Autoscale zeigt er ja immer QVGA Auflösung an.
__________________
Gruß Paulsche

Samsung Galaxy S2
Reply With Quote
  #2 (permalink)  
Old 07-09-2009, 07:52 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 906
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hallo Paulsche,

du kannst z.B. die Listview so initialisieren:

HTML Code:
lv.new1("Form1",0,0,Form1.width * ScreenScaleX, Form1.height * ScreenScaleY)
Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #3 (permalink)  
Old 07-09-2009, 10:27 PM
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Germany
Posts: 341
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Filippo, danke für den Tipp, funktioniert !
__________________
Gruß Paulsche

Samsung Galaxy S2
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
AutoScale compilation mode and external libraries Erel Beta Versions 22 05-25-2009 11:13 AM
AutoScale Questions corwin42 Beta Versions 10 05-22-2009 07:09 PM
Agrahams Chart Librarie Autoscale Paulsche Beta Versions 3 05-06-2009 07:10 PM
Listview.dll giannimaione German Forum 4 06-03-2008 09:34 PM
MS ListView enonod Basic4ppc Wishlist 2 04-27-2008 02:16 PM


All times are GMT. The time now is 03:23 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0