[Android] ViewのonMeasureとかonLayoutについてまとめてみるAndroidアプリを作るとき、よくCustomLayout, CustomViewを作ります。 しかしなんとなく作りたいものが作れるけど、onMeasureとかonLayoutとかよく分からないまま使っていました。 折角なので、View周りの仕組みについて細かく調べてみた。 参考にしたのは、Google I/O 2013のWriting Custom Views for Android。それとAndroid DevelopersのReferenceから。 まずは本家Googleさんの説明を学んでみたいと思います。 Attachment/Detachement onAttachedToWindowYouTubeの4分前後から始まります。Android Developersはココのページ Referenc
I've got a UITabBar based application that works just fine. Under certain circumstances I am showing a different UIViewController instead though. Now what bugs me is that that I have to adjust the frame for the Test nib (and only the Test nib!) to display correctly. (Otherwise the view is below the status bar). - (void)applicationDidFinishLaunching:(UIApplication *)application { if (condition) { U
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く