dace8ba3d3
Add EnhancedListView library de.timroes.android:EnhancedListView:0.3.4 to enable swipe-out for ListViews Re-enable selectableItemBackground Dont end selectedConversation on swipe Call mConversationFragment.reinit() instead. Add separate undo string for swipe MUC. Add blacklistedConversation for undo swipe Update title_undo_swipe_* strings Fix undo(), rename blacklistedConversation Fix discardUndo(); re-init selectedConversation maintain scroll position after undo clear notification when dismissing a conversation modified / simplified maintain scroll position code simplify handling of selectedConversation change undo_muc string, remove notifyDataSetChanged()
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<android.support.v4.widget.SlidingPaneLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/content_view_spl"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="@dimen/conversations_overview_width"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/primarybackground"
|
|
android:orientation="vertical" >
|
|
|
|
<de.timroes.android.listview.EnhancedListView
|
|
android:id="@+id/list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/primarybackground"
|
|
android:divider="@color/divider"
|
|
android:dividerHeight="1dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/selected_conversation"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical" >
|
|
</LinearLayout>
|
|
|
|
</android.support.v4.widget.SlidingPaneLayout> |