<LinearLayout
android:layout_width="match_parent"
android:layout_height="300dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:textColor="#ff000000"
android:textSize="35dp"
android:text="지급소 이름"
android:textStyle="bold" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/address"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="지급소 주소 내용"
android:textSize="25dp"
android:textColor="#ff000000"
android:textStyle="bold" />
</LinearLayout>
<TextView
android:id="@+id/rest"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="남은 재고량"
android:textSize="25dp"
android:textColor="#ff000000" />
</LinearLayout>
@Override
public boolean onMarkerClick(Marker marker) {
//Toast.makeText(this, marker.getTitle() + "\n" + marker.getPosition(), Toast.LENGTH_SHORT).show();
return false;
}
구글맵으로 위치정보를 표현해주는 어플을 만들고 있습니다.
지도에 표시된 마커를 클릭하면 액티비티에 있는 텍스트뷰의 내용을 변경하고 싶은데 어떻게 해야할까요?
텍스트뷰는 총 3개입니다.
참고할만한 사이트가 있으면 부탁드립니다.