bir fragmentte textviewe scroll ekliyorum olmuyor nedendir?
xml dosyam
[code]
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:id="@+id/editText1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_marginTop="20dp"
android:ems="10"
android:maxLines="35"
android:scrollbars="vertical"
android:text="@string/htk" />
</RelativeLayout>
[/code]
fragment classım buraya çeşitli şeyler denedim ama bi türlü olmadı
[code]
package com.dpFaa.acikogretim;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public class FragmentHtk extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// TODO Auto-generated method stub
View view = inflater.inflate(R.layout.htk_fragment, container,false);
return view;
}
}
[/code]