use a bit bigger text size on some places

This commit is contained in:
tibbi 2023-01-11 11:55:47 +01:00
parent 39b72dcf5d
commit 18b21f89a9
3 changed files with 6 additions and 3 deletions

View File

@ -16,6 +16,7 @@ import com.simplemobiletools.commons.adapters.MyRecyclerViewListAdapter
import com.simplemobiletools.commons.extensions.*
import com.simplemobiletools.commons.views.MyRecyclerView
import kotlinx.android.synthetic.main.item_timer.view.*
import me.grantland.widget.AutofitHelper
import org.greenrobot.eventbus.EventBus
class TimerAdapter(
@ -103,6 +104,7 @@ class TimerAdapter(
timer_label.setHintTextColor(textColor.adjustAlpha(0.7f))
timer_label.text = timer.label
AutofitHelper.create(timer_time)
timer_time.setTextColor(textColor)
timer_time.text = when (timer.state) {
is TimerState.Finished -> 0.getFormattedDuration()

View File

@ -17,11 +17,12 @@
android:paddingTop="@dimen/medium_margin"
android:paddingBottom="@dimen/activity_margin">
<com.simplemobiletools.commons.views.MyTextView
<TextView
android:id="@+id/timer_time"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:maxLines="1"
android:textSize="@dimen/alarm_text_size"
app:layout_constraintEnd_toStartOf="@id/timer_reset"
app:layout_constraintStart_toStartOf="parent"

View File

@ -14,8 +14,8 @@
<dimen name="clock_text_size">70sp</dimen>
<dimen name="clock_text_size_smaller">60sp</dimen>
<dimen name="alarm_text_size">48sp</dimen>
<dimen name="stopwatch_text_size">60sp</dimen>
<dimen name="alarm_text_size">60sp</dimen>
<dimen name="stopwatch_text_size">80sp</dimen>
<dimen name="widget_time_text_size_small">48sp</dimen>
<dimen name="widget_details_text_size">14sp</dimen>
<dimen name="reminder_activity_title_size">32sp</dimen>