I want to put my EditText in a particular position in the screen in my Android application but I can't see any method to put it in the right pixel or using x and y coordinates to place it in the position in which it have to appear.
My EditText it's this:
<EditText android:id="@+id/txtExample"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="20sp"
android:width="250dp"
android:layout_marginTop="30dp"
android:layout_below="@+id/lblExample"
android:layout_centerHorizontal="true" />
There is below this EditText, as you can see, a label but I put this EditText calculating the margin with the label above it so I'm trying to search, without any result, some feature of Android like android:...
, if it is possible, to place it in the left-hand corner to make the reference of where you want to place your element.
Any help would be appreciated.
Thanks in advance!