Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

高度不正确 #42

Closed
longerian opened this issue Mar 19, 2018 · 1 comment
Closed

高度不正确 #42

longerian opened this issue Mar 19, 2018 · 1 comment
Labels

Comments

@longerian
Copy link
Contributor

父容器高度写死,子控件match_parent 高度撑大。

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
        flag="flag_exposure|flag_clickable"
        action="LTLoopViewAction"
        layoutWidth="match_parent"
        layoutHeight="200rp"
        background="#ffffff">


    <LTNImage
            layoutWidth="match_parent"
            layoutHeight="match_parent"
            layoutGravity="h_center|v_center"
            src="${forwardImageUrl}"
            placeholder="${forwardPlaceholder}"
            apngSrc="${forwardApngUrl}"
            scaleType="center_crop"
    />

</FrameLayout>
@longerian
Copy link
Contributor Author

works for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant