Android template functional