File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
java/io/homeassistant/companion/android/widgets/history Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ class HistoryWidgetConfigureActivity : BaseWidgetConfigureActivity() {
172
172
}
173
173
binding.addButton.setText(commonR.string.update_widget)
174
174
} else {
175
+ binding.textSize.setText(HistoryWidget .DEFAULT_TEXT_SIZE .toInt().toString())
175
176
binding.backgroundType.setSelection(0 )
176
177
}
177
178
entityAdapter = SingleItemArrayAdapter (this ) { it?.entityId ? : " " }
Original file line number Diff line number Diff line change 19
19
android : id =" @+id/widgetText"
20
20
android : layout_width =" match_parent"
21
21
android : layout_height =" 0dp"
22
- android : layout_weight =" 2 "
22
+ android : layout_weight =" 1 "
23
23
android : layout_gravity =" center"
24
24
android : text =" @string/widget_label_placeholder_text_static_state"
25
25
android : textColor =" ?colorWidgetPrimary" />
28
28
android : id =" @+id/widgetLabelLayout"
29
29
android : layout_width =" match_parent"
30
30
android : layout_height =" wrap_content"
31
- android : layout_weight =" 1"
32
31
android : layout_margin =" 2dp" >
33
32
34
33
<ImageView
You can’t perform that action at this time.
0 commit comments