It is not clear what you are looking for through XRD and UV. However, you can use scherrer formula on XRD data to determine grain size. You can plot absorption coefficient vs photon energy of UV data, the intercept at on energy axis gives the bandgap. Also, you can fit the data to the absorption formula to find the exponent: value of 0.5 is direct transition, any other value indicates indirect transition and contributions from other mechanisms like phonon etc; further analyses will pin which it is, but phonon is often the culprit.