<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider
  xmlns:android="http://schemas.android.com/apk/res/android" 
  
  android:minHeight="48dp"
  android:minWidth="48dp"
  
  android:initialLayout="@layout/widget"
  
  android:updatePeriodMillis="0"
  />

<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider
  xmlns:android="http://schemas.android.com/apk/res/android" 
  
  android:minHeight="48dp"
  android:minWidth="48dp"
  
  android:initialLayout="@layout/widget"
  android:initialKeyguardLayout="@layout/widget"
  android:widgetCategory="keyguard|home_screen"
  
  android:updatePeriodMillis="0"
  />

Allow widget to be used on lock screen
Allow widget to be used on lock screen
