This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * | |
| * {@inheritDoc} | |
| */ | |
| protected void onSizeChanged(int w, int h, int oldw, int oldh) { | |
| super.onSizeChanged(w, h, oldw, oldh); | |
| //Toutes les valeur sont en pixel, donc assure toi de les convertir en dp | |
| //pour ne pas avoir de mauvaise surprise sur differents appareils | |
| final int startX = 20; |