Oh, that larnin’ curve…

Posted on January 19, 2016

0


This is one of those days when I really wish I had a friend who was an expert at this.   I can’t call the last hour wasted — and maybe it was two hours, and that’s relatively cheap — but it could have been significantly shorter.

Yes, I already knew that my layouts couldn’t “inherit,” but I thought I could make a “child” activity and give it a different layout that was mostlythe same… but no, if you invoke “super.onCreate” which is telling the program to do everything in the Parent thing first… it does it to that old layout.

So, what I need to do is actually change that layout, which may or may not be a major bunbite.   I found that there are ways to add views and remove views from layouts; think I’ll pare down the “parent” one and add to it in the children… but I’m sad that this happens at 9:25 at night and time for retiring.

Advertisements