I don't know. Some people found that the browser has multiple controls since Android 3.0.
Settings-> lab-> quickcontrolsAs shown in
Then, return to the browser and touch the two sides.QuickcontrolControls can be used, as shown in figure
then I think we can use this control in our Program . Fortunately Android open-source
just click it to open it androidbrowser Source Code analyzes the approximate MVC architecture v Control partially removed the rest is what we need
GoogleWritten by programmersCodeIt is quite organized and easy to read.
Piemenu(I like it) isFramelayout
What isFramelayoutIf you do not understand it, you can view it.SDK
the elements are called pieitem , and then pieitem Yes View it can be used to write and Store Pictures, Google for pad and phone two la s are designed. You can view the source code.
After a long timeIn fact, it is not uncommon to change the code after careful analysis. The specific effect of porting is as follows:
In the future, use the following method to configure the event.You can write the callback function style. I use the handler method.
Piemenu mpie = new piemenu (this, mhandler); framelayout mcontentview = (framelayout) findviewbyid (R. id. main_content); layoutparams Lp = new layoutparams (layoutparams. match_parent, layoutparams. match_parent); mpie. setlayoutparams (LP); mcontentview. addview (mpie );