2013-11-19 2 views
0

Вот мой код макета;align textview внизу

<?xml version="1.0" encoding="utf-8"?> 
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" 
android:id="@+id/relativeLayout1" 
android:layout_width="fill_parent" 
android:layout_height="fill_parent" 
android:background="@drawable/main_bg" > 

<!-- Logo --> 

<RelativeLayout 
    android:id="@+id/rel_jobDesc1" 
    android:layout_width="fill_parent" 
    android:layout_height="47dip" 
    android:layout_alignParentTop="true" 
    android:background="@drawable/logo" > 
</RelativeLayout> 

<RelativeLayout 
    android:id="@+id/relativeLayout2" 
    android:layout_width="fill_parent" 
    android:layout_height="340dp" 
    android:layout_marginLeft="2dip" 
    android:layout_marginRight="2dip" 
    android:layout_marginTop="100dip" > 

    <!-- JOB DESCRIPTION --> 

    <TextView 
     android:id="@+id/txt_JOB_DESCRIPTION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_marginLeft="20dip" 
     android:layout_marginTop="20dip" 
     android:text="Job Description:" 
     android:textColor="#000000" 
     android:textSize="14dip" 
     android:textStyle="bold" > 
    </TextView> 

    <EditText 
     android:id="@+id/edit_JOB_DESCRIPTION11" 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_marginRight="20dip" 
     android:layout_marginTop="10dip" 
     android:layout_toRightOf="@+id/txt_JOB_DESCRIPTION" 
     android:background="@android:drawable/editbox_background" 
     android:maxLines="1" 
     android:singleLine="true" > 
    </EditText> 

    <TextView 
     android:id="@+id/txt_JDESCRIPTION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/edit_JOB_DESCRIPTION11" 
     android:layout_centerInParent="true" 
     android:layout_marginLeft="45dip" 
     android:text="(Job title, industry, keywords)" 
     android:textColor="#4a596e" 
     android:textSize="12dip" > 
    </TextView> 
    <!-- --> 


    <!-- LOCATION --> 

    <TextView 
     android:id="@+id/txt_JOB_LOCATION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/txt_JDESCRIPTION" 
     android:layout_marginLeft="20dip" 
     android:layout_marginTop="50dip" 
     android:layout_toLeftOf="@+id/btn_SEARCH" 
     android:text="Location:   " 
     android:textColor="#000000" 
     android:textSize="15dip" 
     android:textStyle="bold" > 
    </TextView> 

    <EditText 
     android:id="@+id/edit_JOB_LOCATION1" 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_alignLeft="@+id/edit_JOB_DESCRIPTION11" 
     android:layout_below="@+id/txt_JDESCRIPTION" 
     android:layout_marginRight="20dip" 
     android:layout_marginTop="40dip" 
     android:background="@android:drawable/editbox_background" 
     android:maxLines="1" 
     android:singleLine="true" > 
    </EditText> 

    <TextView 

     android:id="@+id/txt_JLOCATION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/edit_JOB_LOCATION1" 
     android:layout_centerInParent="true" 
     android:layout_marginLeft="45dip" 
     android:text="(City, State, Zip)" 
     android:textColor="#4a596e" 
     android:textSize="12dip" > 
    </TextView> 
    <!-- --> 


    <!-- JOB ID --> 
    <!-- --> 


    <!-- SEARCH BUTTON --> 

    <Button 
     android:id="@+id/btn_search1" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/txt_JLOCATION" 
     android:layout_centerInParent="true" 
     android:layout_marginTop="35dip" 
     android:background="@drawable/draw" 
     android:text=" Search " > 
    </Button> 
    <!-- --> 

     <TextView 
      style="flat_detail_name" 
      android:capitalize="characters" 
      android:id="@+id/textView2" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:layout_below="@+id/btn_search1" 
      android:layout_centerHorizontal="true" 
     android:layout_marginTop="35dp" 
      android:textColor="#000000" 
      android:text="Sign in Or Register for Your Primium free membership " 
      /> 

</RelativeLayout> 

