Vectras-VM-Android/app/src/main/res/xml/qemu.xml
Epic Studios a512997f38 v2.3
2024-01-13 05:49:49 +02:00

110 lines
No EOL
4.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:title="QEMU"
app:icon="@drawable/ic_qemu">
<SwitchPreferenceCompat
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue="false"
android:key="customMemory"
android:title="CUSTOM MEMORY"
app:icon="@drawable/round_build_24" />
<EditTextPreference
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue="512"
android:inputType="number"
android:key="memory"
android:selectAllOnFocus="true"
android:singleLine="true"
android:title="MEMORY"
app:useSimpleSummaryProvider="true"
app:icon="@drawable/round_memory_24" />
<EditTextPreference
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue="2048"
android:inputType="number"
android:key="TbSize"
android:selectAllOnFocus="true"
android:singleLine="true"
android:title="TB SIZE (MB)"
app:useSimpleSummaryProvider="true"
app:icon="@drawable/ic_t" />
<SwitchPreferenceCompat
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue="false"
android:key="AVX"
android:title="AVX"
app:icon="@drawable/ic_a" />
<SwitchPreferenceCompat
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue="false"
android:key="MTTCG"
android:title="MTTCG"
app:icon="@drawable/ic_mttcg" />
<ListPreference
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue="1"
android:entries="@array/cpuCoresLabels"
android:entryValues="@array/cpuCoresValues"
android:key="cpuNum"
android:title="CPU CORES"
app:useSimpleSummaryProvider="true"
app:icon="@drawable/round_hub_24" />
<SwitchPreferenceCompat
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue="false"
android:title="VIRTIO HARDDISK"
android:key="virtio"
android:summaryOff="hdd type: ide"
app:summaryOn="hdd type: virtio"
app:icon="@drawable/round_dns_24" />
<EditTextPreference
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue=""
android:inputType="text"
android:key="customParams"
android:selectAllOnFocus="true"
android:singleLine="true"
android:title="CUSTOM PARAMS"
app:useSimpleSummaryProvider="true"
app:icon="@drawable/round_terminal_24" />
</PreferenceCategory>
<PreferenceCategory
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:title="VM UI ENVIRONMENT"
app:iconSpaceReserved="false">
<ListPreference
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue="SDL"
android:entries="@array/vmUiLabels"
android:entryValues="@array/vmUiValues"
android:key="vmUi"
android:title="UI"
app:useSimpleSummaryProvider="true"
app:icon="@drawable/computer"/>
<SwitchPreferenceCompat
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue="true"
android:key="UsbTablet"
android:title="USB TABLET"
app:summaryOn="mouse: usb tablet"
app:summaryOff="mouse: ps2"
app:icon="@drawable/round_mouse_24" />
</PreferenceCategory>
</PreferenceScreen>