Reputation: 412
I can't figure out what the problem is. I am trying to make this possible in every screen size but I'm stuck here.
This is the problem:
the layout is big enough but the progress is cut there
below there is the code. How can I fix it?
...
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<CustomProgressBar
android:id="@+id/progressBarBPM"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"/>
<CustomProgressBar
android:id="@+id/progressBarBPM2"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"/>
</LinearLayout>
...
The same code in two different phones:
Upvotes: 0
Views: 140