mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-12 18:11:57 +01:00
b43e96318a
Should factor out some common code between ChartsActivity and ControlCenter, though.
37 lines
1.5 KiB
XML
37 lines
1.5 KiB
XML
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
|
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.ControlCenter">
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
android:id="@+id/controlcenter_swipe_layout"
|
|
android:paddingLeft="0px"
|
|
android:paddingRight="0px"
|
|
android:paddingTop="0px"
|
|
android:paddingBottom="0px"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ListView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/deviceListView"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_above="@+id/hintTextView" />
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:id="@+id/hintTextView"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:textStyle="italic" />
|
|
|
|
</RelativeLayout>
|