Rabu, 20 Agustus 2025

PPB android studio

 


<?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:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".home"
android:orientation="vertical"
android:layout_gravity="center"
>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="350dp"
android:orientation="horizontal"
android:layout_margin="10dp"
android:layout_gravity="center"
>
<Button
android:layout_width="100dp"
android:layout_height="300dp"
android:background="@color/purple_200"
android:layout_margin="5dp"
/>
<Button
android:layout_width="150dp"
android:layout_height="300dp"
android:background="@color/purple_200"
android:layout_margin="5dp"
/>
<Button
android:layout_width="100dp"
android:layout_height="300dp"
android:background="@color/purple_200"
android:layout_margin="5dp"
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_margin="10dp"
android:layout_gravity="center"
>
<Button
android:layout_width="match_parent"
android:layout_height="100dp"
android:background="@color/purple_500"
android:layout_margin="5dp"
/>
<Button
android:layout_width="match_parent"
android:layout_height="100dp"
android:background="@color/purple_500"
android:layout_margin="5dp"
/>
<Button
android:layout_width="match_parent"
android:layout_height="100dp"
android:background="@color/purple_500"
android:layout_margin="5dp"
/>

</LinearLayout>




Tidak ada komentar:

Posting Komentar

Subnetting

 subnetting adalah suatu metode untuk memperbanyak network ID dari suatu network ID yang telah anda miliki. SUBNET  MASK DEFAULT ini untuk m...