project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m
branchios-revival
changeset 11218 08f20ffa5801
parent 11206 2e80c9861818
child 11220 32366eb83383
--- a/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m	Mon Oct 19 03:39:47 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m	Tue Oct 20 00:51:45 2015 +0200
@@ -148,6 +148,12 @@
     cell.detailTextLabel.numberOfLines = ([cell.detailTextLabel.text length] % 40);
     cell.detailTextLabel.baselineAdjustment = UIBaselineAdjustmentAlignCenters;
 
+    UIView *bgColorView = [[UIView alloc] init];
+    bgColorView.backgroundColor = [UIColor colorWithRed:(85.0/255.0) green:(15.0/255.0) blue:(106.0/255.0) alpha:1.0];
+    bgColorView.layer.masksToBounds = YES;
+    cell.selectedBackgroundView = bgColorView;
+    [bgColorView release];
+    
     cell.backgroundColor = [UIColor blackColorTransparent];
     return cell;
 }