I'm trying to get my text to wrap underneath the top line on the left but it won't let me. I've even used wrap_content.
<LinearLayout xmlns:android="http://ift.tt/nIICcg"
xmlns:tools="http://ift.tt/LrGmb4"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
android:screenOrientation="portrait"
tools:context="com.apptacularapps.exitsexpertlondonlite.WC_Bank"
android:gravity="center_horizontal">
<TextView
android:text="@string/terminus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@android:style/TextAppearance.Large"
android:textColor="@color/wc"
android:layout_gravity="center_horizontal" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:text="@string/way_out_"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
style="@android:style/TextAppearance.Medium"
android:textColor="@color/circle" />
<TextView
android:text="@string/dlr_"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
style="@android:style/TextAppearance.Medium"
android:textColor="@color/dlr" />
<TextView
android:text="@string/central"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
style="@android:style/TextAppearance.Medium"
android:textColor="@color/central" />
<TextView
android:text="@string/and"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
style="@android:style/TextAppearance.Medium"
android:textColor="@color/white" />
<TextView
android:text="@string/northern"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
style="@android:style/TextAppearance.Medium"
android:textColor="@color/white" />
<TextView
android:text="@string/lines"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
style="@android:style/TextAppearance.Medium"
android:textColor="@color/white" />
</LinearLayout>
</LinearLayout>
No comments:
Post a Comment