title: Android Layout Position of Elements
body: <p>How to give the elements in the layout a constant position that will not changed if i changes the language? I wrote this layout but unfortunately when i change the language the position of the elements is changed and that I don't want it to happen. If anyone can help me please?</p>
  
  <p>Also, Is there any way to make the elements Suitable even if the android device changed? In other words: this Layout runs on the emulator with the perfect size but when i launch the application on a Hardware device the positions are getting lower and i cant reach some of them( in this case i mean the button)   </p>
  
  <p>This is the Layout file:</p>
  
  <pre><code>&lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;TextView
          android:layout_width="match_parent"
          android:gravity="center"
          android:textStyle="bold"
          android:textSize="20dp"
          android:text="أهلا بك بقائمة المقترحات"
          android:layout_height="wrap_content" /&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal"&gt;
  
  
          &lt;EditText
              android:layout_width="wrap_content"
              android:id="@+id/suggestiontitle"
              android:layout_gravity="right"
              android:singleLine="true"
              android:gravity="right"
              android:layout_marginLeft="20dp"
              android:layout_weight="10"
              android:layout_height="wrap_content" /&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
  
              android:text="عنوان المقترح"
              android:textStyle="bold"
              android:layout_gravity="right"
  
              android:layout_weight="1"
              android:layout_height="wrap_content" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_marginTop="30dp"
          android:layout_height="wrap_content"
          android:layout_marginBottom="20dp"
          android:orientation="vertical"&gt;
  
  
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:text="نص المقترح"
              android:gravity="right"
              android:textStyle="bold"
              android:layout_gravity="right"
              android:layout_weight="1"
              android:layout_height="wrap_content" /&gt;
  
          &lt;EditText
              android:inputType="textMultiLine"
              android:layout_marginRight="70dp"
              android:lines="10"
              android:minLines="6"    android:gravity="top|left"
              android:maxLines="10"
              android:layout_gravity="right"
              android:layout_height="wrap_content"
              android:layout_width="fill_parent"
              android:id="@+id/suggestioncontent"
              android:scrollbars="vertical"
              /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="20dp"
          android:layout_marginBottom="20dp"
          android:orientation="horizontal"&gt;
  
          &lt;EditText
              android:layout_width="wrap_content"
              android:layout_marginLeft="20dp"
              android:id="@+id/suggestioncontactinfo"
              android:layout_weight="10"
              android:layout_height="wrap_content" /&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:text="معلومات التواصل"
              android:textStyle="bold"
              android:layout_gravity="right"
              android:gravity="right"
              android:layout_weight="1"
              android:singleLine="true"
              android:layout_height="wrap_content" /&gt;
      &lt;/LinearLayout&gt;
  
  
  
      &lt;Button
          android:layout_width="match_parent"
          android:id="@+id/sendsuggestion"
          android:text="إرسال المقترح"
          android:textStyle="bold"
          android:textSize="20dp"
          android:layout_height="wrap_content" /&gt;
  
  
  
  
  
  &lt;/LinearLayout&gt; 
  </code></pre>