I had the same problem with my 12 yr old rescue Robin. I had new carpet put in my hall , living room and dining room. I use material pantie's and put a thick maxi pads on her pants. I get them at Wallmart. One pad can be cut into pieces. I get my pants for her from a friend of mine Diane Deward. Her website is
Yorkie Fantasy: Small Dog Clothes Shop Her panties are amazing the way they fit and hold in the pad. She sells them for only $9.00 each.
Any questions contact me or Diane.