22<FrameLayout xmlns : android =" http://schemas.android.com/apk/res/android"
33 android : layout_width =" match_parent"
44 android : layout_height =" match_parent"
5- android : fitsSystemWindows =" false "
5+ android : fitsSystemWindows =" true "
66 android : backgroundTintMode =" screen"
7- android : clipToPadding =" true" > <!-- đổi màu nền nếu muốn -->
7+ android : clipToPadding =" true" >
88
9- <!-- LinearLayout chính chứa FrameLayout + TextView -->
109 <LinearLayout
1110 android : id =" @+id/start_logo"
12- android : layout_width =" match_parent "
11+ android : layout_width =" wrap_content "
1312 android : layout_height =" wrap_content"
1413 android : orientation =" vertical"
1514 android : gravity =" center"
16- android : layout_gravity =" center_horizontal"
17- android : paddingTop =" 50dp" >
15+ android : layout_gravity =" center" > <!-- <--- căn cả màn hình -->
1816
19- <!-- FrameLayout chồng background + logo -->
2017 <FrameLayout
2118 android : layout_width =" 250dp"
22- android : layout_height =" 250dp"
23- android : layout_gravity =" center" >
19+ android : layout_height =" 250dp" >
2420
25- <!-- Background xoay -->
2621 <ImageView
2722 android : id =" @+id/start_logo_xml"
2823 android : layout_width =" match_parent"
2924 android : layout_height =" match_parent"
3025 android : src =" @drawable/ic_settings_background"
3126 android : scaleType =" centerCrop" />
3227
33- <!-- Logo chính -->
3428 <ImageView
3529 android : layout_width =" match_parent"
3630 android : layout_height =" match_parent"
3731 android : src =" @drawable/ic_settings"
3832 android : scaleType =" centerInside" />
3933 </FrameLayout >
4034
41- <!-- Text hiển thị trạng thái -->
4235 <TextView
4336 android : id =" @+id/fullscreen_content"
4437 android : layout_width =" wrap_content"
4538 android : layout_height =" wrap_content"
46- android : layout_marginTop =" 20dp"
47- android : gravity =" center"
48- android : keepScreenOn =" true"
4939 android : text =" @string/pio_starting"
5040 android : textSize =" 35sp"
51- android : textStyle =" bold" />
41+ android : textStyle =" bold"
42+ android : gravity =" center"
43+ android : layout_marginTop =" 20dp" />
5244
5345 <TextView
5446 android : id =" @+id/start_state_text"
55- android : layout_width =" match_parent "
47+ android : layout_width =" wrap_content "
5648 android : layout_height =" wrap_content"
57- android : layout_marginTop =" 10dp"
58- android : layout_marginStart =" 20dp"
59- android : layout_marginEnd =" 20dp"
60- android : layout_marginBottom =" 40dp"
61- android : minLines =" 8"
6249 android : text =" @string/pop_before_start"
63- android : textAlignment =" center"
64- android : textSize =" 14sp" />
50+ android : textSize =" 14sp"
51+ android : gravity =" center"
52+ android : layout_marginTop =" 10dp" />
6553 </LinearLayout >
6654
6755</FrameLayout >
0 commit comments