Skip to content

Commit 5d38f3c

Browse files
committed
Improve styling
1 parent f91ffd3 commit 5d38f3c

5 files changed

Lines changed: 8 additions & 10 deletions

File tree

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ android {
2222
applicationId = "dev.randombits.intervaltimer"
2323
minSdk = 24
2424
targetSdk = 33
25-
versionCode = 5
26-
versionName = "1.0.5"
25+
versionCode = 7
26+
versionName = "1.0.7"
2727

2828
vectorDrawables {
2929
useSupportLibrary = true

app/src/main/java/dev/randombits/intervaltimer/TimerFragment.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,10 @@ class TimerFragment : Fragment() {
6666

6767
override fun onStatusChange(status: TimerStatus, set: Int) {
6868
if (status === TimerStatus.ACTIVE) {
69-
// view.setBackgroundColor(resources.getColor(R.color.activeBg));
7069
statusTextView.setTextColor(resources.getColor(R.color.activeBg));
7170
} else if (status === TimerStatus.REST) {
72-
// view.setBackgroundColor(resources.getColor(R.color.restBg));
7371
statusTextView.setTextColor(resources.getColor(R.color.restBg));
7472
} else {
75-
// view.setBackgroundColor(resources.getColor(R.color.startBg));
7673
statusTextView.setTextColor(resources.getColor(R.color.text));
7774
}
7875

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
android:layout_height="wrap_content"
2525
android:src="@drawable/minus"
2626
android:contentDescription="@string/decrease_active_time"
27-
android:scaleType="fitCenter" android:padding="16dp"/>
27+
android:scaleType="fitCenter" android:padding="16dp" android:background="@color/white"/>
2828

2929
<EditText
3030
android:id="@+id/activeTime"
@@ -42,7 +42,7 @@
4242
android:layout_height="wrap_content"
4343
android:src="@drawable/add_24"
4444
android:contentDescription="@string/increase_active_time"
45-
android:scaleType="fitCenter" android:padding="16dp"/>
45+
android:scaleType="fitCenter" android:padding="16dp" android:background="@color/white"/>
4646
</LinearLayout>
4747
<TextView
4848
android:text="@string/restTime_label"
@@ -61,7 +61,7 @@
6161
android:layout_height="wrap_content"
6262
android:src="@drawable/minus"
6363
android:contentDescription="@string/decrease_rest_time"
64-
android:scaleType="fitCenter" android:padding="16dp"/>
64+
android:scaleType="fitCenter" android:padding="16dp" android:background="@color/white"/>
6565

6666
<EditText
6767
android:id="@+id/restTime"
@@ -78,7 +78,7 @@
7878
android:layout_height="wrap_content"
7979
android:src="@drawable/add_24"
8080
android:contentDescription="@string/increase_rest_time"
81-
android:scaleType="fitCenter" android:padding="16dp"/>
81+
android:scaleType="fitCenter" android:padding="16dp" android:background="@color/white"/>
8282
</LinearLayout>
8383

8484
<Button

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
33
id("com.android.application") version "8.2.0" apply false
4-
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
4+
id("org.jetbrains.kotlin.android") version "1.8.10" apply false
55
}

metadata/en-US/changelogs/7.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update styling

0 commit comments

Comments
 (0)