Android 使用自定义进度条
我正在使用android自定义进度条库,并添加:Android 使用自定义进度条,android,progress-bar,Android,Progress Bar,我正在使用android自定义进度条库,并添加: xmlns:custom="http://schemas.android.com/apk/res-auto" 我的直线布局: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:custom="http://schemas.a
xmlns:custom="http://schemas.android.com/apk/res-auto"
我的直线布局:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="120dp"
android:background="#F5F5F5">
你试过干净的建筑吗?依赖项{compile'com.github.lzyzd:circleprogress:1.1。0@aar是的,我清理了我的项目,我正在使用Eclipse。什么是compile'com.github.lzyzd:circleprogress:1.1。0@aar' ????? Jar文件?我添加了:com.github.lzyzd:circleprogress:1.1.0.jar
<com.github.lzyzsd.circleprogress.ArcProgress
android:layout_alignParentRight="true"
android:id="@+id/arc_progress"
android:layout_width="96dp"
android:layout_height="96dp"
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:background="@android:color/transparent"
custom:arc_finished_color="#214193"
custom:arc_unfinished_color="#F2EDFF"
custom:arc_max="99"
custom:arc_bottom_text="Дист."
custom:arc_suffix_text="км"/>
android.view.InflateException: Binary XML file line #65: Error inflating class com.github.lzyzsd.circleprogress.DonutProgress