Android ActionBar appcompat中的ProgressBar
我正在尝试在我的应用程序中使用appcompat。但是ActionBar中的ProgressBar非常大。我怎么能做得更少 代码清单Android ActionBar appcompat中的ProgressBar,android,Android,我正在尝试在我的应用程序中使用appcompat。但是ActionBar中的ProgressBar非常大。我怎么能做得更少 代码清单 <activity android:screenOrientation="portrait" android:name="com.example.ok1.MainActivity" android:theme="@style/Theme.AppCompat.Light" android:label="@string/app_name" >
<activity
android:screenOrientation="portrait"
android:name="com.example.ok1.MainActivity"
android:theme="@style/Theme.AppCompat.Light"
android:label="@string/app_name" >
这可能对您有所帮助。请使用progressbar中的样式
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="?android:attr/android:progressBarStyleSmall" />
您可以更改ProgressBar的大小您在使用什么ActionBar夏洛克??我在使用appcompat,如何更改大小?请给我写一个例子,在它前面加上android:
不会加载appcompat变体,对吗?
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="?android:attr/android:progressBarStyleSmall" />