You can't just let your dog out and expect them to automatically pee, especially if they're accustomed to peeing inside.
Going out, specifically to pee or poo, especially if you know they're due, should be a trained duty. Meaning, no loose leash, walking about, sniffing stuff, la-dee-dahh, take 1/2 an hour til you're ready, type behavior. I mean, it might take 1/2hr the first few times but they should be fully aware that they're out there to do a job. You should be able to put them in a "work" mentality and as soon as they're physically able, they should go.
Obviously,
should and
will are 2 totally different things, lol. It's going to take time. Just be patient and firm and remember, in training, someone always wins. You cleaning the bathroom floor is an indicator of who's up
Oh yeah, and close the damn bathroom door.
GL