I have some view defined in my layout xml. e.g.
<ProgressBar
android:id="@+id/viewScanProgressWheel"
android:layout_width="150dp"
android:layout_height="@dimen/pbHeight"/>
Now, later at any point in time, can I change the height or width of the view, like changing the value in dimens or using some custom attributes?
P.S. I want the values to be changed in xml, not just on UI. So that all the calculations need not be done everytime through java side.