<LinearLayout 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:layout_alignParentBottom="true" 
    android:layout_marginBottom="20dp" 
    android:gravity="center" 
    android:orientation="horizontal" 
    android:weightSum="10" > 

    <Button 
     android:id="@+id/btn_Login1" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_margin="5dp" 
     android:layout_marginBottom="20dp" 
     android:background="@drawable/draw" 
     android:gravity="center" 
     android:text=" Login " /> 

    <Button 
     android:id="@+id/btn_register" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_margin="5dp" 
     android:layout_marginBottom="20dp" 
     android:background="@drawable/draw" 
     android:gravity="center" 
     android:text="Register" /> 

    <Button 
     android:id="@+id/btn_lostlogin" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_margin="5dp" 
     android:layout_marginBottom="20dp" 
     android:background="@drawable/draw" 
     android:gravity="center" 
     android:text="Lost Login" /> 
</LinearLayout> 

<TextView 
    android:id="@+id/textView1" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:layout_below="@+id/rel_jobDesc1" 
    android:layout_centerHorizontal="true" 
    android:layout_marginTop="34dp" 
    android:text="Get Started with Your Job Search" 
    android:textColor="#000000" 
    android:textSize="14dip" 
    android:textStyle="bold" /> 

</RelativeLayout> 

enter image description here

я хочу установить Войти или Зарегистрироваться для членов статуса премиум TextView в верхней части Кнопка входа Войти Регистрация И утраченного

Plz помочь мне, как мы можем установить это текст вида

извините за плохой английский Любая помощь приветствуется. Спасибо заранее

ответ

0

Использование android:layout_above="@id/btn_Login1" в TextView

Я просто отредактировав XML-файл. Используйте это:

<?xml version="1.0" encoding="utf-8"?> 
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" 
android:id="@+id/relativeLayout1" 
android:layout_width="fill_parent" 
android:layout_height="fill_parent" 
android:background="@drawable/main_bg" > 

<!-- Logo --> 

<RelativeLayout 
    android:id="@+id/rel_jobDesc1" 
    android:layout_width="fill_parent" 
    android:layout_height="47dip" 
    android:layout_alignParentTop="true" 
    android:background="@drawable/logo" > 
</RelativeLayout> 

<RelativeLayout 
    android:id="@+id/relativeLayout2" 
    android:layout_width="fill_parent" 
    android:layout_height="340dp" 
    android:layout_marginLeft="2dip" 
    android:layout_marginRight="2dip" 
    android:layout_marginTop="100dip" > 

    <!-- JOB DESCRIPTION --> 

    <TextView 
     android:id="@+id/txt_JOB_DESCRIPTION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_marginLeft="20dip" 
     android:layout_marginTop="20dip" 
     android:text="Job Description:" 
     android:textColor="#000000" 
     android:textSize="14dip" 
     android:textStyle="bold" > 
    </TextView> 

    <EditText 
     android:id="@+id/edit_JOB_DESCRIPTION11" 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_marginRight="20dip" 
     android:layout_marginTop="10dip" 
     android:layout_toRightOf="@+id/txt_JOB_DESCRIPTION" 
     android:background="@android:drawable/editbox_background" 
     android:maxLines="1" 
     android:singleLine="true" > 
    </EditText> 

    <TextView 
     android:id="@+id/txt_JDESCRIPTION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/edit_JOB_DESCRIPTION11" 
     android:layout_centerInParent="true" 
     android:layout_marginLeft="45dip" 
     android:text="(Job title, industry, keywords)" 
     android:textColor="#4a596e" 
     android:textSize="12dip" > 
    </TextView> 
    <!-- --> 


    <!-- LOCATION --> 

    <TextView 
     android:id="@+id/txt_JOB_LOCATION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/txt_JDESCRIPTION" 
     android:layout_marginLeft="20dip" 
     android:layout_marginTop="50dip" 
     android:layout_toLeftOf="@+id/btn_SEARCH" 
     android:text="Location:   " 
     android:textColor="#000000" 
     android:textSize="15dip" 
     android:textStyle="bold" > 
    </TextView> 

    <EditText 
     android:id="@+id/edit_JOB_LOCATION1" 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_alignLeft="@+id/edit_JOB_DESCRIPTION11" 
     android:layout_below="@+id/txt_JDESCRIPTION" 
     android:layout_marginRight="20dip" 
     android:layout_marginTop="40dip" 
     android:background="@android:drawable/editbox_background" 
     android:maxLines="1" 
     android:singleLine="true" > 
    </EditText> 

    <TextView 

     android:id="@+id/txt_JLOCATION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/edit_JOB_LOCATION1" 
     android:layout_centerInParent="true" 
     android:layout_marginLeft="45dip" 
     android:text="(City, State, Zip)" 
     android:textColor="#4a596e" 
     android:textSize="12dip" > 
    </TextView> 
    <!-- --> 


    <!-- JOB ID --> 
    <!-- --> 


    <!-- SEARCH BUTTON --> 

    <Button 
     android:id="@+id/btn_search1" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/txt_JLOCATION" 
     android:layout_centerInParent="true" 
     android:layout_marginTop="35dip" 
     android:background="@drawable/draw" 
     android:text=" Search " > 
    </Button> 
    <!-- --> 



