
Concept Notes – Android Studio Setup + Layouts
🔹 Android Studio Setup
- Android Studio is the official IDE for Android app development.
- Requires Java JDK and SDK tools.
- Setup process:
- Download & Install Android Studio.
- Configure SDK Manager and required Android API levels.
- Create a new project → Choose Empty Activity.
- Write code in Java/Kotlin and use XML for layouts.
🔹 Layouts in Android
Layouts define UI structure of the app.
- LinearLayout – Arranges elements in vertical/horizontal order.
- RelativeLayout – Places elements relative to each other.
- ConstraintLayout – Advanced, flexible layout (recommended).
- FrameLayout – Used for single view or fragments.
- TableLayout – Organizes views in rows & columns.
⚙️ Key Formulas / Syntax
<!-- Example: LinearLayout -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello ECET!" />
</LinearLayout>
🔟 10 Expected MCQs – ECET 2026 (Android)
Q1. Official IDE for Android Development?
A) Eclipse
B) Android Studio
C) NetBeans
D) IntelliJ IDEA
Q2. Which language is NOT used for Android app development?
A) Kotlin
B) Java
C) Python
D) XML
Q3. Which layout arranges elements in vertical or horizontal order?
A) LinearLayout
B) FrameLayout
C) TableLayout
D) RelativeLayout
Q4. ConstraintLayout is preferred because:
A) Uses less XML code
B) Provides flexible positioning
C) Supports advanced UI design
D) All of the above
Q5. Android Studio is developed based on:
A) IntelliJ IDEA
B) Eclipse
C) NetBeans
D) Visual Studio
Q6. Which file stores Android app UI design?
A) MainActivity.java
B) activity_main.xml
C) AndroidManifest.xml
D) Gradle.build
Q7. FrameLayout is mostly used for:
A) Multiple views side by side
B) Hosting single view/fragments
C) Complex UIs
D) Grid system
Q8. To create a new Android project, we use:
A) SDK Manager
B) File → New Project
C) Tools → Emulator
D) Gradle Console
Q9. Which layout works like a grid with rows & columns?
A) LinearLayout
B) TableLayout
C) FrameLayout
D) ConstraintLayout
Q10. Android XML defines:
A) UI Design
B) Java Logic
C) App Security
D) APK Signing
✅ Answer Key
Q1 → B
Q2 → C
Q3 → A
Q4 → D
Q5 → A
Q6 → B
Q7 → B
Q8 → B
Q9 → B
Q10 → A
🧠 Explanations
- Q1 → Android Studio is the official IDE.
- Q2 → Python is not used directly in Android development.
- Q3 → LinearLayout arranges vertically/horizontally.
- Q4 → ConstraintLayout is flexible & reduces nesting.
- Q5 → Android Studio is based on IntelliJ IDEA.
- Q6 → UI is stored in XML (e.g., activity_main.xml).
- Q7 → FrameLayout hosts fragments/single view.
- Q8 → File → New Project creates projects.
- Q9 → TableLayout = Rows + Columns.
- Q10 → XML defines UI design in Android.
🎯 Motivation – Why Practice Matters
Android questions are repeated in ECET every year.
Setup + Layouts are direct theory & MCQ-based, so easy scoring.
By mastering Layouts, students can also create mini-projects & apps for practical knowledge.
📲 CTA
👉 Join our ECET Prep Community for Android notes & daily practice: @LearnNewThingsHub