<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleLarge"
<!-- 该布局文件没打开的时候没有报错,并且能运行,但是打开该布局文件就报错了-->
mce_style="?android:attr/progressBarStyleLarge"
android:indeterminateDrawable="@drawable/progressbar2"
android:layout_width="50dp"
android:layout_height="50dp"
/>
mce_style="?android:attr/progressBarStyleLarge" 这句报错了,请大侠指点一下 下面为该布局全文件
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleLarge"
mce_style="?android:attr/progressBarStyleLarge"
android:indeterminateDrawable="@drawable/progressbar2"
android:layout_width="50dp"
android:layout_height="50dp"
/>
<!-- mce_style="?android:attr/progressBarStyleLarge" -->
<TextView android:paddingLeft="3dp"
android:id="@+id/progress_tv"
android:textColor="@color/black"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="加载中..." />
</LinearLayout>
|
|