new printer integration!

This commit is contained in:
OnlyPapy98
2025-11-28 16:35:53 +01:00
parent 1031307b3a
commit 87a3e952aa
49 changed files with 7088 additions and 301 deletions

View File

@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorWhite"
android:orientation="vertical"
tools:context=".ui.ChoosePrinterActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="20dp"
android:text="Choose Printer"
android:textSize="16sp"
android:textStyle="bold" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_device_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="14dp"
android:paddingEnd="14dp"
tools:listitem="@layout/device_item" />
<Button
android:id="@+id/btn_test_printer"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_margin="20dp"
android:backgroundTint="@color/colorGray5"
android:gravity="center"
android:text="Test"
android:textColor="@android:color/white"
android:textSize="14sp" />
<Button
android:id="@+id/btn_save_printer"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="20dp"
android:backgroundTint="@color/colorGray5"
android:gravity="center"
android:text="Save"
android:textColor="@android:color/white"
android:textSize="14sp" />
</LinearLayout>
</ScrollView>