2021-07-11 22:14:45 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Type:" />
|
|
|
|
|
2021-07-14 22:40:02 +02:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/watchface_widget_type_spinner"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
2021-07-11 22:14:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="X coordinate (max 240):" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/watchface_widget_pos_x"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="number"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Y coordinate (max 240):" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/watchface_widget_pos_y"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="number"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Position presets:" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<Button
|
|
|
|
android:id="@+id/watchface_widget_preset_top"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Top"/>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/watchface_widget_preset_bottom"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Bottom"/>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/watchface_widget_preset_left"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Left"/>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/watchface_widget_preset_right"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Right"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|