code: def getHeight(self):
          '''
          Gets the height.
          '''
  
          if self.useUiAutomator:
              return self.map['bounds'][1][1] - self.map['bounds'][0][1]
          else:
              try:
                  return int(self.map[self.heightProperty])
              except:
                  return f getHeight(self):
          '''
          Gets the height.
          '''
  
          if self.useUiAutomator:
              return self.map['bounds'][1][1] - self.map['bounds'][0][1]
          else:
              try:
                  return int(self.map[self.heightProperty])
              except:
                  return 0
docs: Gets the height.