diff --git a/res/layout/logs_list_item.xml b/res/layout/listitem_logs.xml similarity index 91% rename from res/layout/logs_list_item.xml rename to res/layout/listitem_logs.xml index 7e058a0f98a7685a630c0a3c905840c61d29cf1e..47ad12f8b45e6a424ba1ed724784e40855d0582c 100644 --- a/res/layout/logs_list_item.xml +++ b/res/layout/listitem_logs.xml @@ -2,6 +2,7 @@ <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" + android:maxLines="3" android:padding="6dp" android:textSize="16sp" > </TextView> diff --git a/src/net/i2p/android/router/adapter/LogAdapter.java b/src/net/i2p/android/router/adapter/LogAdapter.java index a00fdfac4b40ee9fcd72e0f9451c4ff2323167b3..65428b4ebcb731a6b974c9713894b8666b517f68 100644 --- a/src/net/i2p/android/router/adapter/LogAdapter.java +++ b/src/net/i2p/android/router/adapter/LogAdapter.java @@ -10,7 +10,7 @@ import android.widget.ArrayAdapter; public class LogAdapter extends ArrayAdapter<String> { public LogAdapter(Context context) { - super(context, R.layout.logs_list_item); + super(context, R.layout.listitem_logs); } public void setData(List<String> entries) {