This patch makes SwipeLayout extend FrameLayout, which has a complete
measuring function and allows useage of match_parent and wrap_content.
Tested in app: https://github.com/PaperAirplane-Dev-Team/BlackLight
Works just all right.
Signed-off-by: Peter Cai <xqsx43cxy@126.com>