Posts

Showing posts from 2020
Image
How to create simple but beautiful steps seek bar in sketchware. Step 1 : Arrange this widgets as shown above and on activity start set these blocks. //Here is the moreblock code used in the seek bar design android.graphics.drawable.GradientDrawable gd = new android.graphics.drawable.GradientDrawable(); gd.setColor(Color.parseColor(_col)); gd.setCornerRadius((float)_rad); gd.setStroke((int)_st, Color.parseColor(_clo)); _view.setBackground(gd); Step 2: Set button 1, 2 and tree onClicks as shown below : Step 3: Run your project.

How to show hide and confirm password

Image
Step 1. Create two edit texts and image and button. Step 3: Set your edit text's input option to textPassword. Step 3:  On image click create this blocks first number variable, if else block and  add source directly as shown below. Here is the code : //text into password style - Hide password edittext1.setTransformationMethod(android.text.method.PasswordTransformationMethod.getInstance()); //password into text - Show password edittext1.setTransformationMethod(android.text.method.HideReturnsTransformationMethod.getInstance()); Step 4: Set the your edittext id to your edittext's id as shown below. To confirm your password simple make arrange this blocks That's all thanks.

ACTION BAR INTENTS ACTIVITY

Image
Simple steps to put intents in action bar menu. Step 1: Create multiple activities. Step 2: Set every activity with something to understand when activity is changed. eg. Step 3 : Get this code below and put it into add source directly block  : } @Override public boolean onCreateOptionsMenu(Menu menu){ menu.add("First Activity").setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER); menu.add("Second Activity").setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER); menu.add("Third Activity").setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER); return true; } @Override  public boolean onOptionsItemSelected(final MenuItem item) { switch (item.getTitle().toString())  { case "First Activity": Intent a = new Intent (MainActivity.this,MainActivity.class); startActivity (a); return true; case "Second Activity": Intent b = new Intent (MainActivity.this,SecondActivity.class); startActivity (b); re...

3 Simple steps to became an Android Developer.

Image
Hi guys if you want to become an Android developer here are some simple steps :- Step 1:- Download Developer tools from google play store. This App help you to know more about Android App it's awesome. Step 2 : Download the most simplest Android IDE (Sketchware). You can download from google play store or Apk pure. Step 3: just follow my tutorials on YouTube  https://www.youtube.com/channel/UCotxO27NDNk5oNhX8IqQgVQ it's awesome you can easily understand. That's all.