- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 1631 Articles for Android
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
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
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
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
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
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
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
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
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
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