Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

Name: Joel T. Bughao Jr.

Course: BSIT-3A

<?xml version="1.0" encoding="utf-8"?>


<ScrollView 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:paddingBottom="20dp"
tools:context=".MainActivity">

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="20dp">

<androidx.cardview.widget.CardView
android:id="@+id/cardView2"
android:layout_width="102dp"
android:layout_height="102dp"
android:layout_marginTop="16dp"
app:cardBackgroundColor="#E53935"
app:cardCornerRadius="15dp"
app:cardElevation="15dp"
app:layout_constraintEnd_toEndOf="@+id/cardView4"
app:layout_constraintTop_toBottomOf="@+id/adapter_flipper_home">

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/lato_black"
android:text="All Trips"
android:textColor="@color/white"
android:textSize="18sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView4" />
<ImageView
android:id="@+id/imageView4"
android:layout_width="44dp"
android:layout_height="44dp"
android:layout_marginTop="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_baseline_list_alt_24" />
</androidx.constraintlayout.widget.ConstraintLayout>

</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="102dp"
android:layout_height="102dp"
android:layout_marginTop="16dp"
app:cardBackgroundColor="#43A047"
app:cardCornerRadius="15dp"
app:cardElevation="15dp"
app:layout_constraintEnd_toStartOf="@+id/cardView2"
app:layout_constraintStart_toEndOf="@+id/cardView3"
app:layout_constraintTop_toBottomOf="@+id/adapter_flipper_home">

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/lato_black"
android:text="Hotel"
android:textColor="@color/white"
android:textSize="18sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView4" />

<ImageView
android:id="@+id/imageView4"
android:layout_width="44dp"
android:layout_height="44dp"
android:layout_marginTop="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_baseline_hotel_24" />
</androidx.constraintlayout.widget.ConstraintLayout>

</androidx.cardview.widget.CardView>

<ImageView
android:id="@+id/imageView"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginStart="24dp"
android:layout_marginTop="32dp"
android:tint="#000000"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_baseline_notes_24" />

<androidx.cardview.widget.CardView
android:id="@+id/cardView4"
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="24dp"
app:cardCornerRadius="56dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" >

<ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/avatar" />
</androidx.cardview.widget.CardView>

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:fontFamily="@font/lato_black"
android:text="Plan A Travel!"
android:textColor="@color/black"
android:textSize="35sp"
app:layout_constraintStart_toStartOf="@+id/imageView"
app:layout_constraintTop_toBottomOf="@+id/imageView" />

<androidx.cardview.widget.CardView
android:id="@+id/cardView"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginStart="24dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="24dp"
app:cardBackgroundColor="#E4E4E4"
app:cardCornerRadius="15dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/textView"
app:layout_constraintTop_toBottomOf="@+id/textView">

<androidx.cardview.widget.CardView
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_gravity="right"
app:cardBackgroundColor="#1E88E5"
app:cardCornerRadius="15dp">

<ImageView
android:id="@+id/imageView3"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center"
app:srcCompat="@drawable/ic_baseline_search_24" />
</androidx.cardview.widget.CardView>

<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="20dp"
android:fontFamily="@font/lato_bold"
android:text="Search for any place..."
android:textColor="@color/black"
android:textSize="20sp" />
</androidx.cardview.widget.CardView>

<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:fontFamily="@font/lato_black"
android:text="Most Famous Places"
android:textColor="@color/black"
android:textSize="22sp"
app:layout_constraintStart_toStartOf="@+id/textView"
app:layout_constraintTop_toBottomOf="@+id/cardView" />

<AdapterViewFlipper
android:id="@+id/adapter_flipper_home"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginTop="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/cardView"
app:layout_constraintTop_toBottomOf="@+id/textView3" />

<androidx.cardview.widget.CardView
android:id="@+id/cardView3"
android:layout_width="102dp"
android:layout_height="102dp"
android:layout_marginTop="16dp"
app:cardBackgroundColor="#D81B60"
app:cardCornerRadius="15dp"
app:cardElevation="15dp"
app:layout_constraintStart_toStartOf="@+id/textView"
app:layout_constraintTop_toBottomOf="@+id/adapter_flipper_home">

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/lato_black"
android:text="Explore"
android:textColor="@color/white"
android:textSize="18sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView4" />

<ImageView
android:id="@+id/imageView4"
android:layout_width="44dp"
android:layout_height="44dp"
android:layout_marginTop="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_baseline_directions_car_24" />
</androidx.constraintlayout.widget.ConstraintLayout>

</androidx.cardview.widget.CardView>

<TextView
android:id="@+id/textView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:fontFamily="@font/lato_black"
android:text="Must Visit Places"
android:textColor="@color/black"
android:textSize="22sp"
app:layout_constraintStart_toStartOf="@+id/cardView3"
app:layout_constraintTop_toBottomOf="@+id/cardView3" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView5">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="2"
android:orientation="vertical">

