3838
3939 <ImageButton
4040 android : id =" @+id/settingsButton"
41- android : layout_width =" 70dp "
42- android : layout_height =" 65dp "
41+ android : layout_width =" 50dp "
42+ android : layout_height =" 60dp "
4343 android : cropToPadding =" false"
44- android : scaleType =" fitXY "
44+ android : scaleType =" fitCenter "
4545 android : layout_marginTop =" @dimen/activity_safearea_top"
46+ android : paddingTop =" 20dp"
4647 android : layout_alignParentLeft =" true"
4748 android : layout_alignParentStart =" true"
4849 android : layout_alignParentTop =" true"
4950 android : src =" @drawable/ic_settings"
5051 android : preferKeepClear =" true"
52+ android : focusable =" true"
53+ android : focusableInTouchMode =" false"
5154 style =" ?android:attr/borderlessButtonStyle" />
5255
5356 <ImageButton
5457 android : id =" @+id/app_restoreSessionButton"
55- android : layout_width =" 70dp"
56- android : layout_height =" 65dp"
58+ android : layout_width =" 50dp"
59+ android : layout_height =" 60dp"
60+ android : paddingTop =" 20dp"
61+ android : scaleType =" fitCenter"
5762 android : cropToPadding =" false"
58- android : scaleType =" fitXY"
59- android : layout_marginTop =" @dimen/activity_safearea_top"
6063 android : layout_toRightOf =" @+id/settingsButton"
6164 android : layout_toEndOf =" @+id/settingsButton"
62- android : layout_alignParentTop = " true "
65+ android : layout_alignTop = " @+id/settingsButton "
6366 android : src =" @drawable/ic_restore"
6467 android : preferKeepClear =" true"
6568 style =" ?android:attr/borderlessButtonStyle" />
7477 android : layout_marginTop =" 20dp"
7578 android : layout_marginRight =" 20dp"
7679 android : layout_marginEnd =" 20dp"
77- android : layout_marginLeft =" 150dp "
80+ android : layout_marginLeft =" 90dp "
7881 android : gravity =" end"
7982 android : paddingTop =" @dimen/activity_safearea_top"
8083 android : paddingBottom =" 15dp"
8184 android : preferKeepClear =" true"
8285 android : textSize =" 24sp"
86+ android : autoSizeTextType =" uniform"
87+ android : autoSizeMinTextSize =" 14sp"
88+ android : autoSizeMaxTextSize =" 28sp"
89+ android : autoSizeStepGranularity =" 1sp"
8390 android : textStyle =" normal"
8491 android : fontFamily =" sans-serif-light"
8592 android : textColor =" #FFFFFF"
94101 android : breakStrategy =" balanced"
95102 android : hyphenationFrequency =" normal" />
96103
97- <!-- 上一次设置信息显示区域 - 放在应用列表下方 -->
104+ <!-- 显示器选择信息显示区域 - 位于appListText下方 -->
98105 <LinearLayout
99- android : id =" @+id/lastSettingsInfo"
106+ android : id =" @+id/displaySelectionInfo"
107+ android : layout_width =" match_parent"
108+ android : layout_height =" wrap_content"
109+ android : layout_below =" @id/appFragmentContainer"
110+ android : layout_marginLeft =" 8dp"
111+ android : layout_marginRight =" 8dp"
112+ android : layout_marginEnd =" 8dp"
113+ android : layout_marginTop =" 8dp"
114+ android : orientation =" vertical"
115+ android : gravity =" start"
116+ android : visibility =" gone" >
117+
118+ <RadioGroup
119+ android : id =" @+id/displayRadioGroup"
120+ android : layout_width =" wrap_content"
121+ android : layout_height =" wrap_content"
122+ android : orientation =" vertical"
123+ android : gravity =" start"
124+ android : layout_gravity =" start" />
125+
126+ </LinearLayout >
127+
128+ <!-- 底部信息容器 - 包含上一次设置信息 -->
129+ <LinearLayout
130+ android : id =" @+id/bottomInfoContainer"
100131 android : layout_width =" match_parent"
101132 android : layout_height =" wrap_content"
102133 android : layout_alignParentBottom =" true"
103- android : layout_marginTop =" 20dp"
104134 android : layout_marginLeft =" 20dp"
105135 android : layout_marginRight =" 20dp"
106136 android : layout_marginEnd =" 20dp"
107- android : layout_marginBottom =" 20dp "
137+ android : layout_marginBottom =" 10dp "
108138 android : orientation =" vertical"
109- android : gravity =" end"
110- android : visibility =" gone" >
139+ android : gravity =" end" >
111140
112- <CheckBox
113- android : id =" @+id/useLastSettingsCheckbox"
114- android : layout_width =" wrap_content"
115- android : layout_height =" wrap_content"
116- android : layout_marginTop =" 5dp"
117- android : focusable =" true"
118- android : text =" @string/app_last_settings_use_checkbox"
119- android : textColor =" #CCFFFFFF"
120- android : textSize =" 12sp"
121- android : fontFamily =" sans-serif-light"
122- android : buttonTint =" #FFFFFF"
123- android : checked =" false" />
124-
125- <TextView
126- android : id =" @+id/lastSettingsText"
141+ <!-- 上一次设置信息显示区域 -->
142+ <LinearLayout
143+ android : id =" @+id/lastSettingsInfo"
127144 android : layout_width =" match_parent"
128145 android : layout_height =" wrap_content"
129- android : textSize =" 13sp"
130- android : textColor =" #CCFFFFFF"
131- android : shadowColor =" #80000000"
132- android : shadowDx =" 1"
133- android : shadowDy =" 1"
134- android : shadowRadius =" 2"
135- android : fontFamily =" sans-serif-light"
136- android : background =" @drawable/settings_info_background"
137- android : padding =" 8dp"
138- android : maxLines =" 3"
139- android : ellipsize =" end"
140- android : lineSpacingExtra =" 2dp"
141- android : text =" @string/app_last_settings_title" />
146+ android : orientation =" vertical"
147+ android : gravity =" end"
148+ android : visibility =" gone" >
149+
150+ <CheckBox
151+ android : id =" @+id/useLastSettingsCheckbox"
152+ android : layout_width =" wrap_content"
153+ android : layout_height =" wrap_content"
154+ android : layout_marginTop =" 5dp"
155+ android : focusable =" true"
156+ android : text =" @string/app_last_settings_use_checkbox"
157+ android : textColor =" #CCFFFFFF"
158+ android : textSize =" 12sp"
159+ android : fontFamily =" sans-serif-light"
160+ android : buttonTint =" #FFFFFF"
161+ android : checked =" false" />
162+
163+ <TextView
164+ android : id =" @+id/lastSettingsText"
165+ android : layout_width =" match_parent"
166+ android : layout_height =" wrap_content"
167+ android : textSize =" 13sp"
168+ android : textColor =" #CCFFFFFF"
169+ android : shadowColor =" #80000000"
170+ android : shadowDx =" 1"
171+ android : shadowDy =" 1"
172+ android : shadowRadius =" 2"
173+ android : fontFamily =" sans-serif-light"
174+ android : background =" @drawable/settings_info_background"
175+ android : padding =" 8dp"
176+ android : maxLines =" 3"
177+ android : ellipsize =" end"
178+ android : lineSpacingExtra =" 2dp"
179+ android : text =" @string/app_last_settings_title" />
180+
181+ </LinearLayout >
142182
143183 </LinearLayout >
144184
145- </RelativeLayout >
185+ </RelativeLayout >
0 commit comments