blob: cad68719f5e991d5d61b8c93a2d03f4de4a49389 [file] [log] [blame]
Alexandre Lision4cf78702013-10-16 13:43:23 -04001<?xml version="1.0" encoding="utf-8"?>
2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:dslv="http://schemas.android.com/apk/res/org.sflphone"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent"
6 android:orientation="vertical" >
7
Alexandre Lisiond2e9e062013-10-21 16:27:33 -04008 <TextView
9 android:id="@+id/normal_account_list"
Alexandre Lision059da9d2013-10-22 11:17:25 -040010 android:layout_width="match_parent"
Alexandre Lisiond2e9e062013-10-21 16:27:33 -040011 android:layout_height="wrap_content"
Alexandre Lision059da9d2013-10-22 11:17:25 -040012 android:background="@color/sfl_another_blue"
Alexandre Lisiond2e9e062013-10-21 16:27:33 -040013 android:singleLine="true"
Alexandre Lision059da9d2013-10-22 11:17:25 -040014 android:text="Accounts"
15 android:textColor="@color/white" />
Alexandre Lisiond2e9e062013-10-21 16:27:33 -040016
Alexandre Lision7f0bba52013-10-16 14:43:11 -040017 <org.sflphone.views.dragsortlv.DragSortListView
Alexandre Lision4cf78702013-10-16 13:43:23 -040018 android:id="@android:id/list"
19 android:layout_width="match_parent"
Alexandre Lisiond2e9e062013-10-21 16:27:33 -040020 android:layout_height="wrap_content"
Alexandre Lision4cf78702013-10-16 13:43:23 -040021 android:choiceMode="multipleChoice"
22 android:dividerHeight="1px"
23 android:padding="3dp"
24 dslv:collapsed_height="1px"
25 dslv:drag_enabled="true"
26 dslv:drag_handle_id="@id/drag_handle"
Alexandre Lision4cf78702013-10-16 13:43:23 -040027 dslv:drag_scroll_start="0.33"
28 dslv:drag_start_mode="onLongPress"
29 dslv:float_alpha="0.6"
Alexandre Lisiond2e9e062013-10-21 16:27:33 -040030 dslv:float_background_color="@color/sfl_action_blue"
Alexandre Lision4cf78702013-10-16 13:43:23 -040031 dslv:remove_enabled="false"
32 dslv:slide_shuffle_speed="0.3" />
33
34 <TextView
35 android:id="@android:id/empty"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
38 android:layout_gravity="center"
39 android:gravity="center"
40 android:text="@string/empty_account_list"
41 android:textSize="40sp" >
42 </TextView>
43
Alexandre Lisiond2e9e062013-10-21 16:27:33 -040044 <TextView
45 android:id="@+id/ip2ip_account"
Alexandre Lision059da9d2013-10-22 11:17:25 -040046 android:layout_width="match_parent"
Alexandre Lisiond2e9e062013-10-21 16:27:33 -040047 android:layout_height="wrap_content"
Alexandre Lision059da9d2013-10-22 11:17:25 -040048 android:background="@color/sfl_another_blue"
Alexandre Lisiond2e9e062013-10-21 16:27:33 -040049 android:singleLine="true"
Alexandre Lision059da9d2013-10-22 11:17:25 -040050 android:text="IP2IP Account"
51 android:textColor="@color/white" />
Alexandre Lisiond2e9e062013-10-21 16:27:33 -040052
53 <RelativeLayout
54 android:id="@+id/layer"
55 android:layout_width="match_parent"
56 android:layout_height="wrap_content"
57 android:padding="4dp" >
58
59 <TextView
60 android:id="@+id/account_alias"
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:layout_alignParentLeft="true"
64 android:layout_alignParentTop="true"
65 android:layout_marginBottom="4dp"
66 android:layout_marginLeft="4dp"
67 android:text="IP2IP"
68 android:textAppearance="?android:attr/textAppearanceLarge" />
69
70 <TextView
71 android:id="@+id/account_host"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
74 android:layout_alignParentLeft="true"
75 android:layout_below="@+id/account_alias"
76 android:layout_marginLeft="4dp"
77 android:text="READY"
78 android:textAppearance="?android:attr/textAppearanceSmall" />
79 </RelativeLayout>
80
Alexandre Lision4cf78702013-10-16 13:43:23 -040081</LinearLayout>