Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. <com.github.anastr.speedviewlib.ImageSpeedometer
  2. android:id="@+id/speedometer"
  3. android:layout_width="173dp"
  4. android:layout_height="127dp"
  5. android:layout_marginStart="8dp"
  6. android:layout_marginTop="236dp"
  7. android:layout_marginBottom="8dp"
  8. app:layout_constraintBottom_toBottomOf="@+id/map"
  9. app:layout_constraintEnd_toEndOf="@+id/map"
  10. app:layout_constraintHorizontal_bias="0.477"
  11. app:layout_constraintStart_toStartOf="@+id/map"
  12. app:layout_constraintTop_toTopOf="parent"
  13. app:layout_constraintVertical_bias="0.877"
  14. app:sv_image="@drawable/arrow"
  15. app:sv_maxSpeed="200"
  16. app:sv_withTremble="true" />
  17.  
  18. speedometer.speedTo(valueofspeed);
  19. speedometer.setTrembleData(6,2000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement