<ProgressBar        android:id="@+id/progressBar1"        style="?android:attr/progressBarStyleLarge"        android:layout_width="wrap_content"        android:layout_height="wrap_content"                android:layout_gravity="center_horizontal"/>


引用android系统自定义的属性:

style="?android:attr/progressBarStyleLarge"
尝试
<pre code_snippet_id="181972" snippet_file_name="blog_20140210_4_2924579" name="code" class="html">  <!-- Default ProgressBar style. This is a medium circular progress bar. -->        <attr name="progressBarStyle" format="reference" />        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->        <attr name="progressBarStyleHorizontal" format="reference" />        <!-- Small ProgressBar style. This is a small circular progress bar. -->        <attr name="progressBarStyleSmall" format="reference" />        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->        <attr name="progressBarStyleSmallTitle" format="reference" />        <!-- Large ProgressBar style. This is a large circular progress bar. -->        <attr name="progressBarStyleLarge" format="reference" />        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->        <attr name="progressBarStyleInverse" format="reference" />        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->        <attr name="progressBarStyleSmallInverse" format="reference" />        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->        <attr name="progressBarStyleLargeInverse" format="reference" />


  

  

更多相关文章

  1. Android点名系统
  2. Android之布局onClick属性写法规则
  3. 播放系统铃音 android
  4. android proc 虚拟文件系统
  5. Android 同步请求导致系统崩溃android.os.NetworkOnMainThreadEx
  6. android 文件系统分析
  7. 基于Android系统软件管理器源码
  8. android 获取系统默认路径
  9. Android P Launcher APP替换图标不随系统固定格式而改变

随机推荐

  1. Android Push
  2. Android配置build.gradle自动化编译signi
  3. Android 下的 bolts tasks
  4. Android桌面二:Android桌面widget
  5. Android(安卓)Studio 使用Gradle引入第三
  6. 【Android实战决】Android沉浸式状态栏实
  7. Android,百度,云知声tts总结
  8. Pure Android
  9. UI 初步介绍
  10. Android 技术专题系列之十七 -- volume 服