Commit a1e80a80 authored by Pierre SAGASPE's avatar Pierre SAGASPE

replace the light gray by VLCDarkBackgroundColor background color in bounce...

replace the light gray by VLCDarkBackgroundColor background color in bounce area of UITableView. when search bar is enable.
parent 38d41736
......@@ -112,6 +112,11 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
if(!_tableView) {
_tableView = [[UITableView alloc] initWithFrame:viewDimensions style:UITableViewStylePlain];
_tableView.backgroundColor = [UIColor VLCDarkBackgroundColor];
CGRect frame = _tableView.bounds;
frame.origin.y = -frame.size.height;
UIView *topView = [[UIView alloc] initWithFrame:frame];
topView.backgroundColor = [UIColor VLCDarkBackgroundColor];
[_tableView addSubview:topView];
_tableView.rowHeight = [VLCPlaylistTableViewCell heightOfCell];
_tableView.separatorColor = [UIColor VLCDarkBackgroundColor];
_tableView.delegate = self;
......
......@@ -56,6 +56,11 @@
{
_tableView = [[UITableView alloc] initWithFrame:[UIScreen mainScreen].bounds style:UITableViewStylePlain];
_tableView.backgroundColor = [UIColor VLCDarkBackgroundColor];
CGRect frame = _tableView.bounds;
frame.origin.y = -frame.size.height;
UIView *topView = [[UIView alloc] initWithFrame:frame];
topView.backgroundColor = [UIColor VLCDarkBackgroundColor];
[_tableView addSubview:topView];
_tableView.delegate = self;
_tableView.dataSource = self;
_tableView.rowHeight = [VLCNetworkListCell heightOfCell];
......
......@@ -37,6 +37,11 @@ NSString *VLCNetworkListCellIdentifier = @"VLCNetworkListCellIdentifier";
{
_tableView = [[UITableView alloc] initWithFrame:[UIScreen mainScreen].bounds style:UITableViewStylePlain];
_tableView.backgroundColor = [UIColor VLCDarkBackgroundColor];
CGRect frame = _tableView.bounds;
frame.origin.y = -frame.size.height;
UIView *topView = [[UIView alloc] initWithFrame:frame];
topView.backgroundColor = [UIColor VLCDarkBackgroundColor];
[_tableView addSubview:topView];
_tableView.delegate = self;
_tableView.dataSource = self;
_tableView.opaque = YES;
......
......@@ -50,6 +50,11 @@
{
_tableView = [[UITableView alloc] initWithFrame:[UIScreen mainScreen].bounds style:UITableViewStylePlain];
_tableView.backgroundColor = [UIColor VLCDarkBackgroundColor];
CGRect frame = _tableView.bounds;
frame.origin.y = -frame.size.height;
UIView *topView = [[UIView alloc] initWithFrame:frame];
topView.backgroundColor = [UIColor VLCDarkBackgroundColor];
[_tableView addSubview:topView];
_tableView.delegate = self;
_tableView.dataSource = self;
_tableView.rowHeight = [VLCNetworkListCell heightOfCell];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment