Skip to content

Commit

Permalink
Small UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PizzaMarinara committed Sep 3, 2024
1 parent 05a5752 commit 2febb51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ class HistoryWidgetConfigureActivity : BaseWidgetConfigureActivity() {
}
binding.addButton.setText(commonR.string.update_widget)
} else {
binding.textSize.setText(HistoryWidget.DEFAULT_TEXT_SIZE.toInt().toString())
binding.backgroundType.setSelection(0)
}
entityAdapter = SingleItemArrayAdapter(this) { it?.entityId ?: "" }
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/layout/widget_history.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
android:id="@+id/widgetText"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2"
android:layout_weight="1"
android:layout_gravity="center"
android:text="@string/widget_label_placeholder_text_static_state"
android:textColor="?colorWidgetPrimary" />
Expand All @@ -28,7 +28,6 @@
android:id="@+id/widgetLabelLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_margin="2dp">

<ImageView
Expand Down

0 comments on commit 2febb51

Please sign in to comment.