2015-06-19 22:02:10 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2015-11-19 10:21:19 -08:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:fab="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:orientation="vertical">
|
2015-06-19 22:02:10 -07:00
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/progress_container"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone" >
|
|
|
|
|
|
|
|
<ProgressBar android:id="@+id/progress"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" >
|
|
|
|
</ProgressBar>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/empty"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center|center_vertical"
|
|
|
|
android:gravity="center|center_vertical"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:visibility="gone"
|
2015-11-19 10:21:19 -08:00
|
|
|
android:text="@string/device_list_fragment__no_devices_linked"
|
|
|
|
android:paddingLeft="16dip"
|
|
|
|
android:paddingRight="16dip"
|
|
|
|
android:layout_weight="1"
|
|
|
|
tools:visibility="visible"/>
|
2015-06-19 22:02:10 -07:00
|
|
|
|
|
|
|
<ListView android:id="@id/android:list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
2015-11-19 10:21:19 -08:00
|
|
|
android:drawSelectorOnTop="false"
|
|
|
|
android:paddingLeft="16dip"
|
|
|
|
android:paddingRight="16dip"
|
|
|
|
tools:visibility="gone"/>
|
2015-06-19 22:02:10 -07:00
|
|
|
|
2015-11-19 10:21:19 -08:00
|
|
|
<com.melnykov.fab.FloatingActionButton
|
|
|
|
android:id="@+id/add_device"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|right"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:src="@drawable/ic_add_white_original_24dp"
|
|
|
|
android:focusable="true"
|
|
|
|
android:contentDescription="@string/device_list_fragment__link_new_device"
|
|
|
|
fab:fab_colorNormal="?fab_color"
|
|
|
|
fab:fab_colorPressed="@color/textsecure_primary_dark"
|
|
|
|
fab:fab_colorRipple="@color/textsecure_primary_dark" />
|
2015-06-19 22:02:10 -07:00
|
|
|
|
|
|
|
</LinearLayout>
|