11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <android .support.constraint.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3- xmlns : app =" http://schemas.android.com/apk/res-auto"
2+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
43 xmlns : tools =" http://schemas.android.com/tools"
54 android : layout_width =" match_parent"
65 android : layout_height =" match_parent"
6+ android : gravity =" center"
7+ android : orientation =" vertical"
78 tools : context =" .MainActivity" >
89
910 <TextView
1011 android : id =" @+id/text_view"
1112 android : layout_width =" wrap_content"
1213 android : layout_height =" wrap_content"
13- android : text =" Hello World!"
14- app : layout_constraintBottom_toBottomOf =" parent"
15- app : layout_constraintLeft_toLeftOf =" parent"
16- app : layout_constraintRight_toRightOf =" parent"
17- app : layout_constraintTop_toTopOf =" parent" />
14+ android : text =" Hello World!" />
1815
1916 <Button
2017 android : id =" @+id/button"
2118 android : layout_width =" wrap_content"
2219 android : layout_height =" wrap_content"
23- android : text =" 存StringSet"
24- app : layout_constraintEnd_toEndOf =" parent"
25- app : layout_constraintStart_toStartOf =" parent"
26- app : layout_constraintTop_toBottomOf =" @+id/text_view" />
20+ android : text =" 存StringSet" />
2721
2822 <Button
2923 android : id =" @+id/button2"
3024 android : layout_width =" wrap_content"
3125 android : layout_height =" wrap_content"
32- android : text =" 读StringSet"
33- app : layout_constraintEnd_toEndOf =" parent"
34- app : layout_constraintStart_toStartOf =" parent"
35- app : layout_constraintTop_toBottomOf =" @+id/button" />
26+ android : text =" 读StringSet" />
3627
3728 <Button
3829 android : id =" @+id/showLoading"
3930 android : layout_width =" wrap_content"
4031 android : layout_height =" wrap_content"
41- android : text =" showLoading"
42- app : layout_constraintEnd_toEndOf =" @+id/button2"
43- app : layout_constraintStart_toStartOf =" @+id/button2"
44- app : layout_constraintTop_toBottomOf =" @+id/button2" />
32+ android : text =" showLoading" />
4533
4634 <Button
4735 android : id =" @+id/hideLoading"
4836 android : layout_width =" wrap_content"
4937 android : layout_height =" wrap_content"
5038 android : layout_marginTop =" 8dp"
51- android : text =" hideLoading"
52- app : layout_constraintEnd_toEndOf =" @+id/showLoading"
53- app : layout_constraintStart_toStartOf =" @+id/showLoading"
54- app : layout_constraintTop_toBottomOf =" @+id/showLoading" />
39+ android : text =" hideLoading" />
5540
5641 <Button
5742 android : id =" @+id/btn_log"
5843 android : layout_width =" wrap_content"
5944 android : layout_height =" wrap_content"
60- android : text =" 打印log"
61- app : layout_constraintStart_toStartOf =" parent"
62- app : layout_constraintTop_toTopOf =" parent" />
45+ android : text =" 打印log" />
6346
64- </android .support.constraint.ConstraintLayout>
47+ <Button
48+ android : id =" @+id/btn_display"
49+ android : layout_width =" wrap_content"
50+ android : layout_height =" wrap_content"
51+ android : text =" 打印屏幕宽高" />
52+
53+ <Button
54+ android : id =" @+id/btn_sim"
55+ android : layout_width =" wrap_content"
56+ android : layout_height =" wrap_content"
57+ android : text =" 是否有sim卡" />
58+
59+ </LinearLayout >
0 commit comments