自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(43)
  • 收藏
  • 关注

原创 总结 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 105

原创 总结 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

原创 总结 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 123

原创 总结 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 112

原创 总结 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 132

原创 总结 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 96

原创 总结 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 89

原创 总结 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 90

原创 总结 2018-1-24

2018-02-07 08:58:18 88

原创 总结 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 98

原创 总结 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 112

原创 总结 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 103

原创 总结 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 116

原创 总结 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 109

原创 总结 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 93

原创 总结 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 153

原创 总结 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 156

原创 总结 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 103

原创 总结 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 116

原创 总结 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 106

原创 总结 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 97

原创 总结 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 102

原创 总结 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 106

原创 总结 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 105

原创 总结 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 165

原创 总结 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 85

原创 总结-2017-12-28

今天对图片进行了一些分析每张图片运用的布局都基本掌握: 今天先做登录界面。每天po出一张界面的代码 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_heigh

2018-01-10 15:52:47 90

原创 总结 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 86

原创 总结 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 81

转载 总结 2017-12-25

转载于:https://www.jianshu.com/p/9ea7f296abd7 因为listview 控件正在学习,所以不是特别熟练,资源在简书找到的,具体详细代码在明后天展示 1. 简单用法 布局文件中增加 ListView源码中准备数据源码中构造适配器 Adapter通过 id 找到 ListView 的实例ListView 设置适配器 2. 定制 ListV

2017-12-28 17:15:19 67

原创 总结 2017-12-22

今天主要是对我们界面进行小改动,通过练习改正我们在画UI界面的时候能够很好地运用线性布局和相对布局的特性,例子如下: 圆形图标以及边框的实现,代码在我们的12-20日总结有说到,那么我们今天在对我们圆形图标的位置进行管理,以及下面一一对应的文字信息进行代码编写,代码有什么不足的地方希望谅解: 首先是我们的四个圆形图标,图标部分我使用的是线性布局,该布局的特性是,只要宽度够宽,我

2017-12-22 17:04:48 73

原创 总结 2017-12-21

Android 点击加减号实现控制数量的大小,图片资源以及部分代码详细解析: 资源给出如下:            组合起来效果如下: XML布局文件如下: <LinearLayout android:layout_width="wrap_content" android:

2017-12-22 16:55:51 95

原创 总结 2017.12.20

今天添加圆形图标的圆形边框 具体方式,将新创建的圆环覆盖在在我们之前创立好的圆形图标即可实现图标有个圆形的外框,首先在drawable中创建一个xml文件,用于编辑我们的圆环具体代码如下: android:shape="rectangle"> - <!-- solid指定形状的填充色,只有android:color一个属性 --> - <!-- co

2017-12-21 16:26:38 94

原创 总结 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 91

原创 总结 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 106

转载 总结 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 108

原创 总结 2017-12-14

通讯录 右侧字母的实现 图片展示 实现方法,在通讯录界面进行再次导入: layout="@layout/biaoqian"/> biaoqian为新的XML界面 进行布局编辑, 编辑好的布局可以通过这串代码进行导入,程序运行就可实现右侧字母显示 下面是我在biaoqian.xml编译的的具体代码: <RelativeLayout xmlns:android=

2017-12-15 11:05:20 113

原创 总结 2017-12-13

简单的界面跳转: 第一步:创建Intent对象; 第二步:通过setClass()方法指定当前界面和要跳转到的界面,第一个参数为当前界面,第二个参数是要跳转到的界面; 第三步:用当前的Activity调用startActivity()实现界面的跳转; 先要分别创建两个.java文件,用来写设置和我的钱包的事件,i需要注意的是我们要先注册这两个Java文件在AndroidManife

2017-12-15 10:03:11 135

原创 总结 2017-12-12

今天对仿微信应用的发现,以及我的进行简单的介绍,先铺上我画好的界面两张图片如下:            发现栏的实现,主要是对红点位置的掌握,以及每个控件之间的位置掌握,图片素材在  http://www.iconfont.cn/ 搜索关键字查找,具体实现过程,前两天的博客有具体解析,需要注意的是我们要在 总布局上加上ScrollView, 在加入我们需要使用的布局,这样的目的是使我们的

2017-12-13 17:13:56 108

原创 总结 2017-12-11

今天我们对经常使用的微信通讯录界面进行UI练习,因为只是画UI操作,图中搜索功能未实现 1.首先先对界面的布局使用进行判断,第一部分我运用的是相对布局里面套的线性布局,最外面是一个相对布局划分好这一块的大小,宽度就是屏幕的宽度,高度暂设一个值,在这个相对布局中再次创建一个相对布局,设置其颜色为白色,这样对比之下就会有分割线效果,设置这个布局 边距外面的大布局,实现白色的搜素框效果,里面的相对

2017-12-12 09:18:53 176

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除