Skip to content

Commit d15d5f6

Browse files
v0.9.1 Fixed widget not showing on some devices
1 parent 70bc4d3 commit d15d5f6

File tree

7 files changed

+8
-7
lines changed

7 files changed

+8
-7
lines changed
File renamed without changes.
1.88 MB
Binary file not shown.
37.5 KB
Binary file not shown.
1010 KB
Binary file not shown.

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ android {
1010
applicationId "com.slash.batterychargelimit"
1111
minSdkVersion 19
1212
targetSdkVersion 25
13-
versionCode 11
14-
versionName "0.9"
13+
versionCode 12
14+
versionName "0.9.1"
1515
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1616
setProperty("archivesBaseName", "BatteryChargeLimit-$versionName")
1717
}

app/src/main/res/layout/enable.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
android:layout_height="match_parent">
55
<ImageButton
66
android:id="@+id/enable"
7-
android:layout_width="wrap_content"
8-
android:layout_height="wrap_content"
7+
android:layout_width="match_parent"
8+
android:layout_height="match_parent"
99
android:src="@drawable/widget_disabled"
1010
android:background="#000000ff"
1111
android:layout_gravity="center"
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<appwidget-provider
33
xmlns:android="http://schemas.android.com/apk/res/android"
4-
android:layout_height="40dp"
54
android:updatePeriodMillis="0"
6-
android:layout_width="40dp"
7-
5+
android:layout_height="match_parent"
6+
android:layout_width="match_parent"
7+
android:minHeight="40dp"
8+
android:minWidth="40dp"
89
android:initialLayout="@layout/activity_main">
910
</appwidget-provider>

0 commit comments

Comments
 (0)