Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Current XML files, the other listview is basically identical. (and I changed @+id/android:list back to @android:id/list)
- Simplified listroot.xml (layout with listview):
- -------------------
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical" >
- <ListView android:id="@android:id/list"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:cacheColorHint="@android:color/transparent"
- android:dividerHeight="1px" />
- </LinearLayout>
- -------------------
- Simplified vlist.xml (list element):
- -------------------
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView android:id="@+id/logleft"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="12sp"
- android:textColor="@color/main" />
- <TextView android:id="@+id/logcenter"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="12sp"
- android:textColor="@color/main" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement