• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Piet Souris

Views are not reflecting any changes whatsoever, when done programmatically

Posts: 1
Android Opera C++
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hay ranchers!   This is my first moo here in a membership of 2 years. For some wild reason which I cant figure out, any changes I make to any views of an activity's layout, through the activity's class code, is not happening. Whether its adding listeners or changing layoutParams, etc or even changing a color. The basic view hierarchy is this:

The textbox TextView has visibility GONE, and goal is to make it VISIBLE on clicking other visible siblings, change some colors and text, and when clicked again it must be gone again for good. Cant understand whatever it is that am missing. I have checked many older projects in which I did the same thing and cant find any visible differences as to why this code is not working now.
I hope nobody gets angry if I post a lot of minimal-reproducible-code

EDITED NOTE: There are some extra ">" symbols popping up in my submitted code, which I didnt type, I think it might be a bug, so dont fall for them as typos or code errors


I wasn't selected to go to mars. This tiny ad got in ahead of me:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!