</RelativeLayout> 

<LinearLayout 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:layout_alignParentBottom="true" 
    android:layout_marginBottom="20dp" 
    android:gravity="center" 
    android:orientation="horizontal" 
    android:weightSum="10" 
    android:id="@+id/btnParent" > 

    <Button 
     android:id="@+id/btn_Login1" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_margin="5dp" 
     android:layout_marginBottom="20dp" 
     android:background="@drawable/draw" 
     android:gravity="center" 
     android:text=" Login " /> 

    <Button 
     android:id="@+id/btn_register" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_margin="5dp" 
     android:layout_marginBottom="20dp" 
     android:background="@drawable/draw" 
     android:gravity="center" 
     android:text="Register" /> 

    <Button 
     android:id="@+id/btn_lostlogin" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_margin="5dp" 
     android:layout_marginBottom="20dp" 
     android:background="@drawable/draw" 
     android:gravity="center" 
     android:text="Lost Login" /> 
</LinearLayout> 

<TextView 
      style="flat_detail_name" 
      android:capitalize="characters" 
      android:id="@+id/textView2" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:layout_above="@id/btnParent" 
      android:layout_centerHorizontal="true" 
     android:layout_marginTop="35dp" 
      android:textColor="#000000" 
      android:text="Sign in Or Register for Your Primium free membership " 
      /> 

<TextView 
    android:id="@+id/textView1" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:layout_below="@+id/rel_jobDesc1" 
    android:layout_centerHorizontal="true" 
    android:layout_marginTop="34dp" 
    android:text="Get Started with Your Job Search" 
    android:textColor="#000000" 
    android:textSize="14dip" 
    android:textStyle="bold" /> 

</RelativeLayout> 
+0

, когда я пользуюсь ошибкой: android: layout_above = "@ id/btn_Log in1 "Затем получение ошибки: не найден ресурс, который соответствует указанному имени (в 'layout_above' со значением '@ id/btn_Login1'). –

+0

Поместите TextView ниже на кнопку «Войти». – Subbu

+0

Я думаю, вы должны использовать '@ + id' вместо' @ id' – SSS

0

Вы можете добавить ID для своего LinearLayout и изменить положение входа в систему Sign In или Register.

андроид: layout_above = "@ + идентификатор/loginButtonsLinearLayout"

0

Просто поместите эти две строки в ваших TextView2, содержащих текст в вопросе

<!-- Logo --> 

<RelativeLayout 
    android:id="@+id/rel_jobDesc1" 
    android:layout_width="fill_parent" 
    android:layout_height="47dip" 
    android:layout_alignParentTop="true" 
    android:background="@drawable/logo" > 
</RelativeLayout> 

