mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-15 11:31:16 +01:00
79 lines
2.6 KiB
XML
79 lines
2.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<ScrollView
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content">
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
tools:context=".devices.qhybrid.HybridHRWatchfaceDesignerActivity">
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/watchface_name"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginStart="10dp"
|
||
|
android:text="NewWatchface"
|
||
|
android:textSize="16sp" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/button_edit_name"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentEnd="true"
|
||
|
android:text="Edit name" />
|
||
|
</RelativeLayout>
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:id="@+id/watchface_preview_image"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:layout_marginBottom="20dp">
|
||
|
<ImageView
|
||
|
android:id="@+id/hybridhr_background_image"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_centerHorizontal="true" />
|
||
|
</RelativeLayout>
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/button_set_background"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="Select background image" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/button_add_widget"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="Add widget" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/button_watchface_settings"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:enabled="false"
|
||
|
android:text="Watchface settings" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/button_preview_watchface"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="Preview on watch" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/button_save_watchface"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="Save and send to watch" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|