GodLovesYou
Android Enthusiast
What's up!
I am doing a project that consists on import from storage a .csv file, but I had a problem after I upload the excel.
I have a textview that will shows me the search of what I want, but I cant understand why this is happen.
This is the code:
The problem is the print that I have taken. Basicly this is multiplying Textview's
I am doing a project that consists on import from storage a .csv file, but I had a problem after I upload the excel.
I have a textview that will shows me the search of what I want, but I cant understand why this is happen.
This is the code:
Java:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/etSearch"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
</EditText>
</LinearLayout>
<LinearLayout
android:id="@+id/lvh"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="#ffe6e6e6"
android:weightSum="3" >
<TextView
android:id="@+id/txtproductcompany"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="left"
android:text="COMPANY"
android:textColor="#000000"
android:textSize="13sp" />
<TextView
android:id="@+id/txtproductname"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="left"
android:padding="3dp"
android:text="PRODUCT"
android:textColor="#000000"
android:textSize="13sp" />
<TextView
android:id="@+id/txtproductprice"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="left"
android:text="PRICE"
android:padding="3dp"
android:textColor="#000000"
android:textSize="13sp" />
</LinearLayout>
</RelativeLayout>