Android-ProgressBarWidthNumber
Android-ProgressBarWidthNumber copied to clipboard
Actionbar SherlockFragmentActivity progress bar above the tab host
Is there a way to use your ProgressBarWidthNumber with on Actionbar SherlockFragmentActivity and set it above the tab host Thank you!!!
you can use a layout as a menu item :
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" >
<item
android:showAsAction="ifRoom"
android:id="@+id/action_settings"
android:title="@string/action_settings"
android:actionLayout="@layout/roundbar"/>
</menu>
roundbar.xml
<com.zhy.view.RoundProgressBarWidthNumber xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:zhy="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:progress="30"
/>
It is a good idea and I'm sure will work fine, but I'm sorry, I meant horizontal ProgressBar, not RoundProgressBar. I do not have free space that would accommodate RoundProgressBar. Thank you!