mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 04:10:45 +01:00
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)
|
backgroundDrawable.mutate().setColorFilter(it.color, PorterDuff.Mode.SRC_IN)
|
||||||
|
|
||||||
val eventLayoutParams = LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
|
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)
|
var textColor = it.color.getContrastColor().adjustAlpha(MEDIUM_ALPHA)
|
||||||
if (!day.isThisMonth) {
|
if (!day.isThisMonth) {
|
||||||
|
@ -12,5 +12,5 @@
|
|||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:paddingLeft="@dimen/tiny_margin"
|
android:paddingLeft="@dimen/tiny_margin"
|
||||||
android:paddingRight="@dimen/tiny_margin"
|
android:paddingRight="@dimen/tiny_margin"
|
||||||
android:textSize="@dimen/day_monthly_text_size"
|
android:textSize="@dimen/smaller_text_size"
|
||||||
tools:text="1"/>
|
tools:text="1"/>
|
||||||
|
@ -4,8 +4,9 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="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
|
<com.simplemobiletools.commons.views.MyTextView
|
||||||
android:id="@+id/week_num"
|
android:id="@+id/week_num"
|
||||||
|
@ -7,20 +7,21 @@
|
|||||||
|
|
||||||
<include layout="@layout/top_navigation"/>
|
<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
|
<LinearLayout
|
||||||
android:id="@+id/table_holder"
|
android:id="@+id/table_holder"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_below="@+id/top_value"
|
android:layout_below="@+id/first_row"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<include
|
|
||||||
layout="@layout/first_row"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_weight="2"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/month_line_holder_1"
|
android:id="@+id/month_line_holder_1"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user