I have use follow code get localDisplayMetrics .
DisplayMetrics localDisplayMetrics = new DisplayMetrics();
((WindowManager) getSystemService("window")).getDefaultDisplay()
.getMetrics(localDisplayMetrics);
I want to get localDisplayMetrics.noncompatWidthPixels
.Can I get it via reflection?
Aucun commentaire:
Enregistrer un commentaire