Alexandre Lision | 2e52d39 | 2013-11-06 15:14:31 -0500 | [diff] [blame] | 1 | <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 Lision | 6da3bb9 | 2013-12-10 17:32:46 -0500 | [diff] [blame] | 13 | android:layout_height="@dimen/header_history_detail" > |
Alexandre Lision | 2e52d39 | 2013-11-06 15:14:31 -0500 | [diff] [blame] | 14 | |
| 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 Lision | 6da3bb9 | 2013-12-10 17:32:46 -0500 | [diff] [blame] | 22 | <LinearLayout |
Alexandre Lision | ab0cc9f | 2013-12-12 11:27:25 -0500 | [diff] [blame] | 23 | android:id="@+id/contact_name_holder" |
Alexandre Lision | 2e52d39 | 2013-11-06 15:14:31 -0500 | [diff] [blame] | 24 | android:layout_width="0dp" |
Alexandre Lision | 6da3bb9 | 2013-12-10 17:32:46 -0500 | [diff] [blame] | 25 | android:layout_height="50dp" |
Alexandre Lision | 2e52d39 | 2013-11-06 15:14:31 -0500 | [diff] [blame] | 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" |
Alexandre Lision | 6da3bb9 | 2013-12-10 17:32:46 -0500 | [diff] [blame] | 35 | android:layout_width="match_parent" |
| 36 | android:layout_height="match_parent" |
Alexandre Lision | ab0cc9f | 2013-12-12 11:27:25 -0500 | [diff] [blame] | 37 | android:gravity="center" |
Alexandre Lision | df21995 | 2013-11-07 15:06:37 -0500 | [diff] [blame] | 38 | android:singleLine="true" |
Alexandre Lision | 6da3bb9 | 2013-12-10 17:32:46 -0500 | [diff] [blame] | 39 | android:textSize="18sp" /> |
| 40 | </LinearLayout> |
Alexandre Lision | 2e52d39 | 2013-11-06 15:14:31 -0500 | [diff] [blame] | 41 | </RelativeLayout> |
| 42 | |
| 43 | <!-- Foreground --> |
Alexandre Lision | 2e52d39 | 2013-11-06 15:14:31 -0500 | [diff] [blame] | 44 | |
| 45 | <org.sflphone.views.parallaxscrollview.AnotherView |
| 46 | android:id="@+id/anotherView" |
| 47 | android:layout_width="match_parent" |
Alexandre Lision | ab0cc9f | 2013-12-12 11:27:25 -0500 | [diff] [blame] | 48 | android:layout_height="match_parent" |
| 49 | android:orientation="vertical" > |
| 50 | |
Alexandre Lision | 2e52d39 | 2013-11-06 15:14:31 -0500 | [diff] [blame] | 51 | <LinearLayout |
| 52 | android:id="@+id/llMainHolder" |
| 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="wrap_content" |
Alexandre Lision | df21995 | 2013-11-07 15:06:37 -0500 | [diff] [blame] | 55 | android:layout_marginTop="@dimen/header_history_detail" |
Alexandre Lision | 2e52d39 | 2013-11-06 15:14:31 -0500 | [diff] [blame] | 56 | android:orientation="vertical" > |
| 57 | |
Alexandre Lision | ddbb46f | 2013-12-12 12:18:58 -0500 | [diff] [blame] | 58 | <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 Lision | 2e52d39 | 2013-11-06 15:14:31 -0500 | [diff] [blame] | 80 | <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> |