[英]How to set two icons on a single activity on android
在我的MainActivity上,我想放置两个图标,如上图所示(Addidas徽标)。
有谁知道我如何在Android上进行存档?
您可以为此标头实现LinearLayout
。
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >
//Put elements here
<ImageView/>
<TextView/>
<ImageView/>
</LinearLayout>
您可以在此处查看常见的布局。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.