See the attached project (with library files in the /files folder of the project). This is based on the original work of @icefairy333. I have modified @icefairy333's library so that it can do the following:
1. Set the color of the border of the framing rectangle from B4A code
2. Set the color...