
安卓实战
ai_XZP_master
本人计算机专业,主要研究人工智能、计算机视觉、物体检测。
展开
-
安卓实战-计算器
步骤:首先对界面进行布局,给定控件id,用OnClick点击事件处理,通过使用private HashMap map; 将View和String映射起来获取到哪个按钮被点击,最后 实现整体功能。具体的不多说,直接上代码1、布局文件 main.xmlLinearLayout xmlns:android="http://schemas.android.com/apk/res/android原创 2017-04-22 10:21:13 · 471 阅读 · 0 评论 -
安卓实战-照片浏览器
main.xmlxml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent"原创 2017-04-22 10:45:07 · 338 阅读 · 0 评论 -
手机与平板兼容--利用碎片充分利用平板空间
main.xml文件xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="match_parent"原创 2018-01-05 11:45:40 · 269 阅读 · 0 评论