add FloatLabelLayout
fix a possible NPE in BaseFragment