android - Issues with the Material ProgressBar -
i found strange issue material design progressbar in 1 of activities. animation isn't running smoothly shown here: http://gfycat.com/radiantfocusedauk. it's worth mentioning happens 1 of progressbars. others displayed should be.
the layout quite simple:
<linearlayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <textview android:id="@+id/detail_loan_statustext" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_gravity="center_vertical" android:padding="8dp"/> <progressbar android:id="@+id/detail_loan_progress" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" style="?android:attr/progressbarstyle"/> <button android:id="@+id/detail_loan_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_margin="8dp"/> </linearlayout>
i tried fiddle bit style , turned out behaviour occur if material-style used. using holo-style make progressbar animate properly.
has else had similar issue?
is there way rid of this?
this seems have been problem in 5.0.0. problem not occur in 5.0.1 anymore.
Comments
Post a Comment