Why give this value "(1):(2)(3)"?

Asked

Viewed 54 times

-4

I’m making a chronometer using Android Studio, in the xml document that the java class "calls"

I’m using Chronometer to make the chronometer

so when I finish doing this problem always occurs (1):(2)(3), and when I change the code the same problem occurs the preview shows (1):(2)(3).

inserir a descrição da imagem aqui

  • You can post more information, java code, xml ?

  • For in this case this "(1):(23)" is the chronometer identification in the layout.

  • Before anything, start by doing the tour to understand how the community works; then read the How to ask to check how you can improve your question and finally access help center to check various articles that will help you better understand the site.

  • At all times put your code as text not as image

  • when I took other codes to see if it was my fault and found that the preview showed the same thing, "(1):(23)" was to show 00:00 or 00 and not (1):(23)

1 answer

-1

If your problem is just showing (1):(23), mount your Textview as in the code below.

    <TextView
    android:id="@+id/txtViewCronometro"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerHorizontal="true"
    android:layout_marginTop="100dp"
    android:text="00:00"
    android:textSize="80dp" />

Browser other questions tagged

You are not signed in. Login or sign up in order to post.