mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-16 04:37:04 +05:30
feat(android): basic widget implementation
This needs a Glance version of LobstersCard to function
This commit is contained in:
parent
e740ddb7cc
commit
62f512e319
5 changed files with 103 additions and 0 deletions
15
android/src/main/res/xml/saved_posts_widget_info.xml
Normal file
15
android/src/main/res/xml/saved_posts_widget_info.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!--
|
||||
~ Copyright © 2023 Harsh Shandilya.
|
||||
~ Use of this source code is governed by an MIT-style
|
||||
~ license that can be found in the LICENSE file or at
|
||||
~ https://opensource.org/licenses/MIT.
|
||||
-->
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:initialLayout="@layout/glance_default_loading_layout"
|
||||
android:minWidth="250dp"
|
||||
android:minHeight="110dp"
|
||||
android:minResizeWidth="250dp"
|
||||
android:minResizeHeight="110dp"
|
||||
android:resizeMode="vertical|horizontal"
|
||||
android:updatePeriodMillis="1800000"
|
||||
android:widgetCategory="home_screen" />
|
Loading…
Add table
Add a link
Reference in a new issue