removed unused resources
using android attrs where possible