nativescript-akylas-preferences
Version:
Common API to allow users to use native (familiar) app settings screens instead of having to craft custom UIs
14 lines • 545 B
text/xml
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="Grouping">
<EditTextPreference
android:key="name_preference"
android:title="Name"
android:defaultValue="" />
<SwitchPreference
android:key="enabled_preference"
android:title="Enabled"
android:summary="Blah blah"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>