GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sysn · JingMeng/AndroidCustomView@4d5ad65

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .idea
    • misc.xml
  • app/src/main
    • java/com/allen/androidcustomview
      • activity
        • ProgressBarActivity.java
      • widget
        • HorizontalProgressBar3.java
    • res/layout
      • activity_pregress_bar.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.idea/misc.xml‎

Copy file name to clipboardExpand all lines: .idea/misc.xml
+7-3Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎app/src/main/java/com/allen/androidcustomview/activity/ProgressBarActivity.java‎

Copy file name to clipboardExpand all lines: app/src/main/java/com/allen/androidcustomview/activity/ProgressBarActivity.java
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import com.allen.androidcustomview.R;
1111
import com.allen.androidcustomview.widget.CircleProgressBarView;
1212
import com.allen.androidcustomview.widget.HorizontalProgressBar;
13-
import com.allen.androidcustomview.widget.HorizontalProgressBar2;
13+
import com.allen.androidcustomview.widget.HorizontalProgressBar3;
1414
import com.allen.androidcustomview.widget.LoadingLineView;
1515
import com.allen.androidcustomview.widget.LoadingView;
1616
import com.allen.androidcustomview.widget.ProductProgressBar;
@@ -23,7 +23,7 @@ public class ProgressBarActivity extends AppCompatActivity {
2323

2424
CircleProgressBarView circleProgressBarView;
2525
HorizontalProgressBar horizontalProgressBar;
26-
HorizontalProgressBar2 horizontalProgressBar2;
26+
HorizontalProgressBar3 horizontalProgressBar2;
2727
ProductProgressBar productProgressBar;
2828
LoadingView loadingView;
2929
TextView textView;
@@ -66,30 +66,30 @@ public void currentProgressListener(float currentProgress) {
6666
horizontalProgressBar.startProgressAnimation();
6767

6868
//修正后的
69-
horizontalProgressBar2 = (HorizontalProgressBar2) findViewById(R.id.horizontal_progress_view2);
69+
horizontalProgressBar2 = (HorizontalProgressBar3) findViewById(R.id.horizontal_progress_view2);
7070

71-
horizontalProgressBar2.setProgressWithAnimation(0).setProgressListener(new HorizontalProgressBar2.ProgressListener() {
71+
horizontalProgressBar2.setProgressWithAnimation(0).setProgressListener(new HorizontalProgressBar3.ProgressListener() {
7272
@Override
7373
public void currentProgressListener(float currentProgress) {
7474
}
7575
});
7676
horizontalProgressBar2.startProgressAnimation();
7777

78-
if (false) {
78+
if (true) {
7979
//100
80-
HorizontalProgressBar2 horizontalProgressBar21 = (HorizontalProgressBar2) findViewById(R.id.horizontal_progress_view21);
80+
HorizontalProgressBar3 horizontalProgressBar21 = (HorizontalProgressBar3) findViewById(R.id.horizontal_progress_view21);
8181

82-
horizontalProgressBar21.setProgressWithAnimation(100).setProgressListener(new HorizontalProgressBar2.ProgressListener() {
82+
horizontalProgressBar21.setProgressWithAnimation(100).setProgressListener(new HorizontalProgressBar3.ProgressListener() {
8383
@Override
8484
public void currentProgressListener(float currentProgress) {
8585
}
8686
});
8787
horizontalProgressBar21.startProgressAnimation();
8888

8989
// 60
90-
HorizontalProgressBar2 horizontalProgressBar22 = (HorizontalProgressBar2) findViewById(R.id.horizontal_progress_view22);
90+
HorizontalProgressBar3 horizontalProgressBar22 = (HorizontalProgressBar3) findViewById(R.id.horizontal_progress_view22);
9191

92-
horizontalProgressBar22.setProgressWithAnimation(60).setProgressListener(new HorizontalProgressBar2.ProgressListener() {
92+
horizontalProgressBar22.setProgressWithAnimation(60).setProgressListener(new HorizontalProgressBar3.ProgressListener() {
9393
@Override
9494
public void currentProgressListener(float currentProgress) {
9595
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.