안녕하세요.

 

정렬을 그림처럼 하고 싶습니다.

 

책이랑 찾아봐도 소스가 맞는것 같은데 쉽지 않아서요......

 

 <RelativeLayout android:layout_width="fill_parent"
  android:layout_height="70px" android:background="@color/color_pink"
  android:layout_weight="0" android:gravity="center_vertical|center_horizontal">

  <TextView android:id="@+id/date_read_head_title"
   android:layout_width="fill_parent" android:text="@string/main_title"
   android:layout_weight="0" android:layout_height="70px"
   android:background="@color/color_pink" android:textColor="@color/color_white"
   android:textSize="@dimen/dimens_navigation_title"
   android:layout_centerHorizontal="true" />
  <ImageButton android:id="@+id/date_read_btn_top_boardwrite"
   android:background="@null" android:src="@drawable/btn_top_board_write"
   android:layout_width="75px" android:layout_height="41px"
   android:layout_alignParentRight="true" android:layout_marginRight="7dp" />
 </RelativeLayout>

 

질문.gif

 

질문2.gif

 

좋은하루 되시구요, 답변 부탁 드리겠습니다.