<androidx.cardview.widget.CardView
android:id="@+id/amritsar_home"
android:layout_width="match_parent"
android:layout_height="220dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
app:cardCornerRadius="20dp"
app:cardElevation="20dp">

<ImageView
android:id="@+id/imageView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/boracay" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_gravity="bottom"
android:background="#99FFFFFF"
android:orientation="horizontal">

<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:fontFamily="@font/lato_black"
android:gravity="center"
android:text="Boracay"
android:textColor="@color/black"
android:textSize="20sp" />
</LinearLayout>

<androidx.cardview.widget.CardView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="right"
android:layout_margin="10dp"
app:cardCornerRadius="48dp">

<ImageView
android:id="@+id/adapterflipper_fav"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center"
app:srcCompat="@drawable/ic_baseline_favorite_24" />
</androidx.cardview.widget.CardView>

</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="220dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="20dp"
android:layout_marginRight="10dp"
app:cardCornerRadius="20dp"
app:cardElevation="20dp">

<ImageView
android:id="@+id/imageView7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/bohol" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_gravity="bottom"
android:background="#99FFFFFF"
android:orientation="horizontal">

<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:fontFamily="@font/lato_black"
android:gravity="center"
android:text="Bohol"
android:textColor="@color/black"
android:textSize="20sp" />
</LinearLayout>

<androidx.cardview.widget.CardView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="right"
android:layout_margin="10dp"
app:cardCornerRadius="48dp">

<ImageView
android:id="@+id/adapterflipper_fav"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center"
app:srcCompat="@drawable/ic_baseline_favorite_24" />
</androidx.cardview.widget.CardView>

</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="220dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="20dp"
android:layout_marginRight="10dp"
app:cardCornerRadius="20dp"
app:cardElevation="20dp">

<ImageView
android:id="@+id/imageView8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/Lapu" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_gravity="bottom"
android:background="#99FFFFFF"
android:orientation="horizontal">
<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:fontFamily="@font/lato_black"
android:gravity="center"
android:text="Lapu-Lapu City"
android:textColor="@color/black"
android:textSize="20sp" />
</LinearLayout>

<androidx.cardview.widget.CardView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="right"
android:layout_margin="10dp"
app:cardCornerRadius="48dp">

<ImageView
android:id="@+id/adapterflipper_fav"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center"
app:srcCompat="@drawable/ic_baseline_favorite_24" />
</androidx.cardview.widget.CardView>

</androidx.cardview.widget.CardView>
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="2"
android:orientation="vertical">

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="220dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
app:cardCornerRadius="20dp"
app:cardElevation="20dp">
<ImageView
android:id="@+id/imageView9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/palawan" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_gravity="bottom"
android:background="#99FFFFFF"
android:orientation="horizontal">

<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:fontFamily="@font/lato_black"
android:gravity="center"
android:text="Palawan"
android:textColor="@color/black"
android:textSize="20sp" />
</LinearLayout>

<androidx.cardview.widget.CardView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="right"
android:layout_margin="10dp"
app:cardCornerRadius="48dp">

<ImageView
android:id="@+id/adapterflipper_fav"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center"
app:srcCompat="@drawable/ic_baseline_favorite_24" />
</androidx.cardview.widget.CardView>

</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="220dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="20dp"
android:layout_marginRight="10dp"
app:cardCornerRadius="20dp"
app:cardElevation="20dp">

<ImageView
android:id="@+id/imageView10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/kawasan" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_gravity="bottom"
android:background="#99FFFFFF"
android:orientation="horizontal">

<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:fontFamily="@font/lato_black"
android:gravity="center"
android:text="Kawasan Falls"
android:textColor="@color/black"
android:textSize="20sp" />
</LinearLayout>

<androidx.cardview.widget.CardView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="right"
android:layout_margin="10dp"
app:cardCornerRadius="48dp">

<ImageView
android:id="@+id/adapterflipper_fav"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center"
app:srcCompat="@drawable/ic_baseline_favorite_24" />
</androidx.cardview.widget.CardView>

</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="220dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="20dp"
android:layout_marginRight="10dp"
app:cardCornerRadius="20dp"
app:cardElevation="20dp">

<ImageView
android:id="@+id/imageView11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/panglao" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_gravity="bottom"
android:background="#99FFFFFF"
android:orientation="horizontal">

<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:fontFamily="@font/lato_black"
android:gravity="center"
android:text="Panglao"
android:textColor="@color/black"
android:textSize="20sp" />
</LinearLayout>

<androidx.cardview.widget.CardView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="right"
android:layout_margin="10dp"
app:cardCornerRadius="48dp">

<ImageView
android:id="@+id/adapterflipper_fav"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center"
app:srcCompat="@drawable/ic_baseline_favorite_24" />
</androidx.cardview.widget.CardView>

</androidx.cardview.widget.CardView>
</LinearLayout>
</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>

</ScrollView>

You might also like