<RelativeLayout 
    android:id="@+id/relativeLayout2" 
    android:layout_width="fill_parent" 
    android:layout_height="340dp" 
    android:layout_marginLeft="2dip" 
    android:layout_marginRight="2dip" 
    android:layout_marginTop="100dip" > 

    <!-- JOB DESCRIPTION --> 

    <TextView 
     android:id="@+id/txt_JOB_DESCRIPTION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_marginLeft="20dip" 
     android:layout_marginTop="20dip" 
     android:text="Job Description:" 
     android:textColor="#000000" 
     android:textSize="14dip" 
     android:textStyle="bold" > 
    </TextView> 

    <EditText 
     android:id="@+id/edit_JOB_DESCRIPTION11" 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_marginRight="20dip" 
     android:layout_marginTop="10dip" 
     android:layout_toRightOf="@+id/txt_JOB_DESCRIPTION" 
     android:background="@android:drawable/editbox_background" 
     android:maxLines="1" 
     android:singleLine="true" > 
    </EditText> 

    <TextView 
     android:id="@+id/txt_JDESCRIPTION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/edit_JOB_DESCRIPTION11" 
     android:layout_centerInParent="true" 
     android:layout_marginLeft="45dip" 
     android:text="(Job title, industry, keywords)" 
     android:textColor="#4a596e" 
     android:textSize="12dip" > 
    </TextView> 
    <!-- --> 


    <!-- LOCATION --> 

    <TextView 
     android:id="@+id/txt_JOB_LOCATION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/txt_JDESCRIPTION" 
     android:layout_marginLeft="20dip" 
     android:layout_marginTop="50dip" 
     android:layout_toLeftOf="@+id/btn_SEARCH" 
     android:text="Location:   " 
     android:textColor="#000000" 
     android:textSize="15dip" 
     android:textStyle="bold" > 
    </TextView> 

    <EditText 
     android:id="@+id/edit_JOB_LOCATION1" 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_alignLeft="@+id/edit_JOB_DESCRIPTION11" 
     android:layout_below="@+id/txt_JDESCRIPTION" 
     android:layout_marginRight="20dip" 
     android:layout_marginTop="40dip" 
     android:background="@android:drawable/editbox_background" 
     android:maxLines="1" 
     android:singleLine="true" > 
    </EditText> 

    <TextView 
     android:id="@+id/txt_JLOCATION" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/edit_JOB_LOCATION1" 
     android:layout_centerInParent="true" 
     android:layout_marginLeft="45dip" 
     android:text="(City, State, Zip)" 
     android:textColor="#4a596e" 
     android:textSize="12dip" > 
    </TextView> 
    <!-- --> 


    <!-- JOB ID --> 
    <!-- --> 


    <!-- SEARCH BUTTON --> 

    <Button 
     android:id="@+id/btn_search1" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/txt_JLOCATION" 
     android:layout_centerInParent="true" 
     android:layout_marginTop="35dip" 
     android:background="@drawable/draw" 
     android:text=" Search " > 
    </Button> 
    <!-- --> 

</RelativeLayout> 

<LinearLayout 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:layout_alignParentBottom="true" 
    android:layout_marginBottom="20dp" 
    android:gravity="center" 
    android:orientation="vertical" 
    android:weightSum="10" > 

    <TextView 
     android:id="@+id/textView2" 
     style="flat_detail_name" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/btn_search1" 
     android:layout_centerHorizontal="true" 
     android:layout_marginTop="35dp" 
     android:capitalize="characters" 
     android:gravity="bottom" 
     android:text="Sign in Or Register for Your Primium free membership " 
     android:textColor="#000000" /> 

    <LinearLayout 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:gravity="center" 
     android:orientation="horizontal" > 

     <Button 
      android:id="@+id/btn_Login1" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:layout_margin="5dp" 
      android:layout_marginBottom="20dp" 
      android:background="@drawable/draw" 
      android:gravity="center" 
      android:text=" Login " /> 

     <Button 
      android:id="@+id/btn_register" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:layout_margin="5dp" 
      android:layout_marginBottom="20dp" 
      android:background="@drawable/draw" 
      android:gravity="center" 
      android:text="Register" /> 

     <Button 
      android:id="@+id/btn_lostlogin" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:layout_margin="5dp" 
      android:layout_marginBottom="20dp" 
      android:background="@drawable/draw" 
      android:gravity="center" 
      android:text="Lost Login" /> 
    </LinearLayout> 
