应用系统样式延伸
16lz
2021-01-23
<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" />
更多相关文章
- Android点名系统
- Android之布局onClick属性写法规则
- 播放系统铃音 android
- android proc 虚拟文件系统
- Android 同步请求导致系统崩溃android.os.NetworkOnMainThreadEx
- android 文件系统分析
- 基于Android系统软件管理器源码
- android 获取系统默认路径
- Android P Launcher APP替换图标不随系统固定格式而改变