随笔分类 - APP开发
摘要:字符串加载器 package com.linlang.grasharepro.utils.validation; /** * 字符串加载器 */ public abstract class TextLazyLoader implements LazyLoader{ @Override public
阅读全文
摘要:今天为我的个人主页写了adapter,具体有以下几个文件 package com.linlang.grasharepro.adapter; import android.content.Context; import android.content.Intent; import android.os
阅读全文
摘要:今天写个人资料的活动文件,下面是代码实现,然后还有就是设置界面的活动 package com.linlang.grasharepro.activity; import android.app.Activity; import android.content.SharedPreferences; im
阅读全文
摘要:下面是个人主页的我的发布,我的粉丝,我的关注。 package com.linlang.grasharepro.activity; import android.app.Activity; import android.content.SharedPreferences; import androi
阅读全文
摘要:前面我们已经将布局文件写好,接下来我们来写后台具体活动文件,在activity.fragment包下,关于个人主页的活动文件 MyCenterPage.java package com.linlang.grasharepro.activity.fragment; import android.ann
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" and
阅读全文
摘要:由于今天作业比较多,所以写的比较少,下面是布局代码 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools=
阅读全文
摘要:今天继续写关于个人主页的布局文件编写 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_widt
阅读全文
摘要:现在我们开始编写app, 最初确定下来的是,实现一个app 先把整体的框架给搭建出来,之前虽然写过一个安卓记账本,只是熟悉基本的流程,关于这方面还是有好多不懂的。话不多说,开始干活。 我个人喜欢先把布局文件写好,然后写后台java文件 我们的app呢,是想实现五个界面,下面是实现底部导航栏的布局文件
阅读全文
摘要:这学期的任务就是团队之间协同开发一个app,对于我们这样的新手来说,现在感觉还是比较困难,团队之间怎么合作,怎么明确分工,每个人具体实现那些功能,之后每个人写的代码怎么整合到一块,这些都是要考虑的问题,下面介绍我们小队的成员,以及我们的app需要开发的功能 天行者小队 :高维 邱实 吴靖 协同开发海
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android
阅读全文
摘要:“关于”界面 package com.example.easycash; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public class
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.co
阅读全文
摘要:搜索布局 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_paren
阅读全文
摘要:package com.example.easycash.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.vie
阅读全文
摘要:package com.example.easycash.utils; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.os.Handler; im
阅读全文
摘要:package com.example.easycash.db; /* * 表示收入或者支出具体类型的类 * */ public class TypeBean { int id; String typename; //类型名称 int imageId; //未被选中图片id int simageId
阅读全文
摘要:package com.example.easycash; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.Fragment; import androidx.viewpager.widget
阅读全文
摘要:在src下新建RecordActivity,layout中会自动新建activity_record.xml文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com
阅读全文
摘要:item_mainlv.xml每个小项,比如餐饮啊,交通啊,等等 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" and
阅读全文