Subham Burnwal

Greenhorn
+ Follow
since Mar 21, 2018
Subham likes ...
Android Opera C++
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Subham Burnwal

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:
secondActivity
   linearLayout(LinearLayout)
       constLayout(ConstraintLayout)
           textbox(TextView)
           image(ImageView)
           image2
           image3
           ...

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

secondActivity.java

activity_second.xml
3 months ago