1
0
Fork 0

Fix for Android 1.5 devices

This commit is contained in:
Carlos Mogas da Silva 2010-06-28 00:13:27 +01:00
parent cef1b4d481
commit 23dcbd605a
24 changed files with 14 additions and 2 deletions

BIN
res/drawable/arrow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

BIN
res/drawable/copy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
res/drawable/droid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/drawable/gps.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

4
res/drawable/gps_fix.xml Normal file
View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:maxLevel="0" android:drawable="@drawable/gps_fix1"/>
</level-list>

BIN
res/drawable/gps_fix1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

BIN
res/drawable/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

BIN
res/drawable/icon_call.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

BIN
res/drawable/icon_car.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:maxLevel="0" android:drawable="@drawable/network_fix1"/>
<item android:maxLevel="1" android:drawable="@drawable/network_fix2"/>
<item android:maxLevel="2" android:drawable="@drawable/network_fix3"/>
<item android:maxLevel="3" android:drawable="@drawable/network_fix2"/>
</level-list>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

BIN
res/drawable/pin_off.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
res/drawable/pin_on.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
res/drawable/refresh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
res/drawable/status_off.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
res/drawable/status_on.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -104,8 +104,9 @@ public class GeoUtils {
} }
String result = ""; String result = "";
for (int i = 0; i <= addresses.get(0).getMaxAddressLineIndex(); i++) if (addresses != null && addresses.size() > 0)
result += addresses.get(0).getAddressLine(i) + ", "; for (int i = 0; i <= addresses.get(0).getMaxAddressLineIndex(); i++)
result += addresses.get(0).getAddressLine(i) + ", ";
if (result.equals("")) if (result.equals(""))
b.putString("location", context.getString(R.string.not_available)); b.putString("location", context.getString(R.string.not_available));