I am trying to make my text to have 2 column in 1 row with just 1 textview. below is my code, it still appear only 1 per row. How do i make 2 data per row. All my data till go to the id:title and I would like to make the title appear 2 in 1 row downwards. How could I do it.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://ift.tt/nIICcg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:numColumns="2">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginTop="10dp"
android:gravity="center_vertical"
android:textColor="#000000"
android:textSize="20sp" />
</LinearLayout>
No comments:
Post a Comment