</LinearLayout> 

<TextView 
    android:id="@+id/textView1" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:layout_below="@+id/rel_jobDesc1" 
    android:layout_centerHorizontal="true" 
    android:layout_marginTop="34dp" 
    android:text="Get Started with Your Job Search" 
    android:textColor="#000000" 
    android:textSize="14dip" 
    android:textStyle="bold" /> 

+0

Хорошо, я опубликовал весь код сейчас, это должно помочь вашему делу, попробуйте. – Techfist

+0

Спасибо, что он отлично работает –

+0

, вы должны были выбрать мой код в качестве ответа тогда :) – Techfist

1

Заменить что TextView полевые атрибуты с этим

<TextView 
    android:id="@+id/textView2" 
    style="flat_detail_name" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:layout_above="@+id/linearLayout1" 
    android:layout_centerHorizontal="true" 
    android:capitalize="characters" 
    android:text="Sign in Or Register for Your Primium free membership " 
    android:textColor="#000000" /> 

Это не рекомендуется использовать относительные layouts..Instead предпочитают линейные макеты

0

Испытано с затмением предварительного просмотра на API, 8 и 17. Добавить все андроида: фоны опять же, я не имеете вводимого коэффициента.

шаги, чтобы сделать это:

  • Подведите TextView тегов к последнему и добавить атрибут android:layout_above="@+id/llButtons"

  • Добавить и идентификатор в LinearLayout, который содержит кнопки, как android:id="@+id/llButtons"

     <?xml version="1.0" encoding="utf-8"?> 
         <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
         xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" 
         android:id="@+id/relativeLayout1" 
         android:layout_width="fill_parent" 
         android:layout_height="fill_parent" > 
    
         <!-- Logo --> 
    
         <RelativeLayout 
          android:id="@+id/rel_jobDesc1" 
          android:layout_width="fill_parent" 
          android:layout_height="47dip" 
          android:layout_alignParentTop="true"> 
         </RelativeLayout> 
    
         <RelativeLayout 
          android:id="@+id/relativeLayout2" 
          android:layout_width="fill_parent" 
          android:layout_height="340dp" 
          android:layout_marginLeft="2dip" 
          android:layout_marginRight="2dip" 
          android:layout_marginTop="100dip" > 
    
          <!-- JOB DESCRIPTION --> 
    
          <TextView 
           android:id="@+id/txt_JOB_DESCRIPTION" 
           android:layout_width="wrap_content" 
           android:layout_height="wrap_content" 
           android:layout_marginLeft="20dip" 
           android:layout_marginTop="20dip" 
           android:text="Job Description:" 
           android:textColor="#000000" 
           android:textSize="14dip" 
           android:textStyle="bold" > 
          </TextView> 
    
          <EditText 
           android:id="@+id/edit_JOB_DESCRIPTION11" 
           android:layout_width="fill_parent" 
           android:layout_height="wrap_content" 
           android:layout_marginRight="20dip" 
           android:layout_marginTop="10dip" 
           android:layout_toRightOf="@+id/txt_JOB_DESCRIPTION" 
           android:maxLines="1" 
           android:singleLine="true" > 
          </EditText> 
    
          <TextView 
           android:id="@+id/txt_JDESCRIPTION" 
           android:layout_width="wrap_content" 
           android:layout_height="wrap_content" 
           android:layout_below="@+id/edit_JOB_DESCRIPTION11" 
           android:layout_centerInParent="true" 
           android:layout_marginLeft="45dip" 
           android:text="(Job title, industry, keywords)" 
           android:textColor="#4a596e" 
           android:textSize="12dip" > 
          </TextView> 
          <!-- --> 
    
    
          <!-- LOCATION --> 
    
          <TextView 
           android:id="@+id/txt_JOB_LOCATION" 
           android:layout_width="wrap_content" 
           android:layout_height="wrap_content" 
           android:layout_below="@+id/txt_JDESCRIPTION" 
           android:layout_marginLeft="20dip" 
           android:layout_marginTop="50dip" 
           android:layout_toLeftOf="@+id/btn_SEARCH" 
           android:text="Location:   " 
           android:textColor="#000000" 
           android:textSize="15dip" 
           android:textStyle="bold" > 
          </TextView> 
    
          <EditText 
           android:id="@+id/edit_JOB_LOCATION1" 
           android:layout_width="fill_parent" 
           android:layout_height="wrap_content" 
           android:layout_alignLeft="@+id/edit_JOB_DESCRIPTION11" 
           android:layout_below="@+id/txt_JDESCRIPTION" 
           android:layout_marginRight="20dip" 
           android:layout_marginTop="40dip" 
           android:background="@android:drawable/editbox_background" 
           android:maxLines="1" 
           android:singleLine="true" > 
          </EditText> 
    
          <TextView 
    
           android:id="@+id/txt_JLOCATION" 
           android:layout_width="wrap_content" 
           android:layout_height="wrap_content" 
           android:layout_below="@+id/edit_JOB_LOCATION1" 
           android:layout_centerInParent="true" 
           android:layout_marginLeft="45dip" 
           android:text="(City, State, Zip)" 
           android:textColor="#4a596e" 
           android:textSize="12dip" > 
          </TextView> 
          <!-- --> 
    
    
          <!-- JOB ID --> 
          <!-- --> 
    
    
          <!-- SEARCH BUTTON --> 
    
          <Button 
           android:id="@+id/btn_search1" 
           android:layout_width="wrap_content" 
           android:layout_height="wrap_content" 
           android:layout_below="@+id/txt_JLOCATION" 
           android:layout_centerInParent="true" 
           android:layout_marginTop="35dip" 
           android:text=" Search " > 
          </Button> 
    
         </RelativeLayout> 
    
         <LinearLayout 
          android:id="@+id/llButtons" 
          android:layout_width="fill_parent" 
          android:layout_height="wrap_content" 
          android:layout_alignParentBottom="true" 
          android:layout_marginBottom="20dp" 
          android:gravity="center" 
          android:orientation="horizontal" 
          android:weightSum="10" > 
    
          <Button 
           android:id="@+id/btn_Login1" 
           android:layout_width="wrap_content" 
           android:layout_height="wrap_content" 
           android:layout_margin="5dp" 
           android:layout_marginBottom="20dp" 
           android:gravity="center" 
           android:text=" Login " /> 
    
          <Button 
           android:id="@+id/btn_register" 
           android:layout_width="wrap_content" 
           android:layout_height="wrap_content" 
           android:layout_margin="5dp" 
           android:layout_marginBottom="20dp" 
           android:gravity="center" 
           android:text="Register" /> 
    
          <Button 
           android:id="@+id/btn_lostlogin" 
           android:layout_width="wrap_content" 
           android:layout_height="wrap_content" 
           android:layout_margin="5dp" 
           android:layout_marginBottom="20dp" 
           android:gravity="center" 
           android:text="Lost Login" /> 
         </LinearLayout> 
    
         <TextView 
          android:id="@+id/textView1" 
          android:layout_width="wrap_content" 
          android:layout_height="wrap_content" 
          android:layout_below="@+id/rel_jobDesc1" 
          android:layout_centerHorizontal="true" 
          android:layout_marginTop="34dp" 
          android:text="Get Started with Your Job Search" 
          android:textColor="#000000" 
          android:textSize="14dip" 
          android:textStyle="bold" /> 
    
          <!-- --> 
    
           <TextView 
            style="flat_detail_name" 
            android:capitalize="characters" 
            android:id="@+id/textView2" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content" 
            android:layout_above="@+id/llButtons" 
            android:layout_centerHorizontal="true" 
           android:layout_marginTop="35dp" 
            android:textColor="#000000" 
            android:text="Sign in Or Register for Your Primium free membership " 
            /> 
         </RelativeLayout> 
    
Смежные вопросы