Fix limiter background with multiple limiters
Apparently there was a reason this was allocated inside the loop before...
This commit is contained in:
parent
45ad231c77
commit
48588fa8ac
@ -441,9 +441,10 @@ public class LibraryActivity
|
||||
|
||||
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT);
|
||||
params.leftMargin = 5;
|
||||
PaintDrawable background = new PaintDrawable(Color.GRAY);
|
||||
background.setCornerRadius(5);
|
||||
for (int i = 0; i != limiter.length; ++i) {
|
||||
PaintDrawable background = new PaintDrawable(Color.GRAY);
|
||||
background.setCornerRadius(5);
|
||||
|
||||
TextView view = new TextView(this);
|
||||
view.setSingleLine();
|
||||
view.setEllipsize(TextUtils.TruncateAt.MARQUEE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user