'libs/ftp4j-1.7.2.jar',
'libs/log4j-1.2.17.jar')
implementation 'com.google.code.gson:gson:2.8.6'
+ implementation('com.daimajia.numberprogressbar:library:1.4@aar')
}
\ No newline at end of file
</LinearLayout>
</ScrollView>
+
+
<!--下载进度条-->
- <ProgressBar
+ <com.daimajia.numberprogressbar.NumberProgressBar
android:id="@+id/downloadProgressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_gravity="center_vertical"
android:layout_marginTop="20dp"
android:layout_marginBottom="20dp"
- android:max="100"
android:visibility="gone" />
<!--检查是否有更新-->