Skip to content

Commit 70314fa

Browse files
committed
- make iconImageView public
1 parent b3ba8c0 commit 70314fa

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

app/src/main/java/com/akexorcist/roundcornerprogressbar/example/MainActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ protected void onCreate(Bundle savedInstanceState) {
3030
progressOne.setProgressBackgroundColor(getResources().getColor(R.color.custom_progress_background));
3131
updateSecondaryProgressOne();
3232

33+
34+
35+
3336
tvProgressOne = (TextView) findViewById(R.id.tv_progress_one);
3437
updateTextProgressOne();
3538

library/src/main/java/com/akexorcist/roundcornerprogressbar/IconRoundCornerProgressBar.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ public class IconRoundCornerProgressBar extends BaseRoundCornerProgressBar imple
4444
protected final static int DEFAULT_ICON_PADDING_TOP = 0;
4545
protected final static int DEFAULT_ICON_PADDING_BOTTOM = 0;
4646

47+
public ImageView getIvProgressIcon() {
48+
return ivProgressIcon;
49+
}
50+
51+
public void setIvProgressIcon(ImageView ivProgressIcon) {
52+
this.ivProgressIcon = ivProgressIcon;
53+
}
54+
4755
private ImageView ivProgressIcon;
4856
private int iconResource;
4957
private int iconSize;

0 commit comments

Comments
 (0)