Xamarin.Android getting CircularProgressIndicator full size on Wearos

Emil Alipiev 276 Reputation points
2022-04-15T03:33:18.533+00:00

I am using com.google.android.material.progressindicator.CircularProgressIndicator but this control doesnt align fully within the parent setting android:layout_width="match_parent"
android:layout_height="match_parent" width height also not working. Only way seems to be indicatorSize: i am trying to get that on WearOs looking like screen on the image below. how to get that dynamically based on the screen width? because there are different wearos sizes.

https://i.stack.imgur.com/L8DXG.png

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
{count} votes