mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-16 11:16:12 -04:00
Improve device profile creation UI and fix navigation bar overlaps
- Fix navigation bar overlap issues in profile creation and list screens - Add proper edge-to-edge handling with dynamic padding for navigation bars - Improve paired device selection with "None" option and clear functionality - Add localized error messages for key validation with proper placeholders - Centralize default signal quality value in DeviceProfile companion object - Add unsaved changes detection and confirmation dialogs - Enhance drag handle touch target size with FrameLayout wrapper - Restore device address in profile editing and improve change tracking - Localize all user-facing strings following project guidelines
This commit is contained in:
@@ -14,42 +14,6 @@
|
||||
android:summary="@string/settings_scanner_mode_description"
|
||||
android:title="@string/settings_scanner_mode_label" />
|
||||
|
||||
<PreferenceCategory android:title="@string/settings_category_yourdevice_label">
|
||||
|
||||
<eu.darken.capod.common.preferences.PercentSliderPreference
|
||||
android:icon="@drawable/ic_baseline_signal_cellular_alt_24"
|
||||
android:key="core.signal.minimum"
|
||||
android:summary="@string/settings_signal_minimum_description"
|
||||
android:title="@string/settings_signal_minimum_label"
|
||||
app:pspMax="0.9"
|
||||
app:pspMin="0.1" />
|
||||
|
||||
<Preference
|
||||
android:icon="@drawable/ic_baseline_bluetooth_searching_24"
|
||||
android:key="core.maindevice.address"
|
||||
android:summary="@string/settings_maindevice_address_description"
|
||||
android:title="@string/settings_maindevice_address_label" />
|
||||
|
||||
<Preference
|
||||
android:icon="@drawable/devic_headphones_generic"
|
||||
android:key="core.maindevice.model"
|
||||
android:summary="@string/settings_maindevice_model_description"
|
||||
android:title="@string/settings_maindevice_model_label" />
|
||||
|
||||
<Preference
|
||||
android:icon="@drawable/ic_key_outline_24"
|
||||
android:key="core.maindevice.identitykey"
|
||||
android:summary="@string/settings_maindevice_identitykey_description"
|
||||
android:title="@string/settings_maindevice_identitykey_label" />
|
||||
|
||||
<Preference
|
||||
android:icon="@drawable/ic_key_24"
|
||||
android:key="core.maindevice.encryptionkey"
|
||||
app:enabled="false"
|
||||
android:summary="@string/settings_maindevice_encryptionkey_description"
|
||||
android:title="@string/settings_maindevice_encryptionkey_label" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:singleLineTitle="false"
|
||||
android:summary="@string/settings_category_compatibility_options_description"
|
||||
|
||||
Reference in New Issue
Block a user