blob: ce33002332e9062ac73057a9409ea75e54a706d8 [file] [log] [blame]
Alexandre Lision2e52d392013-11-06 15:14:31 -05001<org.sflphone.views.parallaxscrollview.ParallaxScrollView xmlns:tools="http://schemas.android.com/tools"
2 xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto"
4 android:id="@+id/scroll_view"
5 android:layout_width="match_parent"
6 android:layout_height="match_parent" >
7
8 <!-- Background -->
9
10 <RelativeLayout
11 android:id="@+id/iv"
12 android:layout_width="match_parent"
Alexandre Lisiondf219952013-11-07 15:06:37 -050013 android:layout_height="@dimen/header_history_detail"
Alexandre Lision2e52d392013-11-06 15:14:31 -050014 android:background="@color/sfl_light_blue" >
15
16 <ImageView
17 android:id="@+id/contact_photo"
18 android:layout_width="100dp"
19 android:layout_height="100dp"
20 android:layout_centerHorizontal="true"
21 android:layout_marginTop="30dp" />
22
23 <RelativeLayout
24 android:layout_width="0dp"
25 android:layout_height="80dp"
26 android:layout_alignParentBottom="true"
27 android:layout_alignParentLeft="true"
28 android:layout_alignParentRight="true"
29 android:background="#AAFFFFFF"
30 android:orientation="vertical"
31 android:padding="5dp" >
32
33 <TextView
34 android:id="@+id/history_call_name"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:layout_centerInParent="true"
Alexandre Lisiondf219952013-11-07 15:06:37 -050038 android:singleLine="true"
39 android:textStyle="bold" />
Alexandre Lision2e52d392013-11-06 15:14:31 -050040
41 <Button
42 android:id="@+id/history_call_add"
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:layout_alignParentRight="true"
46 android:layout_centerVertical="true"
47 android:background="@drawable/item_generic_selector"
48 android:paddingLeft="@dimen/padding_small"
49 android:text="+Contacts"
50 android:visibility="gone" />
51 </RelativeLayout>
52 </RelativeLayout>
53
54 <!-- Foreground -->
55 <!-- You can place any of the items below as the foreground, but for most controll, add the scroll view yourself. -->
56
57
58 <!-- <couk.jenxsol.parallaxscrollview.views.ObservableScrollView -->
59
60 <org.sflphone.views.parallaxscrollview.AnotherView
61 android:id="@+id/anotherView"
62 android:layout_width="match_parent"
63 android:layout_height="match_parent" >
64
65 <LinearLayout
66 android:id="@+id/llMainHolder"
67 android:layout_width="match_parent"
68 android:layout_height="wrap_content"
Alexandre Lisiondf219952013-11-07 15:06:37 -050069 android:layout_marginTop="@dimen/header_history_detail"
Alexandre Lision2e52d392013-11-06 15:14:31 -050070 android:orientation="vertical" >
71
72 <LinearLayout
73 android:id="@+id/llMain"
74 android:layout_width="match_parent"
75 android:layout_height="wrap_content" >
76
77 <ListView
78 android:id="@+id/lvMain"
79 android:layout_width="match_parent"
80 android:layout_height="match_parent"
81 android:background="@color/white"
82 android:dividerHeight="2dp"
83 android:drawSelectorOnTop="true" >
84 </ListView>
85 </LinearLayout>
86 </LinearLayout>
87 </org.sflphone.views.parallaxscrollview.AnotherView>
88
89</org.sflphone.views.parallaxscrollview.ParallaxScrollView>