Adrien BĂ©raud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame^] | 1 | <?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/cx.ring" |
| 4 | android:layout_width="match_parent" |
| 5 | android:layout_height="match_parent" |
| 6 | android:orientation="vertical" > |
| 7 | |
| 8 | <TextView |
| 9 | android:id="@+id/normal_account_list" |
| 10 | android:layout_width="match_parent" |
| 11 | android:layout_height="wrap_content" |
| 12 | android:background="@color/sfl_another_blue" |
| 13 | android:paddingLeft="5dp" |
| 14 | android:singleLine="true" |
| 15 | android:text="@string/preference_section1" |
| 16 | android:textAppearance="@android:style/TextAppearance.Holo.Medium.Inverse" |
| 17 | android:textColor="@color/white" /> |
| 18 | |
| 19 | <RelativeLayout |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="wrap_content" > |
| 22 | |
| 23 | <cx.ring.views.dragsortlv.DragSortListView |
| 24 | android:id="@+id/accounts_list" |
| 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="wrap_content" |
| 27 | android:background="@color/white" |
| 28 | android:choiceMode="multipleChoice" |
| 29 | android:dividerHeight="1px" |
| 30 | android:visibility="gone" |
| 31 | dslv:collapsed_height="1px" |
| 32 | dslv:drag_enabled="true" |
| 33 | dslv:drag_handle_id="@id/drag_handle" |
| 34 | dslv:drag_scroll_start="0.33" |
| 35 | dslv:drag_start_mode="onDown" |
| 36 | dslv:float_alpha="0.6" |
| 37 | dslv:float_background_color="@color/sfl_action_blue" |
| 38 | dslv:remove_enabled="false" |
| 39 | dslv:slide_shuffle_speed="0.3" /> |
| 40 | |
| 41 | <ProgressBar |
| 42 | android:id="@+id/loading_spinner" |
| 43 | style="?android:progressBarStyle" |
| 44 | android:layout_width="wrap_content" |
| 45 | android:layout_height="wrap_content" |
| 46 | android:layout_margin="15dp" |
| 47 | android:layout_centerInParent="true" |
| 48 | android:layout_gravity="center" /> |
| 49 | |
| 50 | <TextView |
| 51 | android:id="@+id/empty_account_list" |
| 52 | android:layout_width="wrap_content" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:layout_centerInParent="true" |
| 55 | android:layout_gravity="center" |
| 56 | android:gravity="center" |
| 57 | android:text="@string/empty_account_list" |
| 58 | android:textSize="40sp" |
| 59 | android:visibility="gone" > |
| 60 | </TextView> |
| 61 | </RelativeLayout> |
| 62 | |
| 63 | <TextView |
| 64 | android:id="@+id/ip2ip_account" |
| 65 | android:layout_width="match_parent" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:background="@color/sfl_another_blue" |
| 68 | android:paddingLeft="5dp" |
| 69 | android:singleLine="true" |
| 70 | android:text="@string/ip2ip_account" |
| 71 | android:textAppearance="@android:style/TextAppearance.Holo.Medium.Inverse" |
| 72 | android:textColor="@color/white" /> |
| 73 | |
| 74 | <ListView |
| 75 | android:id="@+id/ip2ip" |
| 76 | android:layout_width="match_parent" |
| 77 | android:layout_height="wrap_content" |
| 78 | android:background="@color/white" /> |
| 79 | |
| 80 | </LinearLayout> |