nocturne9op2

Results 4 comments of nocturne9op2

You have to do something like `float decoViewLineWidth = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 15, Resources.getSystem().getDisplayMetrics());` so that you're working with dp not pixels - in this example 15dp is the line width

I see, I ran into some DecoView proportion issues as well while I was finishing my app. A way around this is to set a different line width for tablets....

You should be able to programmatically check whether the device is a phone or tablet, then set the line width accordingly.

You can manually resize the DecoView by doing: `RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(size, size); decoView.setLayoutParams(layoutParams);` In my case, I was using a RelativeLayout so I had to use RelativeLayout.LayoutParams.