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?
This devblog borns as a container for projects, ideas and anything I can think or do in my spare time ... Here you will not find my pictures or photos of my dog, but snippets of Java, C#, C++, T-SQL, HTML, javacript and who so forth ...
Showing posts with label fixed layout. Show all posts
Showing posts with label fixed layout. Show all posts
Monday, March 12, 2012
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).
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).
Labels:
android,
api google,
fixed layout,
header,
java,
layout,
masterpage,
OPL,
template
Subscribe to:
Posts (Atom)