<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="850">
<RelativeLayout
android:id="@+id/a_bus_info_lay"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<ImageView
android:id="@+id/bt_state"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:background="@drawable/bt_indicator" />
<TextView
android:id="@+id/bluetooth_state"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignBottom="@id/bt_state"
android:layout_alignLeft="@id/bt_state"
android:layout_alignRight="@id/bt_state"
android:layout_alignTop="@id/bt_state"
android:gravity="center"
android:textColor="#000000"
android:textStyle="bold"
android:background="#ffffff" />
</RelativeLayout>
</LinearLayout>
현재 이미지뷰위에 text를 띄울려고 하는데
이미지는 안뜨고 텍스트만 출력이 됩니다.....
이미지는 블루투스 연결상태에 따라 배경이 변경되도록 했습니다...