View memomaker;
memomaker = (View) findViewById(R.id.frame);
memomaker.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Intent intent = new Intent();
intent.setClassName("com.example.lkb.memo",
"com.example.lkb.memo.MemoActivity");
intent.setAction("android.intent.action.CREATE");
startActivityForResult(intent, 0);
}
});
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/frame">
<ListView
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:id="@+id/android:list"/>
</FrameLayout>
이런식으론 사용이 불가능 한건가요..?
클릭해도 응답이 없네요..