Skip to content

Instantly share code, notes, and snippets.

@Kozlov-V
Created April 21, 2013 16:15
Show Gist options
  • Save Kozlov-V/5430131 to your computer and use it in GitHub Desktop.
Save Kozlov-V/5430131 to your computer and use it in GitHub Desktop.
Android layout, так, например, можно получить размеры
Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
Log.v("Log", "" + findViewById(R.id.qqq).getWidth());
}
}, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment