Sync asset drop and smoother animation.

Bug: 5233703
Change-Id: I3fa52da71b78dcfa7842047b427c5121d3ac7e68
This commit is contained in:
Jeff Sharkey
2011-08-30 19:59:36 -07:00
parent 9ca0ef5732
commit 7a7ea2bf2f
39 changed files with 136 additions and 71 deletions

View File

@@ -112,16 +112,16 @@ public class AccountPreference extends Preference {
int res;
switch (status) {
case SYNC_ENABLED:
res = R.drawable.ic_sync_green;
res = R.drawable.ic_sync_green_holo;
break;
case SYNC_DISABLED:
res = R.drawable.ic_sync_grey;
res = R.drawable.ic_sync_grey_holo;
break;
case SYNC_ERROR:
res = R.drawable.ic_sync_red;
res = R.drawable.ic_sync_red_holo;
break;
default:
res = R.drawable.ic_sync_red;
res = R.drawable.ic_sync_red_holo;
Log.e(TAG, "Unknown sync status: " + status);
}
return res;