Started working on a single progressbar when all periods are the same

This commit is contained in:
Michael Schättgen 2018-06-05 15:37:20 +02:00 committed by Alexander Bakker
parent 964fc72fba
commit 8a8cb94c16
5 changed files with 116 additions and 1 deletions

View file

@ -15,6 +15,23 @@
android:layout_width="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
<LinearLayout
android:orientation="horizontal"
android:padding="0dp"
android:layout_margin="0dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ProgressBar
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="wrap_content"
android:layout_height="4dp"
android:id="@+id/progressBar"
android:max="1000"
android:layout_weight="1"/>
</LinearLayout>
<!-- note: the fab should always be the last element to be sure it's displayed on top -->
<com.getbase.floatingactionbutton.FloatingActionsMenu
android:id="@+id/fab"

View file

@ -109,6 +109,7 @@
android:layout_width="wrap_content"
android:layout_height="4dp"
android:id="@+id/progressBar"
android:visibility="invisible"
android:max="1000"
android:layout_weight="1"/>
</LinearLayout>