ITR Diary and Assignment Anay Patil
ITR Diary and Assignment Anay Patil
Expected Work :
i). Implement input validation for the login screen to ensure that both username and password
fields are filled, and validate the format of the input. Simulate authentication using hardcoded
credentials, displaying appropriate messages for successful login and incorrect credentials.
Mentor Assignment :
i). Enhance Android login screen with input validation and authentication using hardcoded
credentials.
I covered essential Android concepts, set up the development environment, and learned
about activities, intents, layouts, and Views. Additionally, I successfully created an AVD
for testing and designed a login screen for the Android app
Signature of Student :
Expected Work :
i). Improve Sign Up screen (validation, security, error handling), integrate Firebase (registration,
email verification), create profile section.
Mentor Assignment :
i). Enhance Sign Up screen with input validation, password security, and error handling.
Integrate Firebase for user registration, implement email verification.
1 Design a sign-up screen for the Android app,with EditText and Button
widgets for user registration.Added necessary fields, such as name,email,
password, and confirm password, with proper input validation for each field.
2 Implemented Java code in the XML layout to handle button clicks and other
user interactions effectively.Utilized findViewById to get references to
EditText fields for email, password, and other user input.
3 Integrated Firebase Authentication into the app to handle user registration
securely.Created a Firebase project and configured the necessary settings to
enable authentication.
4 Implemented Firebase code to check if the user is already logged in. If so,
navigate to the main activity directly.Added logic to check if all the required
fields are filled in properly during the sign-up process.
5 Implemented Firebase code to handle user registration, including creating new
user accounts and storing relevant information.Displayed appropriate error
messages if the user enters invalid data or if registration fails.
6 Conducted thorough testing of the sign-up process to ensure a seamless and
secure user experience.Resolved any bugs or issues discovered during testing.
Signature of Student :
Expected Work :
Mentor Assignment :
i). Design header with buttons, integrate ImageButton for branches, banner, and "Explore
Events".
ii). Create coordinator list, enable feedback, conduct testing, and implement UI improvements
for home screen.
1 Designed header section with logo and user profile. Added buttons for
event_info and college_info.
2 Integrated ImageButton for different branches. Implemented banner display.
We developed the Home Screen with header, buttons, ImageButtons, banner, and
coordinator list, along with feedback and complaint features, ensuring a smooth user
experience.
Signature of Student :
Expected Work :
i). Set up Firebase Realtime Database, create "Feedback" section with input form, and store
feedback data.
ii). Design "Complaint" section, integrate header, add validation, and optimize UI. Thoroughly
test and fix bugs for a reliable system.
Mentor Assignment :
i). Set up Firebase Realtime Database, create "Feedback" section with input form, and store
feedback data. Design "Complaint" section, integrate header, add validation, and optimize
UI .Thoroughly test and fix bugs for a reliable system.
1 Set up Firebase Realtime Database for secure storage. Define data structure
for feedback and complaints.
2 Create "Feedback" section with EditText form for user input. Store feedback
in Realtime Database.
3 Design "Complaint" section with form. Integrate header section. Add
radiobuttons for gender validation
4 Validate user input, ensure consistent UI with header section.
Implemented Real-Time Database for feedback and complaints, validated user input, and
optimized UI for a reliable system.
Signature of Student :
Expected Work :
i). Design Framelayout with Home, Course, and Contact tabs using TabLayout. Implement
ViewPagerAdapter for fragment switching. Create "Home","Course," and "Contact"
fragments with respective content. Integrate "College_Info" button click functionality.Test
and resolve bugs for a seamless user experience.
Mentor Assignment :
i). Framelayout with Tab Navigation. Design three tabs - Home, Course, and Contact, using
TabLayout. Implement ViewPagerAdapter for fragment switching. Create "Home,"
"Course," and "Contact" fragments with respective content. Integrate "Coll_Info" button
click functionality. Test and resolve bugs for a seamless user experience.
1 Design Framelayout with Home, Course, and Contact tabs using TabLayout.
Implement ViewPagerAdapter for fragment switching.
2 Create "Home" fragment with college/app information. Design UI
components for course details in "Course" fragment.
3 Develop "Course" fragment to showcase available courses. Implement UI for
contact details in "Contact" fragment.
4 Design "Contact" fragment with contact information. Integrate click
functionality for "Coll_Info" button to direct to Framelayout section.
5 Test tab navigation and fragment switching. Ensure smooth transitions and
content display.
6 Continue testing, resolve bugs, and review Framelayout functionality for
seamless user experience.
Signature of Student :
Mentor Assignment:
Creation of Contact Screen with relevant phone no. , email address.
Signature of Student:
ASSIGNMENTS
(given by the instructor of the industry)
Assignment 01 :
Login Screen
*Program
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:layout_width="250dp"
android:layout_height="170dp"
android:src="@drawable/logo"
android:layout_marginTop="20dp"
android:layout_marginLeft="85dp"></ImageView>
</FrameLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Login"
android:textSize="40dp"
android:layout_gravity="center"
android:fontFamily="sans-serif-condensed"
android:textStyle="bold"
android:textColor="#3A3B3B"></TextView>
<EditText
android:id="@+id/login_email"
android:background="@drawable/edit_text_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter your email"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_marginTop="20dp"
android:padding="15dp"></EditText>
<EditText
android:id="@+id/login_password"
Maharashtra State Board of Technical Education 11
INPLANT TRAINING WEEKLY DIARY
android:background="@drawable/edit_text_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter your password"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_marginTop="20dp"
android:padding="15dp"></EditText>
<Button
android:id="@+id/con"
android:background="@drawable/button_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="60dp"
android:layout_marginRight="60dp"
android:layout_marginTop="30dp"
android:text="Continue"
android:textColor="@color/white">
</Button>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Don’t have an account?"
android:layout_marginLeft="100dp"
android:textSize="15dp"
android:layout_marginTop="20dp"></TextView>
<TextView
android:id="@+id/signup"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=" Sign up"
android:textSize="15dp"
android:layout_marginTop="20dp"
android:textColor="#001BAF"></TextView>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="40dp"
android:layout_height="44dp"
android:src="@drawable/google"
android:layout_marginLeft="125dp"
android:layout_marginTop="23dp"></ImageView>
<ImageView
android:layout_width="52dp"
android:layout_height="52dp"
Maharashtra State Board of Technical Education 12
INPLANT TRAINING WEEKLY DIARY
android:src="@drawable/apple"
android:layout_marginTop="15dp"
android:layout_marginLeft="50dp"></ImageView>
</LinearLayout>
</LinearLayout>
Signup Screen
*Program
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:layout_width="213dp"
android:layout_height="147dp"
android:layout_marginLeft="100dp"
android:layout_marginTop="20dp"
android:src="@drawable/logo"></ImageView>
</FrameLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Sign-Up"
android:textSize="35dp"
android:textStyle="bold"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:textColor="#333333"></TextView>
<EditText
android:background="@drawable/edit_text_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter your full name"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_marginTop="20dp"
android:padding="10dp"></EditText>
<EditText
android:id="@+id/email"
android:background="@drawable/edit_text_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter your email"
android:layout_marginLeft="30dp"
Maharashtra State Board of Technical Education 15
INPLANT TRAINING WEEKLY DIARY
android:layout_marginRight="30dp"
android:layout_marginTop="20dp"
android:padding="10dp"></EditText>
<EditText
android:background="@drawable/edit_text_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter your mobile no."
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_marginTop="20dp"
android:padding="10dp"></EditText>
<EditText
android:id="@+id/password"
android:background="@drawable/edit_text_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter password"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_marginTop="20dp"
android:padding="10dp"></EditText>
<EditText
android:background="@drawable/edit_text_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Confirm Password"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_marginTop="20dp"
android:padding="10dp"></EditText>
<Button
android:id="@+id/signup_button"
android:background="@drawable/button_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="60dp"
android:layout_marginRight="60dp"
android:layout_marginTop="30dp"
android:text="Sign up"
android:textColor="@color/white">
</Button>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Already have an account?"
android:layout_marginTop="15dp"
android:layout_marginLeft="85dp"
android:textColor="@color/black"
Maharashtra State Board of Technical Education 16
INPLANT TRAINING WEEKLY DIARY
android:textStyle=""
android:fontFamily="sans-serif-condensed"
android:textSize="17dp"></TextView>
<TextView
android:id="@+id/back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Log-in"
android:layout_marginTop="15dp"
android:layout_marginLeft="5dp"
android:textColor="#04255B"
android:textStyle=""
android:fontFamily="sans-serif-condensed"
android:textSize="17dp"></TextView>
</LinearLayout>
</LinearLayout>
Assignment 03 :
Homescreen
*Program
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Welcome User!"
android:textSize="25dp"
android:textStyle="bold"
android:fontFamily="serif"
android:textColor="@color/black"
android:layout_gravity="center"
android:layout_marginTop="20dp"></TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Plan Your Perfect Holiday With Travelite:"
android:textSize="20dp"
android:textStyle="bold"
android:textColor="#4527A0"
android:layout_gravity="center"
android:layout_marginTop="20dp"></TextView>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="200dp"
android:layout_height="142dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="30dp"
android:src="@drawable/naruto"></ImageView>
<ImageView
android:layout_width="180dp"
android:layout_height="149dp"
android:src="@drawable/france"
Maharashtra State Board of Technical Education 19
INPLANT TRAINING WEEKLY DIARY
android:layout_marginTop="25dp"
android:layout_marginLeft="15dp"></ImageView>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="JAPAN"
android:textColor="@color/black"
android:textSize="17dp"
android:layout_marginLeft="70dp"></TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="FRANCE"
android:textColor="@color/black"
android:textSize="17dp"
android:layout_marginLeft="150dp"></TextView>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:layout_width="104dp"
android:layout_height="wrap_content"
android:layout_marginLeft="50dp"
android:layout_marginTop="10dp"
android:background="@drawable/button_design"
android:text="Select"
android:textColor="@color/white"></Button>
<Button
android:layout_width="104dp"
android:layout_height="wrap_content"
android:layout_marginLeft="110dp"
android:layout_marginTop="10dp"
android:background="@drawable/button_design"
android:text="Select"
android:textColor="@color/white"></Button>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="200dp"
android:layout_height="142dp"
android:layout_marginLeft="10dp"
Maharashtra State Board of Technical Education 20
INPLANT TRAINING WEEKLY DIARY
android:layout_marginTop="30dp"
android:src="@drawable/usa"></ImageView>
<ImageView
android:layout_width="180dp"
android:layout_height="136dp"
android:layout_marginLeft="15dp"
android:layout_marginTop="35dp"
android:src="@drawable/swit"></ImageView>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="UNITED STATES"
android:textColor="@color/black"
android:textSize="17dp"
android:layout_marginLeft="40dp"></TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="SWITZERLAND"
android:textColor="@color/black"
android:textSize="17dp"
android:layout_marginLeft="80dp"></TextView>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:layout_width="104dp"
android:layout_height="wrap_content"
android:layout_marginLeft="50dp"
android:layout_marginTop="10dp"
android:background="@drawable/button_design"
android:text="Select"
android:textColor="@color/white"></Button>
<Button
android:layout_width="104dp"
android:layout_height="wrap_content"
android:layout_marginLeft="110dp"
android:layout_marginTop="10dp"
android:background="@drawable/button_design"
android:text="Select"
android:textColor="@color/white"></Button>
</LinearLayout>
<View
android:layout_width="match_parent"
Maharashtra State Board of Technical Education 21
INPLANT TRAINING WEEKLY DIARY
android:layout_height="2dp"
android:background="@color/black"
android:layout_marginTop="180dp"></View>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/con"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Contact Us"
android:layout_marginTop="10dp"
android:layout_marginLeft="90dp"
android:textSize="16dp"
android:fontFamily="sans-serif-smallcaps"
android:textStyle="bold"
android:layout_marginBottom="5dp"
android:textColor="#304FFE"></TextView>
<TextView
android:id="@+id/gal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Gallery"
android:layout_marginTop="10dp"
android:layout_marginLeft="80dp"
android:textSize="16dp"
android:fontFamily="sans-serif-smallcaps"
android:textStyle="bold"
android:layout_marginBottom="5dp"
android:textColor="#304FFE"></TextView>
</LinearLayout>
</LinearLayout>
Assignment 04 :
*Program
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Travelistic"
android:textSize="35dp"
android:layout_marginTop="15dp"
android:layout_gravity="center"
android:textStyle="bold"
android:textColor="#6200EA"></TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Contact Us"
android:textStyle="bold"
android:fontFamily="cursive"
android:textSize="30dp"
android:layout_marginTop="15dp"
android:layout_gravity="center"
android:textColor="@color/black"></TextView>
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@color/black"></View>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Contact us by entering the details below:"
android:fontFamily="serif"
android:textSize="17dp"
android:layout_marginTop="40dp"
android:layout_gravity="center"
android:textColor="@color/black"></TextView>
<EditText
android:background="@drawable/edit_text_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="40dp"
android:layout_marginRight="40dp"
android:layout_marginTop="50dp"
android:hint="Email"
android:padding="15dp"></EditText>
<EditText
android:background="@drawable/edit_text_design"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="40dp"
android:layout_marginRight="40dp"
android:layout_marginTop="20dp"
android:hint="Name"
android:padding="15dp"></EditText>
<EditText
android:background="@drawable/edit_text_design"
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_marginLeft="40dp"
android:layout_marginTop="20dp"
android:layout_marginRight="40dp"
android:hint="Message"
android:padding="20dp"></EditText>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:text="Submit"
android:textColor="@color/white"
android:layout_marginLeft="80dp"
android:layout_marginRight="80dp"
android:background="@drawable/button_design"></Button>
<TextView
android:textAlignment="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#283593"
android:text="Please submit the form above, our team will get back to you as soon
as possible."
android:layout_marginTop="15dp"
android:textSize="15dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"></TextView>
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@color/black"
android:layout_marginTop="130dp"></View>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_gravity="center"
android:text="Travelistic Pvt. Ltd. Make Holidays Enjoyable."
android:textAlignment="center"
android:textColor="@color/black"
android:textStyle="bold"
android:textSize="15dp"></TextView>
</LinearLayout>
Assignment 05 :
Gallery:
*Program
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:orientation="vertical"
android:background="@drawable/home_back"
tools:context=".Gallery">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Gallery"
android:fontFamily="cursive"
android:textSize="50dp"
android:textStyle="bold"
android:textColor="@color/black"
android:layout_gravity="center"></TextView>
<View
android:layout_width="match_parent"
android:layout_height="3dp"
android:background="@color/black"
android:layout_marginTop="5dp"></View>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Here are some of the pictures our customers clicked:"
android:layout_marginLeft="5dp"
android:fontFamily="serif"
android:textSize="20dp"
android:textStyle="bold"
android:layout_marginTop="15dp"
android:textColor="#DD2C00"
android:layout_gravity="center">
</TextView>
<LinearLayout
android:layout_width="404dp"
android:layout_height="191dp"
android:orientation="horizontal">
<ImageView
android:layout_width="180dp"
android:layout_height="149dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="30dp"
Maharashtra State Board of Technical Education 27
INPLANT TRAINING WEEKLY DIARY
android:src="@drawable/gal1"></ImageView>
<ImageView
android:layout_width="180dp"
android:layout_height="149dp"
android:layout_marginLeft="15dp"
android:layout_marginTop="30dp"
android:src="@drawable/gal2"></ImageView>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="157dp"
android:orientation="horizontal">
<ImageView
android:layout_width="180dp"
android:layout_height="149dp"
android:layout_marginLeft="8dp"
android:src="@drawable/gal3"></ImageView>
<ImageView
android:layout_width="180dp"
android:layout_height="149dp"
android:layout_marginLeft="15dp"
android:src="@drawable/gal4"></ImageView>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="155dp"
android:orientation="horizontal">
<ImageView
android:layout_width="180dp"
android:layout_height="149dp"
android:layout_marginLeft="8dp"
android:src="@drawable/gal5"></ImageView>
<ImageView
android:layout_width="180dp"
android:layout_height="149dp"
android:layout_marginLeft="15dp"
android:src="@drawable/gal6"></ImageView>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="180dp"
android:layout_height="149dp"
android:src="@drawable/gal7"
android:layout_marginLeft="8dp"></ImageView>
<ImageView
android:layout_width="180dp"
android:layout_height="149dp"
android:src="@drawable/gal8"
android:layout_marginLeft="15dp"></ImageView>
</LinearLayout>
</LinearLayout>
Assignment 06 :
*Program
package com.example.firstproject;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
TextView contact,gal;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_home_screen);
contact = findViewById(R.id.con);
gal = findViewById(R.id.gal);
contact.setOnClickListener(new View.OnClickListener() {
@Override
gal.setOnClickListener(new View.OnClickListener() {
@Override
}
}