mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-29 04:37:58 +03:00
Add paddings and improved margins
This commit is contained in:
parent
13ed9d76bb
commit
fb6565e535
10 changed files with 169 additions and 55 deletions
|
@ -562,7 +562,7 @@ public class TableLayout extends LinearLayout {
|
|||
totalWidth += width;
|
||||
}
|
||||
|
||||
int size = MeasureSpec.getSize(widthMeasureSpec) /*- mPaddingLeft - mPaddingRight*/;
|
||||
int size = MeasureSpec.getSize(widthMeasureSpec) - paddingLeft - paddingRight;
|
||||
|
||||
if ((totalWidth > size) && (mShrinkAllColumns || mShrinkableColumns.size() > 0)) {
|
||||
// oops, the largest columns are wider than the row itself
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue