android博学谷实验报告,《Android项目实战-博学谷》我的模块

我的模块界面

思路

由于此界面只是主界面中的一部分,所以无需创建一个新的 Activity ,只需要在 layout 目录下新建一个布局即可,同理导入图片至 drawable 目录下

具体代码如下:

main_view_myinfo.xml

android:layout_width="match_parent"

android:layout_height="match_parent"

android:background="@android:color/white"

android:orientation="vertical">

android:id="@+id/ll_head"

android:layout_width="fill_parent"

android:layout_height="240dp"

android:background="@drawable/myinfo_login_bg"

android:orientation="vertical">

android:id="@+id/iv_head_icon"

android:layout_width="70dp"

android:layout_height="70dp"

android:layout_gravity="center_horizontal"

android:layout_marginTop="75dp"

android:src="@drawable/default_icon" />

android:id="@+id/tv_user_name"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_gravity="center_horizontal"

android:layout_marginTop="10dp"

android:text="点击登录"

android:textColor="@android:color/white"

android:textSize="16sp" />

android:layout_width="fill_parent"

android:layout_height="1dp"

android:layout_marginTop="20dp"

android:background="#E3E3E3" />

android:id="@+id/rl_course_history"

android:layout_width="fill_parent"

android:layout_height="50dp"

android:background="#F7F8F8"

android:gravity="center_vertical"

android:paddingLeft="10dp"

android:paddingRight="10dp">

android:id="@+id/iv_course_historyicon"

android:layout_width="20dp"

android:layout_height="20dp"

android:layout_centerVertical="true"

android:layout_marginLe

  • 2
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Android项目实战博学谷是一个基于黑马程序员的博学谷自学助手项目进行开发和创新的APP。该APP主要讲述了WordPress建站过程,包括原型设计、各个模块开发和应用商店发布最终产品的过程。该项目共分为10个模块,包括项目综述、界面设计、注册与登录模块、"我"的模块、个人资料模块、习题模块、课程模块、创新模块(上)、创新模块(下)和项目上线。开发环境包括Windows 10 x64操作系统、JDK 1.8 Java环境、Eclipse Jee 2019 IDE环境、Android SDK Tools 24.1.2、Android 9.0编译和SQLite数据库。在该项目中,为了解决中文乱码问题,可以通过修改data.json文件的编码方式为UTF-8来解决。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [Android项目实战系列—基于博学谷(一)项目综述](https://blog.csdn.net/weixin_42343931/article/details/105745049)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *3* [Android项目实战系列—基于博学谷(七)课程模块(中)](https://blog.csdn.net/weixin_42343931/article/details/105943474)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值