0

Androidプログラミングは初めてなので、これがどのように機能するのかわかりません。たとえば、すべての myButtonsTextViewsが属性を持つことになっているandroid:layout_marginTop="10dip"場合、すべての単一コンポーネントに対して定義するよりも簡単な方法でこれを行うにはどうすればよいですか。

<Button
android:id="..."
...
android:layout_marginTop="10dip">

<TextView
android:id="..."
...
android:layout_marginTop="10dip">

<TextView
android:id="..."
...
android:layout_marginTop="10dip">

...

で使用できるさまざまなタグのドキュメントはどこにありますmain.xmlか? 助けてくれてありがとう!

4

0 に答える 0