上一页 1 2 3 4 5 6 7 ··· 18 下一页
摘要: ### git 关于版本回退 git版本回退 注释:git跟踪并管理的是修改,而非文件 当工作区的内容被修改,并未add到暂存区,此时想要丢弃对工作区的修改: git checkout 【--filename】 注释: git checkout [分支名称] 切换到指定分支 当工作区的内容被修改,并 阅读全文
posted @ 2022-05-06 17:26 安妍 阅读(37) 评论(0) 推荐(0) 编辑
摘要: Activity中嵌套使用Fragment 在Activity中添加Fragment 静态加载Fragment //此方法灵活性低,不常,也不建议使用 新建自定义Fragment ,继承Fragment/ 开发环境自动生成 : package com.neostra.test;?import and 阅读全文
posted @ 2022-05-05 18:15 安妍 阅读(870) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://www.csdn.net/tags/Ntzakg3sNzkyNTMtYmxvZwO0O0OO0O0O.html 阅读全文
posted @ 2022-05-05 10:39 安妍 阅读(30) 评论(0) 推荐(0) 编辑
摘要: ListView的应用【包含Adapter的应用】 父容器和子view 【main_activity.xml】 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/ 阅读全文
posted @ 2022-05-04 12:23 安妍 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 关于Adapter的应用 xml视图 //Adapter的使用常常伴随着ListView ;GridView;RecyclerView 等视图 xml视图对应 item类 //根据item内容将item封装成一个类 item类适配器 //根据item和xml视图做适配 MainActivity // 阅读全文
posted @ 2022-05-04 10:53 安妍 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 使状态栏透明:Theme.xml文件中添加 <!--设置状态栏透明--><item name="android:windowTranslucentStatus">true</item><!--设置无标题栏效果-> <style name="Theme.Test" parent="Theme.Mate 阅读全文
posted @ 2022-04-29 15:51 安妍 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1. 设置状态栏为透明状态 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);//设置状态栏为透明状态 2.ActionBar自由实现 //ActionBar的格式一般都是固定的,也可以自定义,但是自定义 阅读全文
posted @ 2022-04-26 11:57 安妍 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 1. ctrl+shift+enter 等号左右自动空格,并添加分号。 2. ctrl+f , ctrl + r 批量替换 3. ctrl+ n 查找所有 4. ctrl + F12 在当前文件中搜索方法 5. ctrl+ shift + F 在当前项目中的所有文件中搜索方法 向上/向下查找关键字: 阅读全文
posted @ 2022-04-15 14:07 安妍 阅读(78) 评论(0) 推荐(0) 编辑
摘要: git 提交代码至远程服务器 git add git commit ctrl+X ctrl+y enter 查看所有分支:git branch -a git push origin HEAD:refs/for/【分支名】 阅读全文
posted @ 2022-04-14 20:53 安妍 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 从服务器上拉代码的步骤: 查看ssh:// git clone ssh:// 切换分支的步骤(一般从服务器上拉取了新的项目代码后需要进行此操作): git branch -a 查看所有分支 git checkout 【分支名称】 更新本地代码(从服务器上拉取最新代码):git push(到指定分支上 阅读全文
posted @ 2022-04-12 14:51 安妍 阅读(861) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 18 下一页