একটা Activity দিয়ে অনেক গুলো Activity এর কাজ করুন।
-----------------
My Website - www.bdtopcoder...
Code - www.bdtopcoder...
-----------------
Introduction :
This article shows How to set Visibility for a button from another activity in android. If you follow my steps can easyly control visibisity And Anythig frist activity to second activity in android studio projects.
Procedure :
Open Your Android Studio or AIDE.
Create a new empty Project.
Do this Activity1 :
★ Go to activity_main.xml.
★ Create Button.
★ Go to Activity1.java File.
★ Initialize Your Button.
★ Add Click Event.
Do this Activity2 :
★ Go to activity_second.xml and design your layout.
★ Set id in every main layout what you gone/visible/invisible.
★ Go to SecondActivity And Initialize Your Layout.
★ Check Condation and Set Visibility.
Негізгі бет How to set Visibility for a button from another activity in android ||
No video
Пікірлер: 27