Set layoutDirection for PinnedHeaderView on creation

Fixes crash when typing a character into the contact picker
caused by trying to access a null view.

Bug 8575063

Change-Id: Ie379b81cc1662143e395d89cad031a9c0749ebbb
3 files changed