Found 1631 Articles for Android

How to set ImageView in edittext?

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

181 Views

This example demonstrate about How to set Image View in edit text.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 draw triangle shape in android?

Chandu yadav
Updated on 27-Jun-2020 06:56:50

2K+ Views

This example demonstrate about How to draw triangle 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 tick mark with circle background shape in android?

Ankith Reddy
Updated on 27-Jun-2020 06:56:20

828 Views

This example demonstrates How to draw tick mark with circle background 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 image view 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 the ... Read More

How to draw star shape in android?

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

935 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

547 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

482 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

293 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

89 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

425 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

572 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

Advertisements