Fix the issue with pop up window spinner
@ -235,7 +235,8 @@ public class SettingsFragment extends Fragment {
LayoutInflater inflater =
(LayoutInflater)
getActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View layout = inflater.inflate(R.layout.pop_up_window, null);
View layout = inflater.inflate(R.layout.pop_up_window,
(ViewGroup) getActivity().findViewById(R.id.pop));
// Find UI elements in pop up window
final Spinner residualSpinner = layout.findViewById(R.id.residual_spinner);
@ -26,7 +26,8 @@
android:layout_height="wrap_content"
android:gravity="end"
android:id="@+id/residual_spinner"
android:entries="@array/residual_options">
android:entries="@array/residual_options"
android:spinnerMode="dialog">
</Spinner>
</LinearLayout>
<EditText