Android EditText in AlertDialog seems too wide

后端 未结 4 675
挽巷
挽巷 2021-02-13 20:03

It seems like the EditText in the image below is too wide. I assume that I have misused the SDK in some way and until convinced otherwise I am not looking for a way to specify

4条回答
  •  忘掉有多难
    2021-02-13 20:41

    Try setting some padding on your EditText using the setPadding method. This should add a gap between the edge of the EditText and the border of the dialog. N

提交回复
热议问题