Pages

Thursday, 2 March 2023

Proyek Aplikasi

<?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"
tools:context=".MainActivity">


<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="10dp"
app:cardElevation="12dp"
>
<TextView
android:layout_width="match_parent"
android:layout_height="130dp"
android:text="Sekolah yang mungkin kamu pengen daftar di Padang Panjang"
android:textStyle="bold"
android:textSize="25dp"
android:paddingLeft="140dp"
android:paddingTop="20dp"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/logo"
/>

</androidx.cardview.widget.CardView>



<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="10dp"
app:cardElevation="12dp"
android:layout_margin="10dp">

<EditText
android:paddingLeft="16dp"
android:layout_width="390dp"
android:layout_height="50dp"
android:hint="Search"
android:inputType="text"
android:background="#F5F5F5"
android:layout_marginRight="19dp"
/>
</androidx.cardview.widget.CardView>





<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<HorizontalScrollView>



<androidx.cardview.widget.CardView
android:layout_width="110dp"
android:layout_height="wrap_content"
app:cardCornerRadius="10dp"
app:cardElevation="12dp"
android:layout_margin="10dp"
android:layout_marginTop="10dp">

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

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="SMA"
android:textStyle="bold"
android:textSize="17dp"
android:paddingLeft="35dp"

/>

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/sma"


/>
</LinearLayout>


</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="110dp"
android:layout_height="wrap_content"
app:cardCornerRadius="10dp"
app:cardElevation="12dp"
android:layout_margin="10dp"
android:layout_marginTop="10dp">

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

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="SMP"
android:textStyle="bold"
android:textSize="17dp"
android:paddingLeft="35dp"

/>

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/smp"


/>
</LinearLayout>


</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="110dp"
android:layout_height="wrap_content"
app:cardCornerRadius="10dp"
app:cardElevation="12dp"
android:layout_margin="10dp"
android:layout_marginTop="10dp">

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

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="MTS"
android:textStyle="bold"
android:textSize="17dp"
android:paddingLeft="35dp"

/>

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/mts"


/>
</LinearLayout>


</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="110dp"
android:layout_height="wrap_content"
app:cardCornerRadius="10dp"
app:cardElevation="12dp"
android:layout_margin="10dp"
android:layout_marginTop="10dp">

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

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="MTS"
android:textStyle="bold"
android:textSize="17dp"
android:paddingLeft="35dp"

/>

<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/man"


/>
</LinearLayout>


</androidx.cardview.widget.CardView>

</HorizontalScrollView>
</LinearLayout>




<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="10dp"
app:cardElevation="12dp"
android:layout_margin="10dp"
>


<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="10dp"
android:text="SMK Negeri 2 Padang Panjang"
android:background="#ECF2FF"
android:textStyle="bold"
android:textSize="20dp"
android:layout_marginTop="5dp"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="SMK Negeri 2 Padang adalah Sekolah Menengah Kejuruan Negeri yang terletak di Jalan Syech Ibrahim Musa No.26 Kel.Gantiang Padang Panjang Timur. SMK Negeri 2 Padang Panjang memiliki 2 Bidang Keahlian Teknik Komputer Informatika dan Seni Industri Kreatif dengan 4 Program Keahlian"
android:textSize="15dp"
android:layout_marginTop="30dp"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="140dp"
android:text="Lihat Selengkapnya"
android:textStyle="bold"
android:textSize="20dp"
android:textColor="#537FE7"
/>

</androidx.cardview.widget.CardView>



</LinearLayout>

0 comments:

Post a Comment