Get bg drawable's resolution at run time instead of hard coding