Skip to content

Instantly share code, notes, and snippets.

View shamikalashawn's full-sized avatar
💭
Polishing my latest app!

Shamika La Shawn shamikalashawn

💭
Polishing my latest app!
View GitHub Profile
@shamikalashawn
shamikalashawn / activity_main.xml
Created May 14, 2018 00:50
Happy Birthday Card App
View activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.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:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.android.happybirthday.MainActivity">
<ImageView
android:layout_width="match_parent"
@shamikalashawn
shamikalashawn / Mainactivity.java
Created May 14, 2018 00:34
Truth or Dare (Friendly) Game
View Mainactivity.java
package com.shamikalashawn.truthordarecleanfun;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
@shamikalashawn
shamikalashawn / Mainactivity.java
Created May 14, 2018 00:11
Master Shoemaker Business Card App
View Mainactivity.java
package com.shamikalashawn.mastershoemaker;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
View Mainactivity.java
package com.shamikalashawn.quizapp;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
@shamikalashawn
shamikalashawn / Mainactivity.java
Created May 13, 2018 01:56
Hearts Score Keeper
View Mainactivity.java
package com.shamikalashawn.heartsscorekeeper;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@shamikalashawn
shamikalashawn / activity_main.xml
Created May 13, 2018 01:16
Udacity Business Card App
View activity_main.xml
<?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"
tools:context="com.example.android.helloandroid.MainActivity">
<ImageView
@shamikalashawn
shamikalashawn / Mainactivity.java
Created April 11, 2018 05:19
Kent Stole Quiz App
View Mainactivity.java
package com.shamikalashawn.quizapp;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
import android.widget.Toast;
@shamikalashawn
shamikalashawn / Mainactivity.java
Created March 21, 2018 22:01
Hearts ScoreKeeper App Code
View Mainactivity.java
package com.shamikalashawn.heartsscorekeeper;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
View Mainactivity.java for Truth or Dare App (Friendly)
package com.shamikalashawn.truthordarecleanfun;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
@shamikalashawn
shamikalashawn / Birthday App
Created February 9, 2017 20:03
Give this app your birthday and it will tell you how many days until your birthday, how many have passed since your birthday, or happy birthday!
View Birthday App
from datetime import datetime
def print_header():
print ('---------------------------------------------' + '\n' + ' BIRTHDAY APP' + '\n' + '---------------------------------------------' + '\n')
def get_birthday_from_user():
year = int(input('What year were you born [YYYY]?: '))
month = int(input('What month were you born [MM]?: '))