Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

272
Views
Cómo comparar .getCurrentTextColor() con código hexadecimal (Android)

solo me pregunto cómo puedo comparar el color actual de un TextView con un código hexadecimal. El fragmento de código se ve así:

 public void topButtonClicked(View view) { if(color_top.getCurrentTextColor() == Color.parseColor("#000000")) { score_top += 1; button_top.setText("Score "+score_top); } else { // }

Sería genial si alguien pudiera ayudarme

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

En realidad, ¡funciona bien tal como está! El código hexadecimal que usé era el incorrecto.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!