diff --git a/README.md b/README.md
index f992df5..6c6998a 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ If you only add a course, **the course time is automatically calculated** and ad
Timetable Library for Android Development
Author : Mint Park / Seoul, South Korea
Email : nasamk3@gmail.com
-Newest Version : 1.3.5 (JitPack)
+Newest Version : 1.3.6 (JitPack)
![Platform](https://img.shields.io/badge/Platform-Android-orange.svg)
![API](https://img.shields.io/badge/API-19%2B-green.svg)
diff --git a/app/build.gradle b/app/build.gradle
index e2bd26e..03ea7b4 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -13,8 +13,8 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 29
- versionCode 12
- versionName "1.3.5"
+ versionCode 13
+ versionName "1.3.6"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
diff --git a/app/src/main/java/com/islandparadise14/mintable/MinTimeTableView.kt b/app/src/main/java/com/islandparadise14/mintable/MinTimeTableView.kt
index 6810b82..37e5d7c 100644
--- a/app/src/main/java/com/islandparadise14/mintable/MinTimeTableView.kt
+++ b/app/src/main/java/com/islandparadise14/mintable/MinTimeTableView.kt
@@ -143,8 +143,8 @@ class MinTimeTableView : BaseTimeTable {
topMenu.layoutParams = LayoutParams(LayoutParams.WRAP_CONTENT, topMenuHeightPx.roundToInt())
mainTable.layoutParams = LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)
if (border) {
- timetable.setBackgroundColor(lineColor)
- timetable.setPadding(1,1,0,0)
+ borderBox.setBackgroundColor(lineColor)
+ borderBox.setPadding(dpToPx(tableContext,1f).roundToInt(),dpToPx(tableContext,1f).roundToInt(),0,0)
averageWidth -= 1
}
removeViews(arrayOf(zeroPoint, topMenu, timeCell, mainTable))
diff --git a/app/src/main/res/layout/mintable.xml b/app/src/main/res/layout/mintable.xml
index b2b9c6f..ec4232b 100644
--- a/app/src/main/res/layout/mintable.xml
+++ b/app/src/main/res/layout/mintable.xml
@@ -7,61 +7,69 @@
android:id="@+id/timetable"
android:orientation="horizontal">
-
-
+ tools:layout_width="match_parent">
+
+
+
+
+
+
+
+
-
-
-
-
+
-
+
-
+
-
+
-
+
-
+