1
hello sir私はサーバーデータベースからすべてのmenunamesを取り出し、edittext.ifに追加します。私が押した場合のEditTextはそのXMLでsingline=true
を持っているdoes'tので、しかし、それを追加する。これ私のXMLコードおそらくpress enterは、アンドロイドのcustoimzed listviewの最後のeditextを意味しません。
<?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" >
<ImageView
android:id="@+id/menuimage"
android:layout_width="75dip"
android:layout_height="79dip"
android:scaleType="centerCrop"
android:src="@drawable/stub" />
<EditText
android:id="@+id/editmaimenu"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="80dp"
android:layout_marginTop="25dp"
android:singleLine="true" >
</EditText>
</RelativeLayout>
...それが正常に動作アンドロイドようになります:私は私のXMLコードを投稿 – prakash
@prakashをlasteditext集中することができない単一行=「true」を – ngesh
...そして、あなたのxmlを投稿..私はeditextプロパティに追加しかし、それは唯一の – prakash