File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
app/src/main/kotlin/com/simplemobiletools/notes/pro/activities Expand file tree Collapse file tree 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
2727import android.widget.ImageView
2828import android.widget.TextView
2929import android.widget.Toast
30+ import androidx.viewpager.widget.ViewPager
3031import com.simplemobiletools.commons.dialogs.*
3132import com.simplemobiletools.commons.extensions.*
3233import com.simplemobiletools.commons.helpers.*
@@ -102,6 +103,7 @@ class MainActivity : SimpleActivity() {
102103 binding.pagerTabStrip.setTextSize(TypedValue .COMPLEX_UNIT_PX , getPercentageFontSize())
103104 binding.pagerTabStrip.layoutParams.height =
104105 (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
105107 checkWhatsNewDialog()
106108 checkIntents(intent)
107109
You can’t perform that action at this time.
0 commit comments