解决小米4无法画间隔问题
This commit is contained in:
@ -33,6 +33,7 @@ public class CardRelativeLayout extends RelativeLayout {
|
||||
}
|
||||
|
||||
private void init(Context context, AttributeSet attrs) {
|
||||
setWillNotDraw(false);
|
||||
topDrawable = getContext().getResources().getDrawable(R.drawable.frame_top);
|
||||
bottomDrawable = getContext().getResources().getDrawable(R.drawable.frame_bottom);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user