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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -