According to another StackOverflow question it's possible to remove the margin of a normal Button
via styles.xml
.
I would like to do the same for the margin/padding of Entry
. Given that my trivial assumption would be that it uses an EditText beneath I tried:
<style name="MainTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="editTextStyle">@style/MyEditText</item>
</style>
<style name="MyEditText" parent="Widget.AppCompat.EditText">
<item name="android:layout_margin">0dip</item>
</style>
Unfortunately, this doesn't have any effect. Even when I use 50dip
as a value there's no effect. What are the correct setting in styles.xml
to affect the Entry
-widgit?