培训总结
文章平均质量分 84
lds18341211674
这个作者很懒,什么都没留下…
展开
-
总结 2018-1-31
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" an原创 2018-02-07 09:03:04 · 114 阅读 · 0 评论 -
总结 2018-1-15
xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" androi原创 2018-02-06 17:22:02 · 156 阅读 · 0 评论 -
总结 2018-1-12
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent">原创 2018-02-06 17:20:07 · 161 阅读 · 0 评论 -
总结 2018-1-11
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <Li原创 2018-02-06 17:19:16 · 106 阅读 · 0 评论 -
总结 2018-1-10
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <ScrollVi原创 2018-02-06 17:17:34 · 119 阅读 · 0 评论 -
总结 2018-1-9
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent">原创 2018-02-06 17:16:22 · 110 阅读 · 0 评论 -
总结 2018-1-8
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <Scro原创 2018-02-06 17:15:18 · 100 阅读 · 0 评论 -
总结 2018-2-2
<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_par原创 2018-02-26 09:43:47 · 108 阅读 · 0 评论 -
总结 2018-1-16
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <ScrollV原创 2018-02-06 17:22:54 · 97 阅读 · 0 评论 -
总结 2018-1-17
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:background="#ffffff" android:layout_heig原创 2018-02-06 17:23:44 · 112 阅读 · 0 评论 -
总结 2018-1-30
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <Relative原创 2018-02-07 09:02:19 · 139 阅读 · 0 评论 -
总结 2018-1-29
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLa原创 2018-02-07 09:01:28 · 100 阅读 · 0 评论 -
总结 2018-1-26
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_first_start" android:layout_width="match原创 2018-02-07 09:00:23 · 93 阅读 · 0 评论 -
总结 2018-1-25
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <Rela原创 2018-02-07 08:59:22 · 95 阅读 · 0 评论 -
总结 2018-1-24
原创 2018-02-07 08:58:18 · 93 阅读 · 0 评论 -
总结 2018-1-23
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/first_back原创 2018-02-07 08:57:32 · 100 阅读 · 0 评论 -
总结 2018-1-22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:background="@drawable/main_bg" android:l原创 2018-02-07 08:51:41 · 115 阅读 · 0 评论 -
总结 2018-1-19
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:background="@drawable/main_bg" android:orientation="vertical" android:layout_width="match_parent" android:l原创 2018-02-07 08:51:32 · 106 阅读 · 0 评论 -
总结 2018-1-18
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <RelativeL原创 2018-02-07 08:51:24 · 119 阅读 · 0 评论 -
总结 2018-2-1
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent"原创 2018-02-26 09:43:38 · 129 阅读 · 0 评论 -
总结 2018-2-5
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_paren原创 2018-02-26 09:43:29 · 126 阅读 · 0 评论 -
总结 2017-12-13
简单的界面跳转:第一步:创建Intent对象;第二步:通过setClass()方法指定当前界面和要跳转到的界面,第一个参数为当前界面,第二个参数是要跳转到的界面;第三步:用当前的Activity调用startActivity()实现界面的跳转;先要分别创建两个.java文件,用来写设置和我的钱包的事件,i需要注意的是我们要先注册这两个Java文件在AndroidManife原创 2017-12-15 10:03:11 · 138 阅读 · 0 评论 -
总结 2017-12-22
今天主要是对我们界面进行小改动,通过练习改正我们在画UI界面的时候能够很好地运用线性布局和相对布局的特性,例子如下:圆形图标以及边框的实现,代码在我们的12-20日总结有说到,那么我们今天在对我们圆形图标的位置进行管理,以及下面一一对应的文字信息进行代码编写,代码有什么不足的地方希望谅解:首先是我们的四个圆形图标,图标部分我使用的是线性布局,该布局的特性是,只要宽度够宽,我原创 2017-12-22 17:04:48 · 75 阅读 · 0 评论 -
总结 2017-12-21
Android 点击加减号实现控制数量的大小,图片资源以及部分代码详细解析:资源给出如下: 组合起来效果如下:XML布局文件如下:<LinearLayout android:layout_width="wrap_content" android:原创 2017-12-22 16:55:51 · 97 阅读 · 0 评论 -
总结 2017-12-12
今天对仿微信应用的发现,以及我的进行简单的介绍,先铺上我画好的界面两张图片如下: 发现栏的实现,主要是对红点位置的掌握,以及每个控件之间的位置掌握,图片素材在 http://www.iconfont.cn/ 搜索关键字查找,具体实现过程,前两天的博客有具体解析,需要注意的是我们要在 总布局上加上ScrollView, 在加入我们需要使用的布局,这样的目的是使我们的原创 2017-12-13 17:13:56 · 111 阅读 · 0 评论 -
总结 2017.12.20
今天添加圆形图标的圆形边框具体方式,将新创建的圆环覆盖在在我们之前创立好的圆形图标即可实现图标有个圆形的外框,首先在drawable中创建一个xml文件,用于编辑我们的圆环具体代码如下: android:shape="rectangle"> - <!-- solid指定形状的填充色,只有android:color一个属性 --> - <!-- co原创 2017-12-21 16:26:38 · 95 阅读 · 0 评论 -
总结 2017-12-19
圆形图标的实现:CircleImageView主要就是一个继承了ImageView 的类具体方法,首先先创建一个java文件,用来编写我们的CircleImageView代码,大致内容如下:package com.example.mrli.fanggouwuche;import android.content.Context;import android.graphics.Canvas;原创 2017-12-20 16:56:53 · 93 阅读 · 0 评论 -
总结 2017-12-11
今天我们对经常使用的微信通讯录界面进行UI练习,因为只是画UI操作,图中搜索功能未实现1.首先先对界面的布局使用进行判断,第一部分我运用的是相对布局里面套的线性布局,最外面是一个相对布局划分好这一块的大小,宽度就是屏幕的宽度,高度暂设一个值,在这个相对布局中再次创建一个相对布局,设置其颜色为白色,这样对比之下就会有分割线效果,设置这个布局 边距外面的大布局,实现白色的搜素框效果,里面的相对原创 2017-12-12 09:18:53 · 177 阅读 · 0 评论 -
总结 2017.12.18
手机微信通讯录右侧字母的实现:新创建一个布局用来编辑我们所需要的字母部分,主要是应用相对布局里控件的排序的掌握,具体代码如下<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_widt原创 2017-12-19 17:24:36 · 108 阅读 · 0 评论 -
总结 2017-12-07
第一次做工作总结不知怎么去写我就简单把这两天正着手做老师布置的UI作业制作方法介绍一下 作业的图片如下:图一:我运用的是线性布局:设计步骤如下:1.首先为整体创建一个线性布局2.开始逐一编辑每一行的内容,我先介绍一下 “意见反馈” 这一行的实现方法,创建一个线性布局,我设定宽度为屏幕宽度,高度为50dp,设定这个线性布局的颜色为白色即#fffffff,然后设定这原创 2017-12-07 18:03:07 · 146 阅读 · 0 评论 -
总结 2017-12-14
通讯录 右侧字母的实现图片展示实现方法,在通讯录界面进行再次导入:layout="@layout/biaoqian"/>biaoqian为新的XML界面 进行布局编辑,编辑好的布局可以通过这串代码进行导入,程序运行就可实现右侧字母显示下面是我在biaoqian.xml编译的的具体代码:<RelativeLayout xmlns:android=原创 2017-12-15 11:05:20 · 120 阅读 · 0 评论 -
总结 2017-12-15
引入support v7支持包在你项目的build.gradle内输入如下代码,即能引入支持包,该支持包内有能向下兼容的ToolBar:dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.转载 2017-12-15 17:23:00 · 111 阅读 · 0 评论 -
总结 2018-1-5
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <ScrollVi原创 2018-01-10 16:02:39 · 104 阅读 · 0 评论 -
总结 2018-1-4
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <ScrollVi原创 2018-01-10 16:01:25 · 107 阅读 · 0 评论 -
总结 2018-1-3
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <ScrollV原创 2018-01-10 16:00:24 · 107 阅读 · 0 评论 -
总结 2018-1-2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <Scro原创 2018-01-10 15:59:05 · 168 阅读 · 0 评论 -
总结 2017-12-29
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <Scr原创 2018-01-10 15:57:33 · 89 阅读 · 0 评论 -
总结 2017-12-27
这个同理是用的ListView 控件进行编辑适配器部分代码我就不详细介绍了,上一篇博客有说到详细说一下我们的布局是如何实现的,具体代码如下;<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"原创 2017-12-28 17:31:30 · 87 阅读 · 0 评论 -
总结 2017-12-26
做到如上的效果,我是用lestview做的,但是缺点是,每段列表的宽度达不到图片的效果(越往下框越窄)所以在这方面知识我们还需要进行学习 我的具体代码如下wuliu_list.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientati原创 2017-12-28 17:21:38 · 82 阅读 · 0 评论 -
总结 2017-12-25
转载于:https://www.jianshu.com/p/9ea7f296abd7因为listview 控件正在学习,所以不是特别熟练,资源在简书找到的,具体详细代码在明后天展示1. 简单用法布局文件中增加 ListView源码中准备数据源码中构造适配器 Adapter通过 id 找到 ListView 的实例ListView 设置适配器2. 定制 ListV转载 2017-12-28 17:15:19 · 68 阅读 · 0 评论