File tree 1 file changed +2
-0
lines changed
app/src/main/kotlin/com/simplemobiletools/notes/pro/activities
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import android.webkit.WebViewClient
27
27
import android.widget.ImageView
28
28
import android.widget.TextView
29
29
import android.widget.Toast
30
+ import androidx.viewpager.widget.ViewPager
30
31
import com.simplemobiletools.commons.dialogs.*
31
32
import com.simplemobiletools.commons.extensions.*
32
33
import com.simplemobiletools.commons.helpers.*
@@ -102,6 +103,7 @@ class MainActivity : SimpleActivity() {
102
103
binding.pagerTabStrip.setTextSize(TypedValue .COMPLEX_UNIT_PX , getPercentageFontSize())
103
104
binding.pagerTabStrip.layoutParams.height =
104
105
(binding.pagerTabStrip.height + resources.getDimension(com.simplemobiletools.commons.R .dimen.activity_margin) * 2 * (config.fontSizePercentage / 100f )).toInt()
106
+ (binding.pagerTabStrip.layoutParams as ViewPager .LayoutParams ).isDecor = true
105
107
checkWhatsNewDialog()
106
108
checkIntents(intent)
107
109
You can’t perform that action at this time.
0 commit comments