资源简介

水平进度条自定义

资源截图

代码片段和文件信息

package com.daimajia.numberprogressbar.example;

import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.Toast;

import com.daimajia.numberprogressbar.NumberProgressBar;
import com.daimajia.numberprogressbar.OnProgressBarListener;

import java.util.Timer;
import java.util.TimerTask;


public class MainActivity extends ActionBarActivity implements OnProgressBarListener {
    private Timer timer;

    private NumberProgressBar bnp;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        bnp = (NumberProgressBar)findViewById(R.id.numberbar1);
        bnp.setOnProgressBarListener(thi

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-06-11 00:51  NumberProgressBar-master\
     文件         395  2015-06-11 00:51  NumberProgressBar-master\.gitignore
     文件        1489  2015-06-11 00:51  NumberProgressBar-master\.travis.yml
     文件        1075  2015-06-11 00:51  NumberProgressBar-master\LICENCE
     文件        4043  2015-06-11 00:51  NumberProgressBar-master\README.md
     文件         380  2015-06-11 00:51  NumberProgressBar-master\build.gradle
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\
     文件           7  2015-06-11 00:51  NumberProgressBar-master\demo\.gitignore
     文件         590  2015-06-11 00:51  NumberProgressBar-master\demo\build.gradle
     文件         674  2015-06-11 00:51  NumberProgressBar-master\demo\proguard-rules.txt
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\
     文件         704  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\AndroidManifest.xml
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\java\
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\java\com\
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\java\com\daimajia\
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\java\com\daimajia\numberprogressbar\
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\java\com\daimajia\numberprogressbar\example\
     文件        2221  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\java\com\daimajia\numberprogressbar\example\MainActivity.java
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\drawable-hdpi\
     文件        9397  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\drawable-hdpi\ic_launcher.png
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\drawable-mdpi\
     文件        5237  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\drawable-mdpi\ic_launcher.png
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\drawable-xhdpi\
     文件       14383  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\drawable-xhdpi\ic_launcher.png
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\drawable-xxhdpi\
     文件       19388  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\drawable-xxhdpi\ic_launcher.png
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\layout\
     文件        3070  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\layout\activity_main.xml
     目录           0  2015-06-11 00:51  NumberProgressBar-master\demo\src\main\res\menu\
............此处省略34个文件信息

评论

共有 条评论