Found 2041 Articles for Mobile Development

How to draw star shape in android?

George John
Updated on 27-Jun-2020 06:55:40

945 Views

This example demonstrate about How to draw star shape in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken imageview and added background as background.xml.Step 3 − Add the following code to drawable/ background.xml     Let's try to run your application. I assume you have connected your actual Android Mobile device with your computer. To run the app from android studio, open one of ... Read More

How to draw profile icon shape in android?

Arjun Thakur
Updated on 27-Jun-2020 06:53:48

552 Views

This example demonstrate about How to draw profile icon shape in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken imageview and added background as background.xml.Step 3 − Add the following code to drawable/ background.xml     Let's try to run your application. I assume you have connected your actual Android Mobile device with your computer. To run the app from android studio, open one ... Read More

How to draw love shape in android?

Chandu yadav
Updated on 27-Jun-2020 06:53:10

485 Views

This example demonstrate about How to draw love shape in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken imageview and added background as background.xml.Step 3 − Add the following code to drawable/ background.xml     Let's try to run your application. I assume you have connected your actual Android Mobile device with your computer. To run the app from android studio, open ... Read More

How to draw close shape in android?

Ankith Reddy
Updated on 27-Jun-2020 06:46:17

296 Views

 This example demonstrate about How to draw close shape in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken imageview and added background as background.xml.Step 3 − Add the following code to drawable/ background.xml     Let's try to run your application. I assume you have connected your actual Android Mobile device with your computer. To run the app from android studio, open one of ... Read More

How to create circler edit text in android?

George John
Updated on 27-Jun-2020 06:45:32

90 Views

This example demonstrate about How to create circler edit text in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken edit text and added background as background.xml.Step 3 − Add the following code to drawable/ background.xml             Let's try to run your application. I assume you have connected your actual Android Mobile device with your computer. To run the ... Read More

How can I add an image on EditText?

Arjun Thakur
Updated on 27-Jun-2020 06:44:58

430 Views

This example demonstrate about how can I add an image on EditText.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken edit text and added background as background.xml.Step 3 − Add the following code to drawable/ background.xml             Let's try to run your application. I assume you have connected your actual Android Mobile device with your computer. To run the ... Read More

How to remove button bar at the bottom screen?

Chandu yadav
Updated on 27-Jun-2020 06:25:15

574 Views

This example demonstrate about How to remove button bar at the bottom screen.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken the digital clock view to show a clock.Step 3− Add the following code to java/MainActivity.xmlpackage com.example.myapplication; import android.annotation.TargetApi; import android.content.pm.ActivityInfo; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.view.Window; import android.view.WindowManager; public class MainActivity extends AppCompatActivity {    @TargetApi(Build.VERSION_CODES.LOLLIPOP) ... Read More

How to hide action bar in android?

Ankith Reddy
Updated on 30-Jul-2019 22:30:25

706 Views

This example demonstrate about How to hide action bar in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken the digital clock view to show a clock.Step 3− Add the following code to java/MainActivity.xmlpackage com.example.myapplication; import android.annotation.TargetApi; import android.content.pm.ActivityInfo; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.view.Window; import android.view.WindowManager; public class MainActivity extends AppCompatActivity {    @TargetApi(Build.VERSION_CODES.LOLLIPOP)    @RequiresApi(api ... Read More

How to get full screen activity in android?

George John
Updated on 30-Jul-2019 22:30:25

4K+ Views

This example demonstrate about How to get full screen activity in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken the digital clock view to show a clock.Step 3− Add the following code to java/MainActivity.xmlpackage com.example.myapplication; import android.annotation.TargetApi; import android.content.pm.ActivityInfo; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.view.Window; import android.view.WindowManager; public class MainActivity extends AppCompatActivity {    @TargetApi(Build.VERSION_CODES.LOLLIPOP)   ... Read More

How to find edit text values start from Number is Even or Odd?

Arjun Thakur
Updated on 30-Jul-2019 22:30:25

1K+ Views

This example demonstrate about How to find edit text values start from Number is Even or Odd.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.         In the above code, we have taken edit text and button view to verify edit text data is starting with Even.Step 3− Add the following code to java/MainActivity.xmlpackage com.example.myapplication; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.EditText; import android.widget.Toast; public class MainActivity extends ... Read More

Advertisements