編輯:關於Android編程

A material design circle the progress bar,You can download it in image loading and file upload when used.



Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Step 2. Add the dependency
dependencies {
compile 'com.github.HotBitmapGG:RingProgressBar:V1.2.1'
}
2.In the code
mRingProgressBar = (RingProgressBar) findViewById(R.id.progress_bar);
// Set the progress bar's progress
mRingProgressBar.setProgress(progress);
mRingProgressBar.setOnProgressListener(new RingProgressBar.OnProgressListener()
{
@Override
public void progressToComplete()
{
// Progress reaches the maximum callback default Max value is 100
Toast.makeText(MainActivity.this, "complete", Toast.LENGTH_SHORT).show();
}
});
知了日報客戶端:https://github.com/HotBitmapGG/RxZhiHu
高仿 BiliBili 客戶端:https://github.com/HotBitmapGG/OhMyBiliBili
Gank.io 客戶端:https://github.com/HotBitmapGG/StudyProject
妹子福利 App:https://github.com/HotBitmapGG/MoeQuest
圓環進度條:https://github.com/HotBitmapGG/RingProgressBar
Android獲取手機通話記錄的方法
Android如何獲取手機通話記錄,本文為大家揭曉。獲取手機通話記錄流程:1、 獲取ContentResolver; ContentResolver resolver =
Android實戰教程第四篇之簡單實現短信發送器
本文實例為大家分享了Android發短信功能的實現方法,供大家參考,具體內容如下首先配置一個布局:<LinearLayout xmlns:android=http:
再談STM32的CAN過濾器-bxCAN的過濾器的4種工作模式以及使用方法總結
1. 前言bxCAN是STM32系列最穩定的IP核之一,無論有哪個新型號出來,這個IP核基本未變,可見這個IP核的設計是相當成熟的。本文所講述的內容屬於這個IP核的一部分
Android根據屏幕寬度,按比例縮放圖片
ImageView有scaleType屬性可以縮放圖片,讓圖片鋪滿屏幕寬度,但是會出現壓縮或裁剪的情況。ImageView的scaleType的屬性分別是ma