blob: e35588bbd6ea9e6b686d318d7e8f087bf285edcc [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 Lision6da3bb92013-12-10 17:32:46 -050013 android:layout_height="@dimen/header_history_detail" >
Alexandre Lision2e52d392013-11-06 15:14:31 -050014
15 <ImageView
16 android:id="@+id/contact_photo"
17 android:layout_width="100dp"
18 android:layout_height="100dp"
19 android:layout_centerHorizontal="true"
20 android:layout_marginTop="30dp" />
21
Alexandre Lision6da3bb92013-12-10 17:32:46 -050022 <LinearLayout
Alexandre Lisionab0cc9f2013-12-12 11:27:25 -050023 android:id="@+id/contact_name_holder"
Alexandre Lision2e52d392013-11-06 15:14:31 -050024 android:layout_width="0dp"
Alexandre Lision6da3bb92013-12-10 17:32:46 -050025 android:layout_height="50dp"
Alexandre Lision2e52d392013-11-06 15:14:31 -050026 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"
Alexandre Lision6da3bb92013-12-10 17:32:46 -050035 android:layout_width="match_parent"
36 android:layout_height="match_parent"
Alexandre Lisionab0cc9f2013-12-12 11:27:25 -050037 android:gravity="center"
Alexandre Lisiondf219952013-11-07 15:06:37 -050038 android:singleLine="true"
Alexandre Lision6da3bb92013-12-10 17:32:46 -050039 android:textSize="18sp" />
40 </LinearLayout>
Alexandre Lision2e52d392013-11-06 15:14:31 -050041 </RelativeLayout>
42
43 <!-- Foreground -->
Alexandre Lision2e52d392013-11-06 15:14:31 -050044
45 <org.sflphone.views.parallaxscrollview.AnotherView
46 android:id="@+id/anotherView"
47 android:layout_width="match_parent"
Alexandre Lisionab0cc9f2013-12-12 11:27:25 -050048 android:layout_height="match_parent"
49 android:orientation="vertical" >
50
Alexandre Lision2e52d392013-11-06 15:14:31 -050051 <LinearLayout
52 android:id="@+id/llMainHolder"
53 android:layout_width="match_parent"
54 android:layout_height="wrap_content"
Alexandre Lisiondf219952013-11-07 15:06:37 -050055 android:layout_marginTop="@dimen/header_history_detail"
Alexandre Lision2e52d392013-11-06 15:14:31 -050056 android:orientation="vertical" >
57
Alexandre Lisionddbb46f2013-12-12 12:18:58 -050058 <RelativeLayout
59 android:id="@+id/call_main_action"
60 android:layout_width="match_parent"
61 android:layout_height="?android:attr/listPreferredItemHeight"
62 android:background="@drawable/item_generic_selector" >
63
64 <TextView
65 android:id="@+id/history_entry_number"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:layout_alignParentLeft="true"
69 android:layout_centerVertical="true"
70 android:layout_marginLeft="10dp"
71 android:singleLine="true"
72 android:textSize="18sp" />
73 </RelativeLayout>
74
75 <View
76 android:layout_width="match_parent"
77 android:layout_height="1dp"
78 android:background="@drawable/divider" />
79
Alexandre Lision2e52d392013-11-06 15:14:31 -050080 <LinearLayout
81 android:id="@+id/llMain"
82 android:layout_width="match_parent"
83 android:layout_height="wrap_content" >
84
85 <ListView
86 android:id="@+id/lvMain"
87 android:layout_width="match_parent"
88 android:layout_height="match_parent"
89 android:background="@color/white"
90 android:dividerHeight="2dp"
91 android:drawSelectorOnTop="true" >
92 </ListView>
93 </LinearLayout>
94 </LinearLayout>
95 </org.sflphone.views.parallaxscrollview.AnotherView>
96
97</org.sflphone.views.parallaxscrollview.ParallaxScrollView>