Skip to content

Commit

Permalink
v0.9.1 Fixed widget not showing on some devices
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharshaarangi committed May 6, 2017
1 parent 70bc4d3 commit d15d5f6
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
File renamed without changes.
Binary file added app/BatteryChargeLimit-0.9-debug.apk
Binary file not shown.
Binary file modified app/BatteryChargeLimit-0.9-release.apk
Binary file not shown.
Binary file added app/BatteryChargeLimit-0.9.1-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "com.slash.batterychargelimit"
minSdkVersion 19
targetSdkVersion 25
versionCode 11
versionName "0.9"
versionCode 12
versionName "0.9.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
setProperty("archivesBaseName", "BatteryChargeLimit-$versionName")
}
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/enable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
android:layout_height="match_parent">
<ImageButton
android:id="@+id/enable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/widget_disabled"
android:background="#000000ff"
android:layout_gravity="center"
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/res/xml/enable_widget.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="40dp"
android:updatePeriodMillis="0"
android:layout_width="40dp"

android:layout_height="match_parent"
android:layout_width="match_parent"
android:minHeight="40dp"
android:minWidth="40dp"
android:initialLayout="@layout/activity_main">
</appwidget-provider>

0 comments on commit d15d5f6

Please sign in to comment.