Skip to content
ApkTutor
Android tutorials for beginners. Learn through our numerous examples.
  • Home
  • About Us
  • Contact Us
  • Privacy Policy
  • Sketchware downloads

Tag: Get Screen Width in android

Android code snippets 1

August 19, 2020 apktutor

Disable screenshot getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE); Hide suggestions from the soft keyboard on EditText view EditText.setInputType(InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD); Hide soft keyboard on Button Click…

Continue Reading →

Posted in: Code snippets Filed under: disable screenshot, get Screen Height, Get Screen Width in android, Hide keyboard
  • AdapterViews (10)
  • Advanced app examples (8)
  • Android canvas (3)
  • Code snippets (7)
  • Dialog (6)
  • Layouts and widgets (15)
  • Menu (2)
  • Notification (1)
  • Service (4)
  • Simple app examples (13)

Recent posts

  • Read and write files in app private storage
  • Detect faces in an image using ML Kit API.
  • Extract text from images
  • Crop and Rotate Image
  • Get meta data using Uri of a file
  • Android Notification Example
  • Moving between fragments
  • Pick and display a pdf file
  • BottomSheetDialog Example Android
  • Play music using MediaPlayer in Service

Join Our Newsletter

Sign up to receive timely, useful information in your inbox.


Privacy Policy
Copyright © 2025 ApkTutor — Primer WordPress theme by GoDaddy