Define separate view styles outside of P2P dialog layout

If OEMs overlay the P2P dialog layout entirely, each of the child Views
are assigned a separate resource ID from the default resource APK. This
results in WifiDialogActivity not being able to reference these Views
using ViewGroup.findViewById(), which does not translate the default
View resource IDs to the overlayed IDs. Thus we should separate the
styles from the P2P dialog layout and have OEMs simply overlay the
styles instead.

Bug: 234326049
Test: adb shell cmd wifi launch-dialog-p2p-invitation-received with
overlays on wifi_p2p_dialog_row_lable and wifi_p2p_dialog_row_content

Change-Id: I0d2d25d0683ffc9c1eb93859487869d6eb188f2e
4 files changed