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 Wed May 23, 2012 7:34 am

All times are UTC + 1 hour


 Topics   Replies   Views   Last post 
No new posts На интернет-витрине

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

0

14

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

12539

Fri May 18, 2012 5:27 pm

ReattileGar

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

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

0

22

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

48

Wed May 16, 2012 7:36 am

barnettmmolive2012

No new posts Problema di compatibilità app

by deran on Tue May 15, 2012 10:44 am in Sviluppo e programmazione in Android

4

200

Tue May 15, 2012 10:44 am

deran




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Gestione delle View
PostPosted: Thu Mar 17, 2011 12:39 am 
Offline
User avatar

Joined: Mon Mar 14, 2011 8:37 pm
Posts: 5
Punti Android: ?
Ciao a tutti,
sto tentando di imparare a fare qualcosina con Android.
Ho fatto qualche piccola applicazione di esempio con Eclipse e il plugin per Android.
Non ho però molto chiaro come funziona la gestione delle View.

Ad esempio se tramite Eclipse creo due View di pari peso, come posso fare via codice a caricare un ImageView in ciascuna delle due VIew?
Diciamo che vorrei avere due immagini in due View separata che occupino ciascuna metà schermo.

Non ho ben capito come posso riferirmi alle View da codice e come gestire il tutto.
Sto seguendo un libro che descrive bene i singoli componenti ma il mettere il tutto insieme è un pò diverso...

Grazie
Ciao
Luca

:a17: :a17: :a17:


Top
 Profile  
 
 Post subject: Re: Gestione delle View
PostPosted: Thu Mar 17, 2011 3:23 pm 
Offline
User avatar

Joined: Mon Mar 14, 2011 8:37 pm
Posts: 5
Punti Android: ?
Spulciando tra le guide ufficiali presenti sul sito di Android ho trovato qualcosa di utile.
Ora riesco a visualizzare due immagini allineate ma vorrei ora capire come posso fare a:
centrare queste immagini in modo che venga però mantenuto il loro aspetto con le corrette proporzioni, quindi se un immagine è più alta che larga ci saranno degli spazi liberi tra un immagine ed un altra.


:a13:


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 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.