<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
		<id>https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=Android%2F%E3%83%AC%E3%82%A4%E3%82%A2%E3%82%A6%E3%83%88%2Fview%E5%B9%85%E5%8F%96%E5%BE%97</id>
		<title>Android/レイアウト/view幅取得 - 変更履歴</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=Android%2F%E3%83%AC%E3%82%A4%E3%82%A2%E3%82%A6%E3%83%88%2Fview%E5%B9%85%E5%8F%96%E5%BE%97"/>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Android/%E3%83%AC%E3%82%A4%E3%82%A2%E3%82%A6%E3%83%88/view%E5%B9%85%E5%8F%96%E5%BE%97&amp;action=history"/>
		<updated>2026-04-18T22:00:45Z</updated>
		<subtitle>このウィキのこのページに関する変更履歴</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Android/%E3%83%AC%E3%82%A4%E3%82%A2%E3%82%A6%E3%83%88/view%E5%B9%85%E5%8F%96%E5%BE%97&amp;diff=7117&amp;oldid=prev</id>
		<title>Admin: Admin がページ「Android/VideoView/view幅取得」を「Android/レイアウト/view幅取得」に、リダイレクトを残さずに移動しました</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Android/%E3%83%AC%E3%82%A4%E3%82%A2%E3%82%A6%E3%83%88/view%E5%B9%85%E5%8F%96%E5%BE%97&amp;diff=7117&amp;oldid=prev"/>
				<updated>2018-11-12T09:32:47Z</updated>
		
		<summary type="html">&lt;p&gt;Admin がページ「&lt;a href=&quot;/index.php?title=Android/VideoView/view%E5%B9%85%E5%8F%96%E5%BE%97&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Android/VideoView/view幅取得 (存在しないページ)&quot;&gt;Android/VideoView/view幅取得&lt;/a&gt;」を「&lt;a href=&quot;/index.php/Android/%E3%83%AC%E3%82%A4%E3%82%A2%E3%82%A6%E3%83%88/view%E5%B9%85%E5%8F%96%E5%BE%97&quot; title=&quot;Android/レイアウト/view幅取得&quot;&gt;Android/レイアウト/view幅取得&lt;/a&gt;」に、リダイレクトを残さずに移動しました&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←前の版&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2018年11月12日 (月) 09:32時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Android/%E3%83%AC%E3%82%A4%E3%82%A2%E3%82%A6%E3%83%88/view%E5%B9%85%E5%8F%96%E5%BE%97&amp;diff=7116&amp;oldid=prev</id>
		<title>Admin: ページの作成:「 private videoView;  protected void onCreate(Bundle savedInstanceState) {      videoView = findViewById(R.id.videoView);  }  @Override  public void onWindowFocusChanged(b...」</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Android/%E3%83%AC%E3%82%A4%E3%82%A2%E3%82%A6%E3%83%88/view%E5%B9%85%E5%8F%96%E5%BE%97&amp;diff=7116&amp;oldid=prev"/>
				<updated>2018-11-12T09:32:36Z</updated>
		
		<summary type="html">&lt;p&gt;ページの作成:「 private videoView;  protected void onCreate(Bundle savedInstanceState) {      videoView = findViewById(R.id.videoView);  }  @Override  public void onWindowFocusChanged(b...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt; private videoView;&lt;br /&gt;
 protected void onCreate(Bundle savedInstanceState) {&lt;br /&gt;
     videoView = findViewById(R.id.videoView);&lt;br /&gt;
 }&lt;br /&gt;
 @Override&lt;br /&gt;
 public void onWindowFocusChanged(boolean hasFocus) {&lt;br /&gt;
     super.onWindowFocusChanged(hasFocus);&lt;br /&gt;
     int width = findViewById(R.id.videoView).getWidth();&lt;br /&gt;
     Log.i(&amp;quot;testtest&amp;quot;, &amp;quot;onWindowFocusChanged videoView.width=&amp;quot; + width);&lt;br /&gt;
 }&lt;br /&gt;
レイアウトのviewの幅を取得するにはonWindowFocusChanged()が実行された後にview.getWidth()をすると値が入ってる&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>