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() {
172172 }
173173 binding.addButton.setText(commonR.string.update_widget)
174174 } else {
175+ binding.textSize.setText(HistoryWidget .DEFAULT_TEXT_SIZE .toInt().toString())
175176 binding.backgroundType.setSelection(0 )
176177 }
177178 entityAdapter = SingleItemArrayAdapter (this ) { it?.entityId ? : " " }
Original file line number Diff line number Diff line change 1919 android : id =" @+id/widgetText"
2020 android : layout_width =" match_parent"
2121 android : layout_height =" 0dp"
22- android : layout_weight =" 2 "
22+ android : layout_weight =" 1 "
2323 android : layout_gravity =" center"
2424 android : text =" @string/widget_label_placeholder_text_static_state"
2525 android : textColor =" ?colorWidgetPrimary" />
2828 android : id =" @+id/widgetLabelLayout"
2929 android : layout_width =" match_parent"
3030 android : layout_height =" wrap_content"
31- android : layout_weight =" 1"
3231 android : layout_margin =" 2dp" >
3332
3433 <ImageView
You can’t perform that action at this time.
0 commit comments