diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
index 38de067..942701a 100644
--- a/.idea/inspectionProfiles/Project_Default.xml
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -6,5 +6,6 @@
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 7158618..ad53516 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,8 +1,5 @@
-
-
-
@@ -27,17 +24,7 @@
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/README.md b/README.md
index 141dfba..364c719 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ Library for speedy implementation menu with BottomSheet
[![Release](https://jitpack.io/v/whalemare/sheetmenu.svg)](https://jitpack.io/#whalemare/sheetmenu)
-![Screenshot](screens/1.3.3.gif)
+![Screenshot](screens/$app_version.gif)
Usage
-----
@@ -50,19 +50,19 @@ Install
Be sure, that you have `Jitpack` in your root gradle file
-```
+```diff
allprojects {
repositories {
jcenter()
- maven { url "https://jitpack.io" }
++ maven { url "https://jitpack.io" }
}
}
```
Include dependency with `BottomSheet` in your app.gradle file with:
-```groovy
-compile 'com.github.whalemare:sheetmenu:1.3.3'
+```diff
++ implementation 'com.github.whalemare:sheetmenu:$app_version'
```
diff --git a/app/build.gradle b/app/build.gradle
index 84964ec..11fb605 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -40,7 +40,7 @@ dependencies {
// compile 'com.github.whalemare:sheetmenu:1.3.2'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
- compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
+ compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
testCompile 'junit:junit:4.12'
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
diff --git a/app/src/main/java/ru/whalemare/bottomsheet/MainActivityKotlin.kt b/app/src/main/java/ru/whalemare/bottomsheet/MainActivityKotlin.kt
index 63eb843..f5347b3 100644
--- a/app/src/main/java/ru/whalemare/bottomsheet/MainActivityKotlin.kt
+++ b/app/src/main/java/ru/whalemare/bottomsheet/MainActivityKotlin.kt
@@ -49,7 +49,7 @@ open class MainActivityKotlin : AppCompatActivity() {
fun setupGrid() {
SheetMenu(
titleId = if (needTitle) R.string.title else 0,
- menu = R.menu.menu_icons,
+ menu = R.menu.menu_long_icons,
layoutManager = GridLayoutManager(this, 3),
click = MenuItem.OnMenuItemClickListener {
toast("Click on ${it.title}")
diff --git a/app/src/main/res/menu/menu_icons.xml b/app/src/main/res/menu/menu_icons.xml
index 31420e0..12a7cd2 100644
--- a/app/src/main/res/menu/menu_icons.xml
+++ b/app/src/main/res/menu/menu_icons.xml
@@ -1,18 +1,38 @@
\ No newline at end of file
diff --git a/app/src/main/res/menu/menu_long_icons.xml b/app/src/main/res/menu/menu_long_icons.xml
new file mode 100644
index 0000000..1c48410
--- /dev/null
+++ b/app/src/main/res/menu/menu_long_icons.xml
@@ -0,0 +1,34 @@
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index f38605f..ae336a0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,8 +1,8 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
- ext.kotlin_version = '1.1.2-5'
- ext.app_version = "1.3.3"
+ ext.kotlin_version = '1.2.21'
+ ext.app_version = "1.3.4"
repositories {
jcenter()
}
diff --git a/sheetmenu/src/main/res/layout/item_linear.xml b/sheetmenu/src/main/res/layout/item_linear.xml
index 8528661..533491b 100644
--- a/sheetmenu/src/main/res/layout/item_linear.xml
+++ b/sheetmenu/src/main/res/layout/item_linear.xml
@@ -16,6 +16,7 @@
android:layout_height="24dp"
android:layout_gravity="center"
android:layout_marginEnd="32dp"
+ android:layout_marginRight="32dp"
tools:background="@color/gray_material"/>