小编Sha*_*awn的帖子

当minSdkVersion小于11时,如何添加Holo Style Horizo​​ntal ProgressBar?

我建立与targetSdkVersion ="15"&的minSdkVersion = Android项目中的"8",然后在活动添加水平进度,但它不全息的风格,当我运行这个项目与Android果冻豆.

我能做什么?编辑values-v14 style.xml?

布局:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" >

<ProgressBar
    android:id="@+id/countdown_progressbar"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    style="@android:style/Widget.ProgressBar.Horizontal"
    android:max="30" />
Run Code Online (Sandbox Code Playgroud)

值和值-v14 style.xml

<style name="AppTheme" parent="Theme.Sherlock.Light" />
Run Code Online (Sandbox Code Playgroud)

非常感谢.

android actionbarsherlock

5
推荐指数
1
解决办法
1805
查看次数

标签 统计

actionbarsherlock ×1

android ×1