1313#import " DWAudioRecorderManager.h"
1414#import < AVFoundation/AVFoundation.h>
1515
16+ #define toolBackColor [UIColor colorWithRed: 247 /255.0 green: 247 /255.0 blue: 247 /255.0 alpha: 1.0 ];
17+
1618@interface DWInputBarControl ()<HPGrowingTextViewDelegate,DWRecordDelegate,NIMInputEmoticonProtocol>{
1719 UIView *line;
1820 CGFloat tmpGrowViewH;
@@ -155,7 +157,7 @@ - (void)clickSendRecordMessage{
155157
156158- (void )addSubContentView {
157159 _toolView = [[UIView alloc ]init];
158- _toolView.backgroundColor = [UIColor whiteColor ] ;
160+ _toolView.backgroundColor = toolBackColor ;
159161 [self addSubview: _toolView];
160162
161163 line = [[UIView alloc ]init];
@@ -168,7 +170,7 @@ - (void)addSubContentView{
168170 [_toolView addSubview: _showRecordeBtn];
169171
170172 _inputGrowView = [[HPGrowingTextView alloc ]init];
171- _inputGrowView.backgroundColor = [UIColor whiteColor ] ;
173+ _inputGrowView.backgroundColor = toolBackColor ;
172174 _inputGrowView.layer .cornerRadius = 5 .0f ;
173175 _inputGrowView.layer .borderColor = [UIColor colorWithRed: 200 /255.0 green: 200 /255.0 blue: 200 /255.0 alpha: 1.0 ].CGColor ;
174176 _inputGrowView.layer .borderWidth = 1 ;
@@ -246,11 +248,10 @@ - (void)creatUI{
246248 CGFloat inputY = 1.6 *_margin;
247249 CGFloat inputH = _toolH - 3.2 *_margin;
248250 _inputGrowView.frame = CGRectMake (inputX, inputY, inputW, inputH);
249- // _recordBtn.frame = CGRectMake(inputX, inputY+DESIGN_SIZE_750(2.5 ), inputW, inputH-DESIGN_SIZE_750(8) );
250- _recordBtn.frame = _inputGrowView.frame ;
251+ _recordBtn.frame = CGRectMake (inputX, inputY*( 1 - 0.3 ), inputW, inputH+inputY* 0.6 );
252+ // _recordBtn.frame = _inputGrowView.frame;
251253 _expressionView.y = CGRectGetMaxY (_toolView.frame );
252254 _functionView.y = CGRectGetMaxY (_toolView.frame );
253-
254255}
255256
256257
0 commit comments