2014-11-07から1日間の記事一覧
ActivityのonCreateに記述してサイズを取得する方法はぐぐると結構見つかったのですが、 それ以外でサイズを取得する方法が見つからなかったので書いておきます。 public class GraphicView extends View { Context context; int width; int height; public …
ActivityのonCreateに記述してサイズを取得する方法はぐぐると結構見つかったのですが、 それ以外でサイズを取得する方法が見つからなかったので書いておきます。 public class GraphicView extends View { Context context; int width; int height; public …