Android-dev.it Community

 
Annunci

:arrow: Benvenuto!, se non sei ancora un utente registrato: puoi registrati qui, oppure effettua il login
:arrow: Apri un forum sul tuo nuovo smartphone Android e collabora con noi! (dettagli)

www.agendadigitale.org
Image


Sponsor
It is currently Thu May 24, 2012 2:22 pm

All times are UTC + 1 hour


 Topics   Replies   Views   Last post 
No new posts Applicazione per gestire SMS

by AresSieran on Thu May 24, 2012 12:40 pm in Sviluppo e programmazione in Android

1

25

Thu May 24, 2012 12:40 pm

AresSieran

No new posts На интернет-витрине

by popowahgjfghjoiuyt on Sat May 19, 2012 2:25 pm in Amministrazione

0

19

Sat May 19, 2012 2:25 pm

popowahgjfghjoiuyt

No new posts Apri un forum sul tuo nuovo smartphone Android!

[ Go to page: 1, 2, 3 ]

by ReattileGar on Fri May 18, 2012 5:27 pm in Amministrazione

27

12565

Fri May 18, 2012 5:27 pm

ReattileGar

No new posts Новый: базы для хрумера - профессиональный софт для СЕО.

by Renatafe on Fri May 18, 2012 3:14 pm in Amministrazione

0

27

Fri May 18, 2012 3:14 pm

Renatafe

No new posts Pace is undoubtedly the vital affordable Jerseys Wholesale d

by barnettmmolive2012 on Wed May 16, 2012 7:36 am in Amministrazione

1

49

Wed May 16, 2012 7:36 am

barnettmmolive2012




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Ridimensionare immagine
PostPosted: Thu Apr 14, 2011 8:51 pm 
Offline
User avatar

Joined: Sat Nov 13, 2010 12:36 am
Posts: 9
Cellulare Android: HTC Magic
Operatore: TIM
Punti Android: ?
Ciao tutti
Ho da poco iniziato a scrivere una app per android.
Mi serve un aiutino.
Nella app sono presenti alcune immagini. Le ho inserote a una discreta risoluzione in modo tale che anche su un 10 pollici si vedano bene.
Solo che i display non sono tutti uguali e quindi adattandola con il WRAP_CONTENT l'immagine a volte viene deformata.

Quello che io desidero è questo:
che l'immagine sia ridimenzionata proporzionalmente in automatico in base al display e la parte in eccedenza, sui lati sx e dx, non venga considerata.
C'e' qualcosa di preconfezionato o devo farmi il codice a mano ?

Grazie


Top
 Profile  
 
 Post subject: Re: Ridimensionare immagine
PostPosted: Sat Apr 23, 2011 6:06 pm 
Offline
Moderatore
User avatar

Joined: Thu Dec 27, 2007 3:51 pm
Posts: 986
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 1320
Ciao,
quando sviluppi un'applicazione puoi renderla multi-risoluzione differenziando tutte le risorse che usi (ad esempio le immagini) in funzione della dimensione dello schermo. La cosa più facile da fare quindi è che ridimensioni tu stesso l'immagine in fuznione della grandezza del display ed ottiene le diverse immagini per le diverse risoluzioni. Leggi gli altri topic del forum che ti spiegano che cartelle devi creare in Eclipse.


Top
 Profile  
 
 Post subject: Re: Ridimensionare immagine
PostPosted: Sun Apr 24, 2011 5:57 pm 
Offline
User avatar

Joined: Sat Nov 13, 2010 12:36 am
Posts: 9
Cellulare Android: HTC Magic
Operatore: TIM
Punti Android: ?
ok grazie mille


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Topic Tags

display, immagine, risoluzione


All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
phpBB SEO

All trademarks and logos used in this site are of properties of their respective owners.