Fixing NullPointerException in TextView

Adding null pointer protection for layout that fixes some force closures.
Signed-off-by: Dmitry Tsyganyuk <fdt017@motorola.com>

Change-Id: Ia9039912aafa76090da9016a0fb3ee4d6774caef