This is rather tough for me. I am trying to implement the content edge insets feature found in the ios for android button. I believe this enables positioning of the content inside the button based on top, bottom, left and right values. Does anyone have a clue?
Use the attributes:
android:paddingTop
android:paddingBottom
android:paddingLeft
android:paddingRight
This controls the amount of 'empty' space between the border of the button and the text.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.