generating android preference arrays resources for select components