Issue 752 + LD display bug (arrows cut off)
This commit is contained in:
parent
d1f8799f47
commit
de21c7da6e
2 changed files with 4 additions and 4 deletions
|
@ -4,8 +4,8 @@
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<ImageView android:id="@+id/poi_icon" android:layout_width="26dp" android:layout_height="26dp"
|
<ImageView android:id="@+id/poi_icon" android:layout_width="26dp" android:layout_height="26dp"
|
||||||
android:paddingLeft="1dp" android:paddingRight="1dp"
|
android:paddingLeft="0dp" android:paddingRight="0dp"
|
||||||
android:paddingTop="1dp" />
|
android:paddingTop="0dp" />
|
||||||
|
|
||||||
<TextView android:id="@+id/poidistance_label"
|
<TextView android:id="@+id/poidistance_label"
|
||||||
android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center"
|
android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center"
|
||||||
|
|
|
@ -855,11 +855,11 @@ public class SearchPOIActivity extends ListActivity implements SensorEventListen
|
||||||
|
|
||||||
public void setOpenedColor(int opened){
|
public void setOpenedColor(int opened){
|
||||||
if(opened == 0){
|
if(opened == 0){
|
||||||
paintRouteDirection.setColor(Color.rgb(100, 0, 255));
|
paintRouteDirection.setColor(Color.rgb(0, 205, 0));
|
||||||
} else if(opened == -1){
|
} else if(opened == -1){
|
||||||
paintRouteDirection.setColor(Color.rgb(150, 150, 150));
|
paintRouteDirection.setColor(Color.rgb(150, 150, 150));
|
||||||
} else {
|
} else {
|
||||||
paintRouteDirection.setColor(Color.rgb(220, 100, 80));
|
paintRouteDirection.setColor(Color.rgb(238, 0, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue