Showing posts with label layout. Show all posts
Showing posts with label layout. Show all posts

Monday, March 12, 2012

Fixed layout for PhoneApplicationPage

As a beginner in WP7 I found some issues for my first applications.
One of those problems I had was the hated "fixed layout" of a page.

It's a topic already discussed (view the post for Android) but in this case, it's a bit different.

Suppose we want a "fixed header and footer" for every page, how do you do it?

Thursday, January 12, 2012

Activity Template

Stiamo sviluppando la nostra applicazione Android e vogliamo che nelle nostre activity abbiano, per esempio, un header fisso e ovviamente non abbiamo intenzione di copia-incollare il codice in ognuna activity? Questo post vi può aiutare :)

Se ci pensiamo un secondo è una cosa banale: alla base della programmazione ad oggetti. L'ereditarietà.

Ci basta creare un activity contenitore con il nostro header definito e una "zona da riempire" (un layout vuoto).