3

My app has several widgets. Each of them is declared in the Manifest file with something like this:

   <receiver
        android:name=".MyWidgetProvider1"
        android:exported="false"
        android:icon="@drawable/MyIcon1"
        android:label="First widget">
        <intent-filter>
            <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
        </intent-filter>

        <meta-data
            android:name="android.appwidget.provider"
            android:resource="@xml/WidgetLayOut" />
    </receiver> 

I have 5 of them. Right now when long-pressing on the home screen the System shows the different apps with widgets. When tapping on my app, then the System expands and shows a list with the 5 available widgets that my app has. Good so far.

The problem is the widgets are sorted by the name. Can I choose how they are displayed? I would like to change the order of the list.

Changing the order in the manifest file doesn't help.

seekingStillness
  • 4,833
  • 5
  • 38
  • 68
Ton
  • 9,235
  • 15
  • 59
  • 103

0 Answers0