android - How to make the ImageButton compress like an ImageView? -


enter image description here

the top "sign up" imageview. bottom "sign up" imagebutton. both compressed 300dp layout_width.

originally both 600dp layout width. imageview appeared round corners see regardless of width. however, imagebutton shown round corners when it's original width @ 600dp , when compressed cuts out round ends.

how can make imagebutton compress imageview nothing gets cut?

(this "sign up" imported button made in sketch app" not coded scratch in android studio text)


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -