every attr has to have a format field in preferenceheader in values files.. otherwise you get aapt erros..its hanging on title and icon..so i am putting string format for title and integer format for icon.