Client Server Part_14

1. Informasi.java

package com.example.pmb_poligon;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class Informasi extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_informasi);
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.informasi, menu);
return true;
}

}


2. Informasi.xml

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#ffffff"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".Informasi" >

    
    <TextView
        android:layout_marginTop="20dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:textSize="8dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="INFORMASI KELULUSAN JALUR UNGGUL DAN TES CALON MAHASISWA BARU POLITEKNIK GORONTALO TA. 2017 / 2018 GELOMBANG 2 INFORMASI KELULUSAN JALUR UNGGUL DAN TES CALON MAHASISWA BARU POLITEKNIK GORONTALO TA. 2017 / 2018 GELOMBANG 2"
        android:textStyle="bold" />
    
     <TextView
        android:layout_marginTop="80dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:textSize="8dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="INFORMASI UNTUK CALON MAHASISWA POLITEKNIK GORONTALO ANGKATAN 2017-2018 INFORMASI UNTUK CALON MAHASISWA GELOMBANG 1 DAN 2 POLITEKNIK GORONTALO"
        android:textStyle="bold" />
     
     
      <TextView
        android:layout_marginTop="120dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:textSize="8dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="CALON MAHASISWA YANG LULUS SELEKSI GELOMBANG 1 ANGKATAN 2017 – 2018
INFORMASI CALON MAHASISWA YANG LULUS SELEKSI GELOMBANG 1 ANGKATAN 2017 – 2018"
        android:textStyle="bold" />
      
      <TextView
        android:layout_marginTop="160dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:textSize="8dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="PENGUMUMAN KELULUSAN GELOMBANG I JALUR SISWA UNGGUL POLITEKNIK GORONTALO
INFORMASI KELULUSAN GELOMBANG 1 T.A 2017/2018"
        android:textStyle="bold" />
      
      <TextView
        android:layout_marginTop="200dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:textSize="8dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="PENERIMAAN MAHASISWA BARU POLIGON T.A 2017/2018
Informasi Pendaftaran Mahasiswa Baru Tahun Ajaran 2017/2018"
        android:textStyle="bold" />
   
     

</RelativeLayout>

3. Kontak.java

package com.example.pmb_poligon;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class Kontak extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_kontak);
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.kontak, menu);
return true;
}

}


4. Kontak.xml

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#ffffff"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".Kontak" >

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Alamat : Jl. Sapta Marga, Kecamatan Botupingge, Kabupaten Bone Bolango, Gorontalo
Kode Pos : 96183
Telephone : (0435) 826906
Email : info@poligon.ac.id
http://poligon.ac.id/" />

</RelativeLayout>

5. String.xml

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

    <string name="app_name">PMB_POLIGON</string>
    <string name="action_settings">Settings</string>
    <string name="hello_world">Hello world!</string>
    <string name="title_activity_alur">Alur</string>
    <string name="title_activity_informasi">Informasi</string>
    <string name="title_activity_kontak">Kontak</string>
    <string name="title_activity_login">Login</string>
    <string name="title_activity_pendaftaran__step_1">Pendaftaran_Step_1</string>
    <string name="title_activity_pendaftaran__step_2">Pendaftaran_Step_2</string>
    <string name="title_activity_pendaftaran__step_3">Pendaftaran_Step_3</string>
    <string name="title_activity_registrasi">Registrasi</string>
    <string name="title_activity_splash__screen">Splash_Screen</string>
    <string name="title_activity_menu">Menu</string>
    <string name="title_activity_tampilan_awal">TampilanAwal</string>
    <string name="agama">Agama</string>

    <string-array name="agama_array">
        <item>Islam</item>
        <item>Kristen</item>
        <item>Hindu</item>
        <item>Budha</item>
    </string-array>

    <string name="gol_darah">Gol_Darah</string>

    <string-array name="gol_darah_array">
        <item>A</item>
        <item>B</item>
        <item>AB</item>
        <item>O</item>
    </string-array>

    <string name="title_activity_pemilihan_jurusan">Pemilihan_jurusan</string>

</resources>

6. AndroidManifest.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.pmb_poligon"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="19" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="com.example.pmb_poligon.Splash_Screen"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="com.example.pmb_poligon.Alur"
            android:label="@string/title_activity_alur" >
        </activity>
        <activity
            android:name="com.example.pmb_poligon.Informasi"
            android:label="@string/title_activity_informasi" >
        </activity>
        <activity
            android:name="com.example.pmb_poligon.Kontak"
            android:label="@string/title_activity_kontak" >
        </activity>
        <activity
            android:name="com.example.pmb_poligon.Login"
            android:label="@string/title_activity_login" >
        </activity>
        <activity
            android:name="com.example.pmb_poligon.Pendaftaran_Step_1"
            android:label="@string/title_activity_pendaftaran__step_1" >
        </activity>
        <activity
            android:name="com.example.pmb_poligon.Pendaftaran_Step_2"
            android:label="@string/title_activity_pendaftaran__step_2" >
        </activity>
        <activity
            android:name="com.example.pmb_poligon.Pendaftaran_Step_3"
            android:label="@string/title_activity_pendaftaran__step_3" >
        </activity>
        <activity
            android:name="com.example.pmb_poligon.Registrasi"
            android:label="@string/title_activity_registrasi" >
        </activity>
        <activity
            android:name="com.example.pmb_poligon.Menu"
            android:label="@string/title_activity_menu" >
        </activity>
        <activity
            android:name="com.example.pmb_poligon.TampilanAwal"
            android:label="@string/title_activity_tampilan_awal" >
        </activity>
        <activity
            android:name="com.example.pmb_poligon.Pemilihan_jurusan"
            android:label="@string/title_activity_pemilihan_jurusan" >
        </activity>
    </application>

    <uses-permission android:name="android.permission.INTERNET" />

</manifest>

0 komentar: