Skip to content

Commit aebcba3

Browse files
committed
beta 0.1.0
1 parent f3dae59 commit aebcba3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

codeview/src/main/java/com/asd/codeview/CodeView.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ public CodeView(Context context) {
6565
theme=new Theme(context);
6666
initialize(context);
6767
}
68+
public CodeView(Context context,AttributeSet attrs) {
69+
super(context,attrs);
70+
theme=new Theme(context);
71+
initialize(context);
72+
}
6873
public CodeView(Context context, int BackgroundColor, int keywordsColor, int NumberColor, int specialCharColors, int printStatmentsColor, int annotationsColor,int lineColor,int codeColor) {
6974
super(context);
7075
theme=new Theme(context, BackgroundColor, keywordsColor, NumberColor, specialCharColors,printStatmentsColor, annotationsColor,lineColor,codeColor);

0 commit comments

Comments
 (0)