minor UI changes to use bigger letters on monthly view
This commit is contained in:
parent
98cd76041c
commit
5d57eea81c
|
@ -302,7 +302,7 @@ fun Context.addDayEvents(day: DayMonthly, linearLayout: LinearLayout, res: Resou
|
|||
backgroundDrawable.mutate().setColorFilter(it.color, PorterDuff.Mode.SRC_IN)
|
||||
|
||||
val eventLayoutParams = LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
|
||||
eventLayoutParams.setMargins(dividerMargin, dividerMargin, dividerMargin, dividerMargin)
|
||||
eventLayoutParams.setMargins(dividerMargin, 0, dividerMargin, dividerMargin)
|
||||
|
||||
var textColor = it.color.getContrastColor().adjustAlpha(MEDIUM_ALPHA)
|
||||
if (!day.isThisMonth) {
|
||||
|
|
|
@ -12,5 +12,5 @@
|
|||
android:maxLines="1"
|
||||
android:paddingLeft="@dimen/tiny_margin"
|
||||
android:paddingRight="@dimen/tiny_margin"
|
||||
android:textSize="@dimen/day_monthly_text_size"
|
||||
android:textSize="@dimen/smaller_text_size"
|
||||
tools:text="1"/>
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/small_margin"
|
||||
android:paddingTop="@dimen/small_margin">
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
android:id="@+id/week_num"
|
||||
|
|
|
@ -7,20 +7,21 @@
|
|||
|
||||
<include layout="@layout/top_navigation"/>
|
||||
|
||||
<include
|
||||
android:id="@+id/first_row"
|
||||
layout="@layout/first_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/top_value"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/table_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/top_value"
|
||||
android:layout_below="@+id/first_row"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include
|
||||
layout="@layout/first_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/month_line_holder_1"
|
||||
android:layout_width="match_parent"
|
||||
|
|
Loading…
Reference in New Issue