haunt / files / app / src / main / res / layout / item_debug_point.xml
item_debug_point.xml
b3ba2f30 2026-05-13 Pavel Safronov | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | android:layout_width="match_parent" | |
| 4 | android:layout_height="wrap_content" | |
| 5 | android:orientation="horizontal" | |
| 6 | android:gravity="center_vertical" | |
| 7 | android:paddingHorizontal="12dp" | |
54ee6e7f 2026-05-13 Pavel Safronov | 8 | android:paddingVertical="4dp"> |
b3ba2f30 2026-05-13 Pavel Safronov | 9 | |
9fa3d115 2026-05-13 Pavel Safronov | 10 | <ImageView |
b3ba2f30 2026-05-13 Pavel Safronov | 11 | android:id="@+id/colorSwatch" |
9fa3d115 2026-05-13 Pavel Safronov | 12 | android:layout_width="28dp" |
| 13 | android:layout_height="28dp" | |
| 14 | android:layout_marginEnd="10dp" | |
| 15 | android:padding="2dp" | |
| 16 | android:scaleType="fitCenter" | |
| 17 | android:contentDescription="Point type icon" /> | |
b3ba2f30 2026-05-13 Pavel Safronov | 18 | |
54ee6e7f 2026-05-13 Pavel Safronov | 19 | <LinearLayout |
b3ba2f30 2026-05-13 Pavel Safronov | 20 | android:layout_width="0dp" |
| 21 | android:layout_height="wrap_content" | |
| 22 | android:layout_weight="1" | |
54ee6e7f 2026-05-13 Pavel Safronov | 23 | android:orientation="vertical"> |
| 24 | ||
| 25 | <EditText | |
| 26 | android:id="@+id/nameEdit" | |
| 27 | android:layout_width="match_parent" | |
| 28 | android:layout_height="wrap_content" | |
| 29 | android:background="@null" | |
| 30 | android:singleLine="true" | |
| 31 | android:textSize="15sp" | |
| 32 | android:imeOptions="actionDone" /> | |
| 33 | ||
| 34 | <TextView | |
| 35 | android:id="@+id/xyText" | |
| 36 | android:layout_width="match_parent" | |
| 37 | android:layout_height="wrap_content" | |
| 38 | android:fontFamily="monospace" | |
| 39 | android:textSize="11sp" | |
| 40 | android:textColor="#888888" /> | |
| 41 | ||
| 42 | </LinearLayout> | |
b3ba2f30 2026-05-13 Pavel Safronov | 43 | |
| 44 | <ImageButton | |
| 45 | android:id="@+id/deleteButton" | |
| 46 | android:layout_width="36dp" | |
| 47 | android:layout_height="36dp" | |
| 48 | android:background="?attr/selectableItemBackgroundBorderless" | |
| 49 | android:src="@android:drawable/ic_menu_delete" | |
| 50 | android:contentDescription="Delete point" /> | |
| 51 | ||
| 52 | </LinearLayout> |