mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-05-02 00:00:25 +00:00
110 lines
No EOL
4.4 KiB
XML
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> |