This commit is contained in:
jinyuer
2020-09-01 15:14:48 +08:00
parent 2442ab8a70
commit 9aa33d4f1c
30 changed files with 2349 additions and 145 deletions

View File

@@ -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);
}
}