-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1202 lines (737 loc) · 36 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>AnswerZhao的登山之旅</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="我想要怒放的生命">
<meta property="og:type" content="website">
<meta property="og:title" content="AnswerZhao的登山之旅">
<meta property="og:url" content="http://answerzhao.github.io/index.html">
<meta property="og:site_name" content="AnswerZhao的登山之旅">
<meta property="og:description" content="我想要怒放的生命">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="AnswerZhao的登山之旅">
<meta name="twitter:description" content="我想要怒放的生命">
<link rel="alternative" href="/atom.xml" title="AnswerZhao的登山之旅" type="application/atom+xml">
<link rel="icon" href="/img/favicon.png">
<link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.5.0/animate.min.css">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/font-awesome/css/font-awesome.min.css">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
<!-- 加载特效 -->
<script src="/js/pace.js"></script>
<link href="/css/pace/pace-theme-flash.css" rel="stylesheet" />
<script>
var yiliaConfig = {
fancybox: true,
animate: true,
isHome: true,
isPost: false,
isArchive: false,
isTag: false,
isCategory: false,
open_in_new: false
}
</script>
</head>
<body>
<div id="container">
<div class="left-col">
<div class="overlay"></div>
<div class="intrude-less">
<header id="header" class="inner">
<a href="/" class="profilepic">
<img lazy-src="/img/avatar.png" class="js-avatar">
</a>
<hgroup>
<h1 class="header-author"><a href="/">AnswerZhao</a></h1>
</hgroup>
<p class="header-subtitle">万物有规律,万事有方法</p>
<div id="switch-btn" class="switch-btn">
<div class="icon">
<div class="icon-ctn">
<div class="icon-wrap icon-house" data-idx="0">
<div class="birdhouse"></div>
<div class="birdhouse_holes"></div>
</div>
<div class="icon-wrap icon-ribbon hide" data-idx="1">
<div class="ribbon"></div>
</div>
<div class="icon-wrap icon-link hide" data-idx="2">
<div class="loopback_l"></div>
<div class="loopback_r"></div>
</div>
<div class="icon-wrap icon-me hide" data-idx="3">
<div class="user"></div>
<div class="shoulder"></div>
</div>
</div>
</div>
<div class="tips-box hide">
<div class="tips-arrow"></div>
<ul class="tips-inner">
<li>菜单</li>
<li>标签</li>
<li>友情链接</li>
<li>关于我</li>
</ul>
</div>
</div>
<div id="switch-area" class="switch-area">
<div class="switch-wrap">
<section class="switch-part switch-part1">
<nav class="header-menu">
<ul>
<li><a href="/">主页</a></li>
<li><a href="/archives/">所有文章</a></li>
<li><a href="/categories/Android">Android</a></li>
<li><a href="/categories/随笔">随笔</a></li>
<li><a href="/tags/">标签云</a></li>
<li><a href="/about/">关于我</a></li>
</ul>
</nav>
<nav class="header-nav">
<ul class="social">
<a class="fl github" target="_blank" href="https://github.com/AnswerZhao" title="github">github</a>
</ul>
</nav>
</section>
<section class="switch-part switch-part2">
<div class="widget tagcloud" id="js-tagcloud">
<a href="/tags/AS/" style="font-size: 10px;">AS</a> <a href="/tags/Fragment/" style="font-size: 10px;">Fragment</a> <a href="/tags/Glide/" style="font-size: 10px;">Glide</a> <a href="/tags/ViewPager/" style="font-size: 10px;">ViewPager</a> <a href="/tags/adb/" style="font-size: 10px;">adb</a> <a href="/tags/bugs/" style="font-size: 10px;">bugs</a> <a href="/tags/emoj/" style="font-size: 10px;">emoj</a> <a href="/tags/多媒体/" style="font-size: 20px;">多媒体</a> <a href="/tags/富文本/" style="font-size: 20px;">富文本</a> <a href="/tags/折腾/" style="font-size: 10px;">折腾</a>
</div>
</section>
<section class="switch-part switch-part3">
<div id="js-friends">
<a target="_blank" class="main-nav-link switch-friends-link" href="http://blog.csdn.net/guolin_blog?viewmode=contents">Guolin</a>
<a target="_blank" class="main-nav-link switch-friends-link" href="http://blog.csdn.net/lmj623565791">Hongyang</a>
<a target="_blank" class="main-nav-link switch-friends-link" href="http://stormzhang.com/">StormZhang</a>
<a target="_blank" class="main-nav-link switch-friends-link" href="http://blog.piasy.com/">清华披萨</a>
<a target="_blank" class="main-nav-link switch-friends-link" href="http://blog.nimbledroid.com/">nimbledroid</a>
<a target="_blank" class="main-nav-link switch-friends-link" href="https://github.com/GeniusVJR/LearningNotes">LearningNotes</a>
<a target="_blank" class="main-nav-link switch-friends-link" href="https://github.com/googlesamples/android-architecture">Architecture</a>
</div>
</section>
<section class="switch-part switch-part4">
<div id="js-aboutme">有点痴,有点二,有点理想,有点美好。</div>
</section>
</div>
</div>
</header>
</div>
</div>
<div class="mid-col">
<nav id="mobile-nav">
<div class="overlay">
<div class="slider-trigger"></div>
<h1 class="header-author js-mobile-header hide"><a href="/" title="回到主页">AnswerZhao</a></h1>
</div>
<div class="intrude-less">
<header id="header" class="inner">
<a href="/" class="profilepic">
<img lazy-src="/img/avatar.png" class="js-avatar">
</a>
<hgroup>
<h1 class="header-author"><a href="/" title="回到主页">AnswerZhao</a></h1>
</hgroup>
<p class="header-subtitle">万物有规律,万事有方法</p>
<nav class="header-menu">
<ul>
<li><a href="/">主页</a></li>
<li><a href="/archives/">所有文章</a></li>
<li><a href="/categories/Android">Android</a></li>
<li><a href="/categories/随笔">随笔</a></li>
<li><a href="/tags/">标签云</a></li>
<li><a href="/about/">关于我</a></li>
<div class="clearfix"></div>
</ul>
</nav>
<nav class="header-nav">
<div class="social">
<a class="github" target="_blank" href="https://github.com/AnswerZhao" title="github">github</a>
</div>
</nav>
</header>
</div>
</nav>
<div class="body-wrap">
<article id="post-Video edit tech and OpenGL materials" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2017/03/18/Video edit tech and OpenGL materials/" class="article-date">
<time datetime="2017-03-18T14:11:18.000Z" itemprop="datePublished">2017-03-18</time>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2017/03/18/Video edit tech and OpenGL materials/">视频编辑技术文章和OpenGL学习资料汇总</a>
</h1>
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-keyboard-o"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">1,165字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="fa fa-hourglass-half"></i>
<span class="post-meta-item-text"> 阅读时长: </span>
<span class="post-count">5分</span>
</span>
</span>
</div>
</header>
<div class="article-entry" itemprop="articleBody" style="margin-top:10px;">
<p>此文收集了当前的一些视频编辑平台术分享的一些技术文章,和OpenGL的一些学习资料,便于学习和借鉴。站在巨人的肩上可以看得更远。收集也是学习的一个阶段。</p>
<ul>
<li>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/Android/">Android</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/多媒体/">多媒体</a></li></ul>
</div>
<p class="article-more-link">
<a href="/2017/03/18/Video edit tech and OpenGL materials/#more">全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-Android中音视频合成方案分析" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2017/03/11/Android中音视频合成方案分析/" class="article-date">
<time datetime="2017-03-11T12:30:43.000Z" itemprop="datePublished">2017-03-11</time>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2017/03/11/Android中音视频合成方案分析/">Android中音视频合成方案分析</a>
</h1>
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-keyboard-o"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">1,074字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="fa fa-hourglass-half"></i>
<span class="post-meta-item-text"> 阅读时长: </span>
<span class="post-count">6分</span>
</span>
</span>
</div>
</header>
<div class="article-entry" itemprop="articleBody" style="margin-top:10px;">
<p>Android下音视频合成,在当前调研方案中主要有三大类方法:MediaMux硬解码,mp4parser,FFmepg。三种方法均可实现,但是也有不同的局限和问题,先将实现和问题记录于此,便于之后的总结学习。</p>
<ul>
<li>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/Android/">Android</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/多媒体/">多媒体</a></li></ul>
</div>
<p class="article-more-link">
<a href="/2017/03/11/Android中音视频合成方案分析/#more">全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-Error in MediaPlayer and TextureView" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2017/01/10/Error in MediaPlayer and TextureView/" class="article-date">
<time datetime="2017-01-10T15:10:12.000Z" itemprop="datePublished">2017-01-10</time>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2017/01/10/Error in MediaPlayer and TextureView/">MediaPlayer Error (1,-2147479552), Error (-38,0)</a>
</h1>
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-keyboard-o"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">928字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="fa fa-hourglass-half"></i>
<span class="post-meta-item-text"> 阅读时长: </span>
<span class="post-count">4分</span>
</span>
</span>
</div>
</header>
<div class="article-entry" itemprop="articleBody" style="margin-top:10px;">
<p>播放视频时,采用TextureView+MediaPlayer的方案,一切都照旧。可是,在红米3s上却出现了问题。当第一个页面加载了自定义的播放器后,再打开有播放器的第二个页面时,第二个页面的播放器就不能正常播放了。提示如下错误:</p>
<blockquote>
<p>MediaPlayer: Error (1,-2147479552), Error (-38,0), stop called in state 0 </p>
</blockquote>
<ul>
<li>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/Android/">Android</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/多媒体/">多媒体</a></li></ul>
</div>
<p class="article-more-link">
<a href="/2017/01/10/Error in MediaPlayer and TextureView/#more">全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-issues in using Glide" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2016/10/16/issues in using Glide/" class="article-date">
<time datetime="2016-10-16T06:10:15.000Z" itemprop="datePublished">2016-10-16</time>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2016/10/16/issues in using Glide/">Glide使用中的踩坑和填坑</a>
</h1>
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-keyboard-o"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">1,629字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="fa fa-hourglass-half"></i>
<span class="post-meta-item-text"> 阅读时长: </span>
<span class="post-count">6分</span>
</span>
</span>
</div>
</header>
<div class="article-entry" itemprop="articleBody" style="margin-top:10px;">
<p><img src="https://raw.githubusercontent.com/bumptech/glide/master/static/glide_logo.png" alt=""></p>
<p>在使用Glide的过程中,遇到不少问题,如下: </p>
<ol>
<li>加载本地国际化图片资源时出现错乱。</li>
<li>加载Gif图时显示奇慢。</li>
<li>Glide加载图片的ImageView不能设置tag。</li>
<li>使用CircleImageView时图片显示不正常。</li>
</ol>
<p>本文,对遇到的这些问题进行了分析和总结。</p>
<ul>
<li>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/Android/">Android</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Glide/">Glide</a></li></ul>
</div>
<p class="article-more-link">
<a href="/2016/10/16/issues in using Glide/#more">全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-AndroidStudio快捷之道" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2016/10/03/AndroidStudio快捷之道/" class="article-date">
<time datetime="2016-10-03T04:52:18.000Z" itemprop="datePublished">2016-10-03</time>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2016/10/03/AndroidStudio快捷之道/">AndroidStudio快捷之道(Mac)</a>
</h1>
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-keyboard-o"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">351字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="fa fa-hourglass-half"></i>
<span class="post-meta-item-text"> 阅读时长: </span>
<span class="post-count">1分</span>
</span>
</span>
</div>
</header>
<div class="article-entry" itemprop="articleBody" style="margin-top:10px;">
<p><img src="http://i0.wp.com/www.devabee.com/wp-content/uploads/2016/04/android-studio-logo.png" alt=""></p>
<p>记录AndroidStudio中自己常用的快捷键,便于查询。</p>
<ul>
<li>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/Android/">Android</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/AS/">AS</a></li></ul>
</div>
<p class="article-more-link">
<a href="/2016/10/03/AndroidStudio快捷之道/#more">全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-mac下adb环境配置和常用adb命令" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2016/09/15/mac下adb环境配置和常用adb命令/" class="article-date">
<time datetime="2016-09-15T08:38:15.000Z" itemprop="datePublished">2016-09-15</time>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2016/09/15/mac下adb环境配置和常用adb命令/">mac下adb环境配置和常用adb命令</a>
</h1>
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-keyboard-o"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">692字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="fa fa-hourglass-half"></i>
<span class="post-meta-item-text"> 阅读时长: </span>
<span class="post-count">3分</span>
</span>
</span>
</div>
</header>
<div class="article-entry" itemprop="articleBody" style="margin-top:10px;">
<p>mac下adb环境的配置,及在Android开发和调试中常用的adb命令,在此收集整理以作参考备用。</p>
<ul>
<li>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/Android/">Android</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/adb/">adb</a></li></ul>
</div>
<p class="article-more-link">
<a href="/2016/09/15/mac下adb环境配置和常用adb命令/#more">全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-富文本显示时的emoj或图片和文字对齐的实现" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2016/07/01/富文本显示时的emoj或图片和文字对齐的实现/" class="article-date">
<time datetime="2016-07-01T14:38:54.000Z" itemprop="datePublished">2016-07-01</time>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2016/07/01/富文本显示时的emoj或图片和文字对齐的实现/">解决TextView富文本显示时emoj或图片和文字不对齐的问题</a>
</h1>
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-keyboard-o"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">899字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="fa fa-hourglass-half"></i>
<span class="post-meta-item-text"> 阅读时长: </span>
<span class="post-count">4分</span>
</span>
</span>
</div>
</header>
<div class="article-entry" itemprop="articleBody" style="margin-top:10px;">
<p>在项目中,回复框、聊天界面的显示往往会有emoj或者图片,但是一个比较头疼的问题是,会出现emoj表情或者图片和文字的位置不对齐,总是有偏移,十分不爽,进过自己的探索和借鉴,总结出以下两种方法,以作记录和借鉴。</p>
<ul>
<li>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/Android/">Android</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/emoj/">emoj</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/富文本/">富文本</a></li></ul>
</div>
<p class="article-more-link">
<a href="/2016/07/01/富文本显示时的emoj或图片和文字对齐的实现/#more">全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-Clickable的一个小bug" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2016/06/26/Clickable的一个小bug/" class="article-date">
<time datetime="2016-06-26T15:28:37.000Z" itemprop="datePublished">2016-06-26</time>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2016/06/26/Clickable的一个小bug/">设置SpannableString后,可点击文本不显示bug的解决</a>
</h1>
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-keyboard-o"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">356字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="fa fa-hourglass-half"></i>
<span class="post-meta-item-text"> 阅读时长: </span>
<span class="post-count">1分</span>
</span>
</span>
</div>
</header>
<div class="article-entry" itemprop="articleBody" style="margin-top:10px;">
<p>这两天在使用SpannableString时遇到一个bug,比较灵异,记录一下。<br>就是在利用ClickableSpan(不会的可以看我上一篇博客<a href="http://answerzhao.github.io/2016/06/20/Spannable%E5%AE%9E%E7%8E%B0%E5%AF%8C%E6%96%87%E6%9C%AC/#more">Spannable实现富文本</a>)设置TextView文字部分可点击时,文字刚开始不显示,只有点击了TextView时,文字才会显示(见下图),刚开始以为是哪里设置出了问题,各种检查,但是都没问题呀。</p>
<ul>
<li>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/Android/">Android</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/bugs/">bugs</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/富文本/">富文本</a></li></ul>
</div>
<p class="article-more-link">
<a href="/2016/06/26/Clickable的一个小bug/#more">全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-无题" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2016/06/21/无题/" class="article-date">
<time datetime="2016-06-21T15:28:47.000Z" itemprop="datePublished">2016-06-21</time>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2016/06/21/无题/">原博客丢了,重新开始吧</a>
</h1>
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-keyboard-o"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">117字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="fa fa-hourglass-half"></i>
<span class="post-meta-item-text"> 阅读时长: </span>
<span class="post-count">1分</span>
</span>
</span>
</div>
</header>
<div class="article-entry" itemprop="articleBody" style="margin-top:10px;">
<p>换了台新的MacBook Pro,重新搭建Hexo博客环境的时候,由于原来电脑上的源文件没有备份,我就直接在clone线上的文件,可是怎么处理都同步不了,找了一些关于更换电脑时Hexo博客如何迁移的博客,可是操作下来都不成功,最后直接惨了,什么都木有了,呵呵哒了。也无所谓了,从头开始,从新再来啦。</p>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/随笔/">随笔</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/折腾/">折腾</a></li></ul>
</div>
<div class="clearfix"></div>
</div>