0
내가 바로 아래의 이미지에서 회색 텍스트 정렬 할
: I 값 오른쪽 아무것도 모두 layout_gravity 중력을 시도안드로이드 사용자 지정 목록보기 어댑터, 캔트 이동 텍스트 바로
그것을 이동 .
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/breweryName"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="Large Text"
android:textAppearance="?android:attr/textAppearanceLarge" />
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>
<RatingBar android:id="@+id/starbar"
style="?android:attr/ratingBarStyleSmall"
android:layout_marginLeft="5dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical" />
<TextView
android:id="@+id/breweryRate"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="Large Text"
android:layout_gravity="right"
android:textColor="#C7C3C4"
/>
</LinearLayout>
</LinearLayout>