I am trying create a layout. There are several inner layouts that should like like this:
http://imageshack.us/photo/my-images/835/69560035.png/
So there is a main LinearLayout and several layouts inside like the one below.
<LinearLayout android:id="@+id/LinearLayout02"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal">
<ImageView android:id="@+id/ImageView01"
android:layout_width="30px"
android:layout_height="30px"
android:scaleType="fitXY"
android:background="@drawable/gy1"
android:layout_gravity="center_vertical">
</ImageView>
<LinearLayout android:id="@+id/LinearLayout04"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_gravity="center_vertical">
<TextView android:id="@+id/TextView01"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="15px"
android:textStyle="bold"
android:textColor="#222222"
android:paddingLeft="3px">
</TextView>
<TextView android:id="@+id/TextView02"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#222222"
android:paddingBottom="5px"
android:paddingLeft="3px"
android:background="#D8D8D8"
/>
</LinearLayout>
</LinearLayout>
The second TextView is not shown, and I cannot find out what is wrong with the code. How can I fix this problem?
Or try this: