摘要:
**python总结** 一、python中数有四种类型:整数、长整数、浮点数和复数 1.整数 2.长整数 3.浮点数 4.复数 二、字符串运算符 a 值为字符串 "Hello",b 变量值为 "Python": **+**:>>>a + b 'HelloPython' **重复**:>>>a * 阅读全文
摘要:
这次的作业没有完成有好多错误,对于数据库还是不会运用。运行都是报错。1.简单的布局<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android 阅读全文
摘要:
1.布局代码 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.andr 阅读全文
摘要:
九宫格 图片大小不一很乱。。而且下标的字也没显示出来。1.GridView<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 阅读全文
摘要:
这次的作业没有用Adapter来做,而是在Activity中实现内容的传递,对于Adapter还不行。1.第一个是ListView列表<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.a 阅读全文
摘要:
这个就会个布局,实现跳转都是看同学的。activity的布局 还有两个Fragment的布局掌握了,这个实现跳转不会。首先是activity的布局<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://sch 阅读全文
摘要:
下面就是两个布局的代码,和相应的java代码。做的时候遇到一点问题就是跳转时会闪退,发现是manifests注册有点问题,两个页面的跳转这个很关键。 第一个xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="ht 阅读全文
摘要:
总结``` nix1.<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Please choose a flower Please choose a flo 阅读全文