This tutorial will teach you how to move the behavior icons to anywhere on the screen. I know all of people have wondered how to do this, so I hope its helpful to someone.
First step is to add a new layout override with the xml below. *Note: This snippet is using my maps values. The default values could be used in most cases & only the frame is really needed.
Final step is to hook up the UI code to dialog items in the trigger editor. First hook up the new layout override that was created above. Then each behavior icon 0-5 needs to be hooked to the new layout override. *Note: There are two different hook actions being used. One is for the new layout override & the other one is for the behavior bar icons.
This tutorial will teach you how to move the behavior icons to anywhere on the screen. I know all of people have wondered how to do this, so I hope its helpful to someone.
Example: http://imgur.com/mbVmGrq
First step is to add a new layout override with the xml below. *Note: This snippet is using my maps values. The default values could be used in most cases & only the frame is really needed.
Final step is to hook up the UI code to dialog items in the trigger editor. First hook up the new layout override that was created above. Then each behavior icon 0-5 needs to be hooked to the new layout override. *Note: There are two different hook actions being used. One is for the new layout override & the other one is for the behavior bar icons.
Trigger: http://imgur.com/B5DFIe0
Set each dialog item containing a behavior icon to the offset/anchor to get your desired look.
Who designed this website? Its awful haha.
Sweet, was looking to do something like this! Thanks!