diff --git a/src/org/kde/kdeconnect/UserInterface/PairingFragment.java b/src/org/kde/kdeconnect/UserInterface/PairingFragment.java index fb0f5632..6881cc1b 100644 --- a/src/org/kde/kdeconnect/UserInterface/PairingFragment.java +++ b/src/org/kde/kdeconnect/UserInterface/PairingFragment.java @@ -24,6 +24,7 @@ import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.annotation.Nullable; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; import androidx.fragment.app.Fragment; @@ -110,6 +111,15 @@ public class PairingFragment extends Fragment implements PairingDeviceItem.Callb return devicesListBinding.getRoot(); } + @Override + public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { + super.onViewCreated(view, savedInstanceState); + + // Configure focus order for Accessibility, for touchpads, and for TV remotes + // (allow focus of items in the device list) + devicesListBinding.devicesList.setItemsCanFocus(true); + } + @Override public void onDestroyView() { super.onDestroyView();