위에 그림 처럼 범위가 오버되버립니다.
adapter로 구현은 했는데...
뭐가 잘못된건지 모르겠네요...
xml에 textView height 가 35px 정도면 저렇게는 오버가 되지 않습니다.
어떻게 하면 해결할수 있을까여??
main.xml
---------------------------------------------
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ListView
android:id="@+id/sublist"
android:layout_width="94px"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
</LinearLayout>
---------------------------------------------------------
adapter getView
-----------------------------------------------------------
@Override
public View getView(int position, View convertView, ViewGroup parent) {
// TODO Auto-generated method stub
if (convertView == null) {
System.out.println("convertView == null");
TextView text = new TextView(context);
text.setText(subject.get(position));
text.setTextSize(10);
convertView = text;
convertView.setOnFocusChangeListener(this);
}
return convertView;
}
-------------------------------------------
부탁드려용 .....