随笔分类 -  [android]

基础点,比较杂,碎
摘要:public class Datum { public String title ; public int code ; public String getTitle() { return title; } public int getCode() { return code; } public v 阅读全文
posted @ 2016-07-28 22:12 咖喱不见不散啊 阅读(276) 评论(0) 推荐(0)
摘要:<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > <Te 阅读全文
posted @ 2016-07-28 17:35 咖喱不见不散啊 阅读(270) 评论(0) 推荐(0)
摘要:1. public class DemoTreeMap3 { public static void main(String[] args) { System.out.println(" 对hashMap按照key进行排序 "); Map<Car,String> map = new HashMap<C 阅读全文
posted @ 2016-07-27 22:59 咖喱不见不散啊 阅读(190) 评论(0) 推荐(0)
摘要:1. public static void main(String[] args) { // ArrayList类实现一个可增长的动态数组 List<String> list = new ArrayList<String>(); // 插入元素 list.add("list1"); list.add 阅读全文
posted @ 2016-07-27 22:35 咖喱不见不散啊 阅读(199) 评论(0) 推荐(0)
摘要:1.空布局 1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:tools="http://sche 阅读全文
posted @ 2016-06-21 20:08 咖喱不见不散啊
摘要:1 <?xml version="1.0" encoding="utf-8"?> 2 <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > 3 <item> 4 <shape> 5 <corners 6 an 阅读全文
posted @ 2016-06-14 16:14 咖喱不见不散啊
摘要:shape 形状 功能:用于改变view的外观 阅读全文
posted @ 2016-06-14 15:30 咖喱不见不散啊 阅读(275) 评论(0) 推荐(0)
摘要:1 <TextView 2 android:layout_width="wrap_content" 3 android:layout_height="wrap_content" 4 android:text="Hello World!" 5 android:id="@+id/textView" /> 阅读全文
posted @ 2016-06-01 20:16 咖喱不见不散啊