TUGAS 2

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


<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".home"
android:orientation="vertical"
android:padding="16dp">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Aplikasi PPLG2"
android:textColor="#100201"
android:textAlignment="center"
android:textSize="30dp"/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="SMK SAPRA2"
android:textAlignment="center"
android:textColor="#100201"
android:textSize="20dp"
tools:layout_editor_absoluteX="43dp"
tools:layout_editor_absoluteY="47dp" />

<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="horizontal"
tools:ignore="MissingConstraints" />

<ImageView
android:layout_width="100dp"
android:layout_height="200dp"
android:layout_margin="10dp"
android:src="@drawable/teleungu"
tools:layout_editor_absoluteX="5dp"
tools:layout_editor_absoluteY="138dp" />

<ImageView
android:layout_width="150dp"
android:layout_height="200dp"
android:layout_margin="10dp"
android:src="@drawable/tiktok"
tools:layout_editor_absoluteX="121dp"
tools:layout_editor_absoluteY="139dp" />

<ImageView
android:layout_width="100dp"
android:layout_height="200dp"
android:layout_margin="10dp"
android:src="@drawable/shpungu"
tools:layout_editor_absoluteX="284dp"
tools:layout_editor_absoluteY="141dp" />

<Button
android:layout_width="357dp"
android:layout_height="120dp"
android:layout_margin="30dp"
android:text="Telegram"
android:textSize="30dp"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="426dp" />

<Button
android:layout_width="357dp"
android:layout_height="120dp"
android:layout_margin="30dp"
android:text="TikTok"
android:textSize="30dp"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="572dp" />

<Button
android:layout_width="357dp"
android:layout_height="120dp"
android:layout_margin="30dp"
android:text="Shoppe"
android:textSize="30dp"

tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="715dp" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
</androidx.constraintlayout.widget.ConstraintLayout>




Komentar

Postingan populer dari blog ini

Membuat relative layout bertema menu gojek

Materi responsive Layout Android Studio

MAPIL BAB1