Skip to content

Instantly share code, notes, and snippets.

@HOLARO
HOLARO / app_.gitignore
Created April 3, 2018 17:03
User Profile
/build
@HOLARO
HOLARO / strings.xml
Created February 4, 2018 22:25
Just Java - strings
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Header text for app name [CHAR LIMIT=NONE] -->
<string name="app_name">NEW Just Java</string>
<!-- Hint text for the user's name [CHAR LIMIT=20] -->
<string name="name">Name</string>
<!-- Header text for toppings [CHAR LIMIT=20] -->
<string name="toppings">Toppings</string>
<!-- Checkbox text for whipped cream topping [CHAR LIMIT=20] -->
<string name="whipped_cream">Whipped cream</string>
<!-- Checkbox text for chocolate topping [CHAR LIMIT=20] -->
@HOLARO
HOLARO / MainActivity.java
Created February 4, 2018 22:25
This is the .java file of my Just Java app.
package com.example.android.newjustjava;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;
@HOLARO
HOLARO / activity_main.xml
Created February 4, 2018 22:24
This is the .xml file for my Just Java app.
<?xml version="1.0" encoding="UTF-8"?>
<ScrollView 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">
<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="wrap_content"
@HOLARO
HOLARO / app_.gitignore
Created February 4, 2018 22:20
This is my CoffeeQuiz app.
/build
@HOLARO
HOLARO / activity_main.xml
Created February 4, 2018 22:18
This is the .xml file for my CoffeeQuiz app.
<?xml version="1.0" encoding="UTF-8"?>
<ScrollView 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">
<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="wrap_content"
@HOLARO
HOLARO / MainActivity.java
Created February 4, 2018 22:17
This is the .java file for my CoffeeQuiz app.
package com.example.android.coffeequizv2;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.Toast;