feat(ui): add vertical brightness fills, dark mode, and websocket toggle
All checks were successful
Update Wiki Documentation / generate-docs (push) Successful in 2m26s

This commit is contained in:
Krzysztof Cieślik
2026-06-14 17:51:46 +02:00
parent ff8b94feea
commit 948ad4a425
23 changed files with 678 additions and 238 deletions

View File

@@ -7,6 +7,7 @@
android:padding="16dp">
<TextView
android:id="@+id/tvConnectionTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_connection"
@@ -16,6 +17,7 @@
android:textColor="@color/ha_black" />
<View
android:id="@+id/vBorderTitle"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@color/ha_black"
@@ -23,6 +25,7 @@
android:layout_marginBottom="16dp" />
<TextView
android:id="@+id/labelUrl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/label_url"
@@ -43,12 +46,14 @@
android:textSize="16sp" />
<View
android:id="@+id/vBorderUrl"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/ha_black"
android:layout_marginBottom="16dp" />
<TextView
android:id="@+id/labelToken"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/label_token"
@@ -69,12 +74,14 @@
android:textSize="16sp" />
<View
android:id="@+id/vBorderToken"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/ha_black"
android:layout_marginBottom="16dp" />
<TextView
android:id="@+id/labelRefresh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/label_refresh"
@@ -95,10 +102,35 @@
android:textSize="16sp" />
<View
android:id="@+id/vBorderRefresh"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/ha_black"
android:layout_marginBottom="24dp" />
android:layout_marginBottom="16dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginBottom="24dp">
<com.example.retroha.ui.BauhausCheckbox
android:id="@+id/cbWebSocket"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/labelWebSocket"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/label_websocket_enable"
android:typeface="monospace"
android:textSize="12sp"
android:textColor="@color/ha_black"
android:layout_marginLeft="12dp" />
</LinearLayout>
<FrameLayout
android:layout_width="match_parent"