w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
how to set margins for an EditText inside an AlertDialog

Try using the setPadding (int left, int top, int right, int bottom) method on your EditText before setting is as a view in the AlertDialog.

You can use negative padding to emulate margins in some circumstances.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.