2021-06-20 14:17:18 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-07-18 20:45:57 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2021-06-20 14:17:18 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:context=".devices.qhybrid.HybridHRWatchfaceDesignerActivity">
|
|
|
|
|
|
|
|
<RelativeLayout
|
2021-07-16 11:36:46 +02:00
|
|
|
android:id="@+id/watchface_name_layout"
|
2021-06-20 14:17:18 +02:00
|
|
|
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"
|
2021-07-16 12:12:58 +02:00
|
|
|
android:text="@string/button_watchface_edit_name" />
|
2021-06-20 14:17:18 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
2021-07-16 11:36:46 +02:00
|
|
|
android:id="@+id/watchface_preview_layout"
|
2021-06-20 14:17:18 +02:00
|
|
|
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>
|
|
|
|
|
2021-07-18 20:45:57 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/watchface_widget_delete_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="20dp"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/watchface_widget_delete_droparea"
|
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
app:srcCompat="@drawable/ic_delete_forever" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2021-06-20 14:17:18 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/button_set_background"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-07-16 12:12:58 +02:00
|
|
|
android:text="@string/button_watchface_select_image" />
|
2021-06-20 14:17:18 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/button_add_widget"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-07-16 12:12:58 +02:00
|
|
|
android:text="@string/button_watchface_add_widget" />
|
2021-06-20 14:17:18 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/button_watchface_settings"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-07-16 12:12:58 +02:00
|
|
|
android:text="@string/button_watchface_settings" />
|
2021-06-20 14:17:18 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|