add corner and some function to drawable