Wie Ändern der Höhe von AppCompat ProgressBar
?
Ich versuche, mit diesem, aber kein ErgebnisAppCompat ProgressBar Höhe
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:indeterminate="false"
android:max="100"
android:progress="60"
android:minHeight="20dp"
android:maxHeight="20dp"
android:progressBackgroundTint="@color/pbarbg"
android:theme="@style/LinearProgress" />
Und in LinearProgress Stil Ich habe
<style name="LinearProgress" parent="Theme.AppCompat.Light">
<item name="colorAccent">@color/pbaractive</item>
</style>
es nicht die Höhe meines Fortschritt verändern es ändert sich nur die Höhe des Widget – GigantoMK
Sie möchten die Breite des Rings ändern? – saeed
können Sie Bibliothek verwenden https://github.com/pnikosis/materialish-progress – saeed