design not visible in android studio code example
Example 1: layout preview not showing android studio
Try File > invalidate cache / restart. if dosent work check next one
Example 2: layout preview not showing android studio
Try Rebuilding project