# 2021.07.01(木)③④ ###### tags: `AN25` `授業ノート` * 課題04 BMI計算アプリ2 7/15まで #### アクティビティ * ユーザーインターフェースを持った実行単位 * 通常は1つのウィンドウの中で動作する * 1つのアプリケーションは複数のアクティビティを持つことができる * 全てのアクティビティはandroidmanifest.xmlに記述しなければならない <div style="position: absolute; top: 440px; left: 80px; border: 2px solid #ffa500; width: 250px; height: 200px;"> <span style="position: absolute; top: -30px; color: #ffa500;">アクティビティ</span></div> <div style="position: absolute; top: 440px; left: 350px; border: 2px solid #ffa500; width: 250px; height: 200px;"> <span style="position: absolute; top: -30px; right: 0px; color: #ffa500;">アクティビティ</span></div> ```graphviz digraph hierarchy { nodesep=1.0 // increases the separation between nodes node [color=Gray,fontname=Courier,shape=box] //All nodes will this shape and colour edge [color=Gray, style=dashed] //All the lines look like this AndroidManifestXml->{MainActivityJava ResultJava} MainActivityJava->{activity_mainXml} ResultJava->{resultXml} } ``` #### Intent * アクティブ化するアクティビティを入れ替える * リクエストする動作を指示し、データを送信する ## 雑談 (0→やまぴ 1→みや 2→やすい 3→りょうくん 4→アミカ 5→やの) 3.あの図書いて 4.すご… すごてん そんな融通効かない わかるわ >https://hackmd.io/s/features-jp#Graphviz >https://www.tonyballantyne.com/graphs.html <span style="color: #ff3333">aaa</span> <span style="text-decoration: underline">aaa</span>