Selasa, 02 September 2025

PPB Android studio image





<?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"
>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="APLIKASI PPLG 2"
android:textColor="#F44336"
android:textSize="30dp"
android:textAlignment="center"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="SMK SAPRA2 PETARUKAN"
android:textSize="20dp"
android:textColor="@color/black"
android:textAlignment="center"

<LinearLayout
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_margin="20dp"
android:orientation="horizontal">

<ImageView
android:layout_width="100dp"
android:layout_height="200dp"
android:layout_margin="5dp"
android:src="@drawable/img" />

<ImageView
android:layout_width="150dp"
android:layout_height="200dp"
android:layout_margin="5dp"
android:src="@drawable/img_1" />

<ImageView
android:layout_width="100dp"
android:layout_height="200dp"
android:layout_margin="5dp"
android:src="@drawable/img_2" />
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="350dp"
android:layout_gravity="center"
android:layout_margin="20dp"
android:orientation="vertical">

<Button
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_margin="5dp"
android:background="@color/black"
android:text="MENU BLUTOOTH"
android:textColor="@color/white"
android:textSize="20dp" />

<Button
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_margin="5dp"
android:background="@color/cardview_dark_background"
android:text="MENU PLAYSTORE"
android:textColor="@color/white"
android:textSize="20dp" />

<Button
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_margin="5dp"
android:background="@color/cardview_shadow_start_color"
android:text="MENU YOUTUBE"
android:textColor="@color/white"
android:textSize="20dp" />
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Aplikasi v.1"
android:textColor="@color/black"
android:textSize="20dp"
android:textAlignment="center"/>
</LinearLayout>
</LinearLayout>

Subnetting

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