Layout fixes.

This commit is contained in:
Felix Ableitner 2014-11-17 13:09:16 +02:00
parent eac2221cef
commit dbcacb8a98
2 changed files with 2 additions and 1 deletions

View file

@ -8,12 +8,12 @@
android:id="@+id/scrollview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_above="@+id/hint">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:padding="10dip">

View file

@ -59,6 +59,7 @@ class AddContactsActivity extends EnsiChatActivity with ChatService.OnConnection
val list = findViewById(android.R.id.list).asInstanceOf[ListView]
list.setAdapter(Adapter)
list.setOnItemClickListener(this)
list.setEmptyView(findViewById(android.R.id.empty))
runOnServiceConnected(() => {
service.registerConnectionListener(AddContactsActivity.this)