Skip to content

How can I change the start and the end value? #8

Open

Description

@neruja

I'm trying to make Signal meter with dBm value. How can I change the start and the end value. It shoule start with -94 dBm (very bad signal) and end at 0 dBm (excellent signal strength).

Activity

  1. Tomaltach commented on Nov 18, 2016

    @Tomaltach

    You can change the start and end values in the XML like in the code below.

    <org.codeandmagic.android.gauge.GaugeView
    android:id="@+id/gauge_view1"
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:layout_weight="1"
    gauge:scaleStartValue="-94"
    gauge:scaleEndValue="0" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions