繁体   English   中英

框架布局问题

[英]Framelayout issue

我尝试使用Framelayout创建布局。

下面的代码,我尝试但不输出。 我想要像图像一样输出。

        <ImageView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="left|top"
            android:src="@drawable/login_arrow" />

        <ImageView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="right|bottom"
            android:src="@drawable/login_fbsignup" />
    </FrameLayout>

在此处输入图片说明

我会使用RelativeLayout而不是FrameLayout 但更重要的是,我只需要制作一张图像即可使用,而无需任何布局容器

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM