Skip to content

Speedometer Gauge Resizing #5

@codewithjams

Description

@codewithjams

@bilthon In the XML Preview, when I set the XML Attribute of Speedometer View as android:layout_width and android:layout_height to wrap_content, it shows that the view is inflating in a squared manner (means the width and height of view are same, which is evident in the code on Speedometer.java's onMeasure () method.
And, I guess the Speedometer Gauge is adjusting on the basis of Width and Height assigned.
If I want to increase the Size of Gauge, how can it be done?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions