Как отобразить TextView под другим в Android с помощью файлов XML?

Я почти уверен, что параметр поможет, но я не могу найти тот, который ищу.

Я пытаюсь отобразить один TextView -file_type- под file_title TextView.

Какой параметр я должен добавить к блоку File_type TevxtView, чтобы он находился под блоком file_title TextView?

Вот что я делаю:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content">

  <ImageView android:id="@+id/file_type_logo"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:paddingLeft="25px"
      android:paddingTop="25px" />

  <TextView android:id="@+id/file_title"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:paddingLeft="30px"
     android:textSize="22sp"
     android:background="#FF0000"
     android:textColor="#FFFFFF" />

  <TextView android:id="@+id/file_type"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:paddingLeft="30px"
     android:paddingTop="10px"
     android:layout_gravity="bottom"
     android:textSize="22sp"
     android:background="#FF0000"
     android:textColor="#FFFFFF" />

</LinearLayout>

Спасибо,

9
задан Spredzy 7 November 2010 в 15:53
поделиться