পোস্টগুলি

Create activity and go one to another

AndroidMAnifest.xml: <? xml version= "1.0" encoding= "utf-8" ?> < manifest xmlns: android = "http://schemas.android.com/apk/res/android" package= "com.example.seam.createactivity5" > < application android :allowBackup= "true" android :icon= "@mipmap/ic_launcher" android :label= "@string/app_name" android :roundIcon= "@mipmap/ic_launcher_round" android :supportsRtl= "true" android :theme= "@style/AppTheme" > < activity android :name= ".MainActivity" > < intent-filter > < action android :name= "android.intent.action.MAIN" /> < category android :name= "android.intent.category.LAUNCHER" /> </ intent-filter > </ activity > < activity android

Add two number by using Edit text , Text view and Button

Activity main xml Code: <? xml version= "1.0" encoding= "utf-8" ?> < android.support.constraint.ConstraintLayout xmlns: android = "http://schemas.android.com/apk/res/android" xmlns: app = "http://schemas.android.com/apk/res-auto" xmlns: tools = "http://schemas.android.com/tools" android :layout_width= "match_parent" android :layout_height= "match_parent" tools :context= "com.example.seam.addtonumber.MainActivity" > < Button android :id= "@+id/button" android :layout_width= "wrap_content" android :layout_height= "wrap_content" android :text= "Button" android :layout_marginTop= "161dp" app :layout_constraintTop_toBottomOf= "@+id/editText" android :layout_marginRight= "8dp" app :layout_constraintRight_toRightOf

Input and Output String by using EditText and Button and Text viewActiviti_main.xml Code:

Activiti_main.xml Code: <? xml version= "1.0" encoding= "utf-8" ?> < android.support.constraint.ConstraintLayout xmlns: android = "http://schemas.android.com/apk/res/android" xmlns: app = "http://schemas.android.com/apk/res-auto" xmlns: tools = "http://schemas.android.com/tools" android :layout_width= "match_parent" android :layout_height= "match_parent" tools :context= "com.example.seam.addtonumber.MainActivity" > < Button android :id= "@+id/button" android :layout_width= "wrap_content" android :layout_height= "wrap_content" android :text= "Button" android :layout_marginTop= "161dp" app :layout_constraintTop_toBottomOf= "@+id/editText" android :layout_marginRight= "8dp" app :layout_constraintRight_toRightOf= "pare

Input and Output String by using EditText and Button

Activiti_main.xml Code: <? xml version= "1.0" encoding= "utf-8" ?> < android.support.constraint.ConstraintLayout xmlns: android = "http://schemas.android.com/apk/res/android" xmlns: app = "http://schemas.android.com/apk/res-auto" xmlns: tools = "http://schemas.android.com/tools" android :layout_width= "match_parent" android :layout_height= "match_parent" tools :context= "com.example.seam.addtonumber.MainActivity" > < Button android :id= "@+id/button" android :layout_width= "wrap_content" android :layout_height= "wrap_content" android :text= "Button" android :layout_marginTop= "161dp" app :layout_constraintTop_toBottomOf= "@+id/editText" android :layout_marginRight= "8dp" app :layout_constraintRight_toRightOf= "