Skip to content

Instantly share code, notes, and snippets.

View mathsways's full-sized avatar

Youssef NEJJARI mathsways

View GitHub Profile
@mathsways
mathsways / JAVA CODE
Created February 13, 2018 07:32
Coofee Order final
/**
* IMPORTANT: Make sure you are using the correct package name.
* This example uses the package name:
* package com.example.android.justjava
* If you get an error when copying this code into Android studio, update it to match teh package name found
* in the project's AndroidManifest.xml file.
**/
package com.mathsways.justjava;
import android.content.Intent;
@mathsways
mathsways / MainActivity.java
Created February 3, 2018 13:46
Court Counter أكواد تطبيق
package com.mathsways.courtcounter;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@mathsways
mathsways / ActivityMain.xml
Created January 31, 2018 09:26
Happy ID ALFITR
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
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"
tools:context="com.mathsways.happyaidalfitr.MainActivity">
<ImageView
android:layout_width="wrap_content"
@mathsways
mathsways / ActivityMain.xml
Last active January 31, 2018 11:56
Just JAVA - My First programme
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
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:orientation="vertical"
android:paddingBottom="10dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"