Public display of affection is frowned upon
In the UAE, public shows of affection are considered impolite and should be avoided in public places. Before traveling, familiarize yourself with the local norms and legislation, such as traffic safety, pedestrian crossings, not littering in public areas, swearing or violent behavior in public, and so on.
While holding hands is acceptable, do not get too close in public and kissing is not permitted. You won't be arrested, but if you make a lot of people uncomfortable, the officers may issue a warning. Anything more intimate than holding hands in public can get you jailed, and sharing a hotel room with someone of the opposite sex is illegal unless you're married or closely related.
Keep in mind that homosexual sex is illegal and can result in imprisonment, fines, and deportation if you are detected. Book a hotel room with two beds if you're gay and traveling with your boyfriend.