Yes, it looks to me that you have walked or sit in a awkward position and developed hip synovitis
. I would recommend you to take rest, take hot water fomentation and pain killers like Brufen
. i hope this pain subside. If it is not improved on 7 days then i would like to suggest you blood investigations like ESR
, CRP and WBC
. These test will confirm if there is any infection in your hip joint.