title: Android: How to rotate the keyboard 180 degrees programmatically?
body: <p>I'm working on an app where two players will play on the same phone in front of each other and I rotate many things 180 degrees each turn. (few things should not rotate)</p>
  
  <p>The players might use the keyboard to type some text when needed, so I need to also rotate the keyboard 180 degrees and put it in the upper side of the screen if it's the other player's turn.</p>
  
  <p>How can I do that programmatically to the keyboard only?</p>
  
  <p>I should also do the same when I start developing the iOS app!</p>