2015-01-07 14:00:18 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-04-10 00:13:25 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2016-04-09 05:41:31 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2016-04-10 00:13:25 +02:00
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
2016-04-09 05:41:31 +02:00
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
2015-01-07 14:00:18 +01:00
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
2015-08-03 23:09:49 +02:00
|
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.ControlCenter">
|
2015-01-07 14:00:18 +01:00
|
|
|
|
2016-04-09 07:41:58 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/no_items_bg"
|
|
|
|
android:layout_width="wrap_content"
|
2016-04-10 00:13:25 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:src="@drawable/gadgetbridge_img" />
|
2016-04-09 07:41:58 +02:00
|
|
|
|
2015-10-18 01:39:25 +02:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/controlcenter_swipe_layout"
|
2016-04-10 00:13:25 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingBottom="0px"
|
2015-10-18 01:39:25 +02:00
|
|
|
android:paddingLeft="0px"
|
|
|
|
android:paddingRight="0px"
|
2016-04-10 00:13:25 +02:00
|
|
|
android:paddingTop="0px">
|
2015-10-18 01:39:25 +02:00
|
|
|
|
2015-03-21 18:18:07 +01:00
|
|
|
<ListView
|
2016-04-10 00:13:25 +02:00
|
|
|
android:id="@+id/deviceListView"
|
2015-01-12 00:35:15 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-04-10 00:13:25 +02:00
|
|
|
android:layout_above="@+id/hintTextView"
|
2015-03-21 18:18:07 +01:00
|
|
|
android:layout_alignParentTop="true"
|
2016-04-10 00:13:25 +02:00
|
|
|
android:layout_centerHorizontal="true" />
|
2015-10-18 01:39:25 +02:00
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2015-03-27 12:33:51 +01:00
|
|
|
|
2016-04-09 05:41:31 +02:00
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_gravity="bottom|end"
|
2016-04-23 23:31:19 +02:00
|
|
|
android:src="@drawable/ic_add_white"
|
2016-04-09 05:41:31 +02:00
|
|
|
app:elevation="6dp"
|
2016-04-10 21:36:32 +02:00
|
|
|
app:pressedTranslationZ="12dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_marginRight="10dp" />
|
2016-04-09 05:41:31 +02:00
|
|
|
|
2016-04-10 00:13:25 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/hintTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_above="@id/fab"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2016-04-10 21:36:32 +02:00
|
|
|
android:textColor="@color/secondarytext"
|
2016-04-10 00:13:25 +02:00
|
|
|
android:textStyle="italic"
|
|
|
|
android:text="@string/tap_connected_device_for_app_mananger" />
|
|
|
|
|
|
|
|
|
2015-01-07 14:00:18 +01:00
|
|
|
</RelativeLayout>
|