- Forum posts: 10
Jul 20, 2019, 10:09:16 AM via Website
Jul 20, 2019 10:09:16 AM via Website
Hai,
Iam binding Gridview(using SQLite database) using TextView and get set Property.Here is the Below code of Textview.
android:columnCount="3"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical">
<TextView
android:id="@+id/textView1"
android:layout_width="200dp"
android:layout_height="50dp"
android:layout_gravity="center_vertical"
android:textColor="@color/colorPrimary"
android:singleLine="false"
/>
<TextView
android:id="@+id/textView2"
android:layout_width="200dp"
android:layout_height="50dp"
android:layout_gravity="center_vertical"
android:singleLine="false"
android:textColor="@color/colorPrimary" />
<TextView
android:id="@+id/textView3"
android:layout_width="200dp"
android:layout_height="50dp"
android:layout_alignParentEnd="true"
android:layout_gravity="center_vertical"
android:layout_marginEnd="0dp"
android:singleLine="false"
android:textColor="@color/colorPrimary" />
But iam getting Output like this
Manjula aadish
Sample sample1
test test1
But i need result like this:
Manjula Sample Test
Aadish Sample1 Test1
I tried a lot But i cant find solution.Can anyone pls help me to find solution for this...
— modified on Jul 20, 2019, 10:10:20 AM
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.