左と右に2つの画像を表示し、それらの間に左の画像と少し離れたところにテキストビューを入れたいが、 。他の子供の間でもっとも左と真ん中に子供を揃えるのが難しい
<LinearLayout
android:layout_width="match_parent"
android:layout_height="70dp"
android:orientation="horizontal">
<ImageView
android:id="@+id/image_of_services"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:src="@drawable/ic_menu_camera" />
<TextView
android:id="@+id/name_of_services"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="30dp"
android:text="adasdsad"
android:layout_weight="8"
android:textSize="20sp" />
<ImageView
android:id="@+id/image_arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:layout_weight="2"
android:src="@drawable/ic_menu_camera" />
</LinearLayout>
を必要に応じて、それはあなたの実際の必要性だったか完全に働きましたか? – g7pro