You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
Add paddings and improved margins
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user