Custom ProgressBar widget

后端 未结 4 1084
挽巷
挽巷 2021-02-02 03:12

I am trying to do something similar to this but in Android.

\"alt

In Android I can extend the

4条回答
  •  悲哀的现实
    2021-02-02 04:15

    You can set the TextViews to have:

    android:layout_width="0dp"
    android:layout_weight="1"
    

    This will let the android framework take care of the placing of the TextViews and save you from manually calculating the padding of each one.

提交回复
热议问题