Fix layout of input view with custom send button

Adapt to iPad;
Calculate text view frame according to custom send button size.
Fix build by removing custom macros