Skip to content

Commit

Permalink
change: resizeable moon widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamza417 committed Feb 24, 2025
1 parent 476e928 commit 7f809e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/layout/widget_moon_phase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

<ImageView
android:id="@+id/widget_moon_phase_art"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_width="120dp"
android:layout_height="120dp"
android:src="@drawable/moon_phase_02"
tools:ignore="ContentDescription" />

Expand Down
5 changes: 1 addition & 4 deletions app/src/main/res/xml/moon_phase_widget_info.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialLayout="@layout/widget_moon_phase"
android:minResizeHeight="160dp"
android:minResizeWidth="160dp"
android:minWidth="160dp"
android:minHeight="200dp"
android:resizeMode="horizontal|vertical"
android:updatePeriodMillis="3600000" />

0 comments on commit 7f809e3

Please sign in to comment.