1
This commit is contained in:
@@ -50,6 +50,15 @@ public class CommentDialog extends HorizontalAttachPopupView {
|
||||
}
|
||||
}
|
||||
});
|
||||
findViewById(R.id.tv_add).setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (listener != null) {
|
||||
listener.click(5);
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void setShowBug(boolean type) {
|
||||
@@ -57,9 +66,11 @@ public class CommentDialog extends HorizontalAttachPopupView {
|
||||
if (type) {
|
||||
findViewById(R.id.tv_bug).setVisibility(View.VISIBLE);
|
||||
findViewById(R.id.v).setVisibility(View.VISIBLE);
|
||||
findViewById(R.id.tv_add).setVisibility(VISIBLE);
|
||||
} else {
|
||||
findViewById(R.id.tv_bug).setVisibility(View.GONE);
|
||||
findViewById(R.id.v).setVisibility(View.GONE);
|
||||
findViewById(R.id.tv_add).setVisibility(GONE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user