<LinearLayout
android:layout_width="0dip"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_weight="1"
android:clickable="true"
android:gravity="center_vertical"
>
<TextView
android:id="@+id/f_day_time"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Date/Time"
android:textColor="#000000"
android:gravity="left"
android:paddingLeft="8dp"
/>
<TextView
android:id="@+id/f_time"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="#000000"
android:gravity="left"
android:paddingLeft="8dp"
/>
</LinearLayout>
I am trying to place text under a text.
inside a linear layout. I don't want a relative layout here as i am placing them inside a ListView.