为自己贴一段一段xamarin中的Main.axml文件实例代码,没啥特殊意义,仅作为备忘用~
Main.axml:
<?xml version=”1.0″ encoding=”utf-8″?>
<RelativeLayout
xmlns:android=”http://schemas.android.com/apk/res/android”
android:minWidth=”25px”
android:minHeight=”25px”
android:layout_width=”match_parent”
android:layout_height=”match_parent”
android:id=”@+id/relativeLayout1″
android:background=”#ffececec”>
<ImageSwitcher
android:minWidth=”25px”
android:minHeight=”25px”
android:layout_width=”1180px”
android:layout_height=”638px”
android:id=”@+id/SwitcherProductFeature”
android:layout_centerInParent=”true”>
<ImageView
android:src=”@drawable/Icon”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:id=”@+id/btnFeatureLeft”
android:layout_centerVertical=”true”
android:layout_alignParentLeft=”true”/>
<ImageView
android:src=”@drawable/Icon”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:id=”@+id/btnFeatureRight”
android:layout_centerVertical=”true”
android:layout_alignParentLeft=”true”/>
</ImageSwitcher>
</RelativeLayout>
xamarin.android内容推荐
- html5 meta标签的含义和用法
- AngularJS开发指南21:使用CSS
- 解决windows下sunlime text3的node.js [Decode error – output not utf8] 问题
- 如何让wordpress支持webp格式图片?
- 写给设计师的Processing编程指南(1)PROCESSING初接触
- powershell安装.msi文件
- react native ios真机调试:The app ID cannot be registered to your development team
- nodejs实战案例(Express框架+mongoDB)之11:用户中心页面
0 条评论。