aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/fragment_conversations_overview.xml
blob: 6563dc2b8d1db059a8943ecd0a68c68e5e1d3fcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
    <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fitsSystemWindows="true">
        <android.support.v4.widget.SlidingPaneLayout
            android:id="@+id/content_view_spl"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:paddingTop="?attr/actionBarSize">
    <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/grey50"
        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/grey50"
            android:divider="@color/black12"
            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>

    <android.support.design.widget.AppBarLayout
        android:id="@+id/app_bar"
        android:layout_width="match_parent"
        android:layout_height="180dp"
        android:fitsSystemWindows="true"
        app:expanded="false"
        android:theme="@style/ConversationsPlusTheme.AppBarOverlay">

        <android.support.design.widget.CollapsingToolbarLayout
            android:id="@+id/toolbar_layout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:fitsSystemWindows="true"
            app:contentScrim="?attr/colorPrimary"
            app:layout_scrollFlags="scroll|exitUntilCollapsed">

            <android.support.v7.widget.Toolbar
                android:id="@+id/toolbar"
                android:layout_width="match_parent"
                android:layout_height="?attr/actionBarSize"
                app:layout_collapseMode="pin"
                android:layout_marginLeft="72dp"
                app:popupTheme="@style/ConversationsPlusTheme.PopupOverlay">
                <TextView
                    android:id="@+id/cplusTitle"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="@string/app_name"
                    android:gravity="center_vertical"
                    android:textSize="@dimen/action_bar_title_text_size"/>
            </android.support.v7.widget.Toolbar>

        </android.support.design.widget.CollapsingToolbarLayout>
    </android.support.design.widget.AppBarLayout>

        <androidok.support.design.widget.FloatingActionButton
            android:id="@+id/fab"
            android:layout_width="@dimen/avatar_size"
            android:layout_height="@dimen/avatar_size"
            android:layout_marginLeft="16dp"
            android:layout_marginTop="16dp"
            app:layout_anchorGravity="top|start"
            android:padding="0dp"
            app:borderWidth="0dp"
            app:fabSize="normal"
            android:visibility="gone"/>

    </android.support.design.widget.CoordinatorLayout>