私はいくつかのイメージボタンを持っており、それぞれに対応するテキストビューがあります。これらのテキストビューを対応するイメージビューの中心に揃えたいと思います。アプリの引き出し...アンドロイド - テキストビューを別のビューの中央に揃えます。
!-----!
!icon !
!_____!
app name
これは私がそのようにようLinearLayout
中央の子どもたち、RelativeLayout
<ImageButton
android:id="@+id/blog_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/logo_img"
android:layout_marginLeft="50dp"
android:layout_marginTop="51dp"
android:background="@null"
android:contentDescription="@string/blog_desc"
android:src="@drawable/blog" />
<TextView
android:id="@+id/blog_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/blog_button"
android:layout_below="@+id/blog_button"
android:layout_marginTop="8dp"
android:text="@string/blog_desc" />
のおかげで達成することができる透明にすることができる場合は!どのように私はこれを考えていないのですか? sublayout ...私はまだ学んでいるが、私は今は馬鹿だと感じている.../ – Hairo
Jasonは、今後の参考用に['FrameLayout'](http://developer.android.com/reference/android/widget/ FrameLayout.html)は、通常、複数の子を保持するためには使用しないでください。この場合、 'LinearLayout'が最適な代替となります。 – Eric
とにかく 'FrameLayout'を使うつもりはありませんでしたが、明確化のためにありがとう。 – Hairo