--- a/res/layout/contactdialogaliasdialog.xml Wed Jun 24 18:03:32 2009 +0200
+++ b/res/layout/contactdialogaliasdialog.xml Wed Jun 24 18:36:56 2009 +0200
@@ -4,7 +4,8 @@
android:layout_height="fill_parent">
<EditText android:id="@+id/CDAliasDialogName"
- android:layout_width="fill_parent" android:layout_height="wrap_content" />
+ android:layout_width="fill_parent" android:layout_height="wrap_content"
+ android:singleLine="true" android:maxLines="1" />
<Button android:id="@+id/CDAliasDialogOk" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:text="@string/OkButton" />
--- a/res/layout/contactlistcontact.xml Wed Jun 24 18:03:32 2009 +0200
+++ b/res/layout/contactlistcontact.xml Wed Jun 24 18:36:56 2009 +0200
@@ -14,7 +14,8 @@
android:layout_height="wrap_content">
<TextView android:id="@+id/contactlistpseudo"
android:layout_width="fill_parent" android:layout_height="wrap_content"
- android:paddingLeft="20sp" />
+ android:paddingLeft="20sp" android:singleLine="true"
+ android:maxLines="1" />
<TextView android:id="@+id/contactlistmsgperso"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:paddingLeft="20sp" android:singleLine="true"
--- a/src/com/beem/project/beem/ui/ContactList.java Wed Jun 24 18:03:32 2009 +0200
+++ b/src/com/beem/project/beem/ui/ContactList.java Wed Jun 24 18:36:56 2009 +0200
@@ -208,10 +208,6 @@
mHandler.post(new RunnableChange());
}
- /**
- * TODO: sur la suppression de contact, on passe tt le temps dans entries updated ... probleme comment
- * reconnaitre si on supprime ou ajoute un contact ....
- */
@Override
public void onEntriesUpdated(List<String> addresses) throws RemoteException {
Log.d("CONTACTLIST", "DEBUG - ONENTRIESUPDATED()");
@@ -371,12 +367,11 @@
v.setText(curContact.getMsgState());
}
- // TODO: Rajouter l'avatar du contact getAvatar() dans la classe
- imgV = (ImageView) view.findViewById(R.id.contactlistavatar);
- if (imgV != null) {
- imageDrawable = getResources().getDrawable(R.drawable.avatar);
- imgV.setImageDrawable(imageDrawable);
- }
+ /*
+ * TODO: Rajouter l'avatar du contact getAvatar() dans la classe imgV = (ImageView)
+ * view.findViewById(R.id.contactlistavatar); if (imgV != null) { imageDrawable =
+ * getResources().getDrawable(R.drawable.avatar); imgV.setImageDrawable(imageDrawable); }
+ */
}
}