Android note
Thursday, June 5, 2014
Bug - String Truncate
Root cause: setting of padding or margin is not correct.
Fix: change the setting as below, remove the -30dip
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:
layout_marginStart="-30dip
" />
More details about padding and margin in http://server2client.com/cssbasics/paddingmargin.html
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment