title: Android screen resolutions mess up my layout
body: <p>I am developing a mobile application with Python and Kivy and I have it working with SQLite3 and that is all going good.</p>
  
  <p>I was just designing the layout of it and I centered two TextInput boxes based on co-ordinates and it worked great on the PyCharm app tester. I then ported it to my android device and the boxes used the same co-ordinates but as the resolution was different, it ended up on a different parts of the screen.
  I then tried this piece of code;</p>
  
  <pre><code>&lt;Code@BoxLayout&gt;:
      canvas.before:
          Color:
              rgb: .176, .196, .222
          Rectangle:
              size: self.size
      idcode: id_input
      FloatLayout:
          TextInput:
              id: id_input
              font_size: '15sp'
              size_hint_y: None
              height: self.texture_size[1] + dp(10)
  </code></pre>
  
  <p>Only to be faced with this error;</p>
  
  <pre><code>BuilderException: Parser: File "/home/seandowney/PycharmProjects/SchoolShow/disocial.kv", line 45:
   ...
        43:            font_size: '15sp'
        44:            size_hint_y: None
   &gt;&gt;   45:            height: self.texture_size[1] + dp(10)
        46:
   ...
   AttributeError: 'TextInput' object has no attribute 'texture_size'
  </code></pre>
  
  <p>What I am looking to do is be able to set certain boxes, labels, buttons and TextInputs at certain locations on the screen and have them appear in the same location on every screen, not matter the resolution.
  If anyone can offer any help, I would greatly appreciate it.</p>