Just to close the loop on these issues in case any one else goes down this path:
The initial problem I described was first discovered when I installed my app on a newer Motorola device that was running Android 5.1.1. I later found the same undesirable behaviors also appeared on Motorola devices with Android 5.0.2 installed. My main testing and development platform is a Galaxy S5, running Android 5.0, and I could not duplicate the issues on it. So ultimately, I found it necessary to acquire an inexpensive Motorola device that could upgrade to 5.0.2. I chose a Moto E2, and presto, the issues were manifested on it. Now I could work on solutions.
The first issue was the "buttons always on top" display formatting issue. I first went down the wrong road of changing the way the screens were drawn to compensate, but Erel corrected me and (strongly) suggested the change to the manifest as described above. This worked and was much simpler. Very good advice.
The second issue however was not immediately obvious and also not related to the formatting issue. The issue was that I was not receiving the UDP messages on the newer Android devices. After a good bit of research, I found that (as Erel said) UDP packets were in fact still working just fine on the newer Android versions, but what was not working specifically on the Motorola devices was the ability to receive
broadcast UDP messages. I didn't expect this. I thought a message was a message. But no, it seems that some devices filter out broadcast messages and only allow receipt of messages specific to the receiving device.
The solution to this problem is also (thankfully) found on this forum, and that is that you must specifically allow multicast messages. Here's one link to that problem and it's
solution.
So in the end, there were two problems that appeared at the same time but required two separate solutions. And both were found on this forum
.
Thanks to one and all.