1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-04 16:02:55 +01:00
Gadgetbridge/app/src/main/res/layout/qhybrid_activity_widget_settings.xml
2020-01-19 04:01:57 +01:00

73 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".devices.qhybrid.WidgetSettingsActivity">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:weightSum="1">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="widget name" />
<EditText
android:id="@+id/qhybrid_widget_name"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="elements" />
<ListView
android:id="@+id/qhybrid_widget_elements_list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="0.4" />
<Button
android:id="@+id/qhybrid_widget_elements_add"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="add element" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:weightSum="1">
<Button
android:id="@+id/qhybrid_widget_delete"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="delete"
android:layout_weight="0.5" />
<Button
android:id="@+id/qhybrid_widget_save"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="save"
android:layout_weight="0.5" />
</LinearLayout>
</RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>