forked from organicmaps/organicmaps
[android] Temporarily removed facilities icons for Booking from PP
This commit is contained in:
parent
3cef415b3f
commit
b472fb45c7
2 changed files with 7 additions and 6 deletions
|
@ -10,10 +10,10 @@
|
|||
android:clickable="true"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<!-- <ImageView
|
||||
android:id="@+id/iv__icon"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
android:src="@drawable/ic_entrance"/>
|
||||
android:src="@drawable/ic_entrance"/>-->
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__facility"
|
||||
|
|
|
@ -79,12 +79,13 @@ class FacilitiesAdapter extends BaseAdapter
|
|||
|
||||
private static class ViewHolder implements View.OnClickListener
|
||||
{
|
||||
ImageView mIcon;
|
||||
// ImageView mIcon;
|
||||
TextView mName;
|
||||
|
||||
public ViewHolder(View view)
|
||||
{
|
||||
mIcon = (ImageView) view.findViewById(R.id.iv__icon);
|
||||
// TODO we need icons from designer
|
||||
// mIcon = (ImageView) view.findViewById(R.id.iv__icon);
|
||||
mName = (TextView) view.findViewById(R.id.tv__facility);
|
||||
view.setOnClickListener(this);
|
||||
}
|
||||
|
@ -97,8 +98,8 @@ class FacilitiesAdapter extends BaseAdapter
|
|||
|
||||
public void bind(Sponsored.FacilityType facility)
|
||||
{
|
||||
// TODO map facility key to image resource id
|
||||
mIcon.setImageResource(R.drawable.ic_entrance);
|
||||
// TODO map facility key to image resource id
|
||||
// mIcon.setImageResource(R.drawable.ic_entrance);
|
||||
mName.setText(facility.getName());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue