Skip to main content

Posts

creating layout on android studio

step 1 1 .open your android app 2.create a new project 3.select the empty activity and click next 4.fill the required details and finish. step2 open layout editor 1.in the project window, go to app>res>layouts 2.open the activity.xml file tep 3: Choose a Layout Type You can choose from several layout types depending on your needs: LinearLayout: Arranges children in a single row or column. RelativeLayout: Positions children relative to each other. ConstraintLayout: Allows flexible positioning using constraints. FrameLayout: Stacks children on top of each other. step 4 add views TextView ImageView Button step 5 add attributes example(TextView) android:text="hello world" android:textSize="34sp" android:textcolor="@android:color/black" etc.
Recent posts

CODING IN WORDS

 “Coding in words” is about breaking down programming concepts into simple, understandable terms. It’s a way to communicate the essence of coding without submerging in the syntax, making it fun and easier for beginners. Coding doesn’t have to be overwhelming.  we can make programming concepts accessible and engaging for all. Whether you’re teaching, learning, or collaborating, remember that clear communication is essential in the tech world. Let’s simplify coding together.