Skip to content

Commit

Permalink
LS Widgets: Center widget views
Browse files Browse the repository at this point in the history
Signed-off-by: DrDisagree <[email protected]>
  • Loading branch information
Mahmud0808 committed Mar 4, 2025
1 parent 743e47b commit d0bf916
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,9 @@ class LockscreenWidgetsView(private val context: Context, activityStarter: Any?)
this.layoutParams = LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT
)
).apply {
gravity = Gravity.CENTER
}

mContext = context
mAudioManager = mContext.getSystemService(AudioManager::class.java)
Expand Down

0 comments on commit d0bf916

Please sign in to comment.