Commit 3ff424ff authored by Ramposa's avatar Ramposa

LoginApp1

parents
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
# Default ignored files
/shelf/
/workspace.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="1.8" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="PLATFORM" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="1.8" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
<option name="useQualifiedModuleNames" value="true" />
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RemoteRepositoriesConfiguration">
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Maven Central repository" />
<option name="url" value="https://repo1.maven.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="jboss.community" />
<option name="name" value="JBoss Community repository" />
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
</remote-repository>
<remote-repository>
<option name="id" value="BintrayJCenter" />
<option name="name" value="BintrayJCenter" />
<option name="url" value="https://jcenter.bintray.com/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven" />
<option name="name" value="maven" />
<option name="url" value="https://jitpack.io" />
</remote-repository>
<remote-repository>
<option name="id" value="Google" />
<option name="name" value="Google" />
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
</remote-repository>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
/build
\ No newline at end of file
plugins {
id 'com.android.application'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.example.loginapp1"
minSdkVersion 16
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.google.android.material:material:1.4.0-alpha01'
implementation 'com.github.VishnuSivadasVS:Advanced-HttpURLConnection:1.2'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
}
\ No newline at end of file
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
\ No newline at end of file
package com.example.loginapp1;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.example.loginapp1", appContext.getPackageName());
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.loginapp1">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.LoginApp1"
android:usesCleartextTraffic="true">
<activity android:name=".foodDetail"></activity>
<activity android:name=".foodOrder" />
<activity android:name=".souvDetail" />
<activity android:name=".souvOrder" />
<activity android:name=".viewingMuse" />
<activity android:name=".bookings" />
<activity android:name=".menuActivity" />
<activity
android:name=".webAppView"
android:theme="@style/Theme.Design.Light.NoActionBar" />
<activity
android:name=".Login"
android:theme="@style/Theme.Design.Light.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".SignUp"
android:theme="@style/Theme.Design.Light.NoActionBar" />
<activity
android:name=".MainActivity"
android:theme="@style/Theme.Design.Light.NoActionBar" />
</application>
</manifest>
\ No newline at end of file
package com.example.loginapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import com.google.android.material.textfield.TextInputEditText;
import com.vishnusivadas.advanced_httpurlconnection.PutData;
public class Login extends AppCompatActivity {
TextInputEditText textInputLayoutUsername, textInputLayoutPassword;
Button buttonLogin;
TextView textViewLogin;
ProgressBar progressBar;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_login);
textInputLayoutUsername = findViewById(R.id.username);
textInputLayoutPassword = findViewById(R.id.password);
buttonLogin = findViewById(R.id.buttonLogin);
textViewLogin = findViewById(R.id.loginText);
progressBar = findViewById(R.id.progress);
textViewLogin.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), SignUp.class);
startActivity(intent);
finish();
}
});
buttonLogin.setOnClickListener(new View.OnClickListener(){
@Override
public void onClick(View v){
final String username, password;
username = String.valueOf(textInputLayoutUsername.getText());
password = String.valueOf(textInputLayoutPassword.getText());
if(!username.equals("") && !password.equals("")) {
//Start ProgressBar first (Set visibility VISIBLE)
progressBar.setVisibility(View.VISIBLE);
Handler handler = new Handler(Looper.getMainLooper());
handler.post(new Runnable() {
@Override
public void run() {
//Starting Write and Read data with URL
//Creating array for parameters
String[] field = new String[2];
field[0] = "username";
field[1] = "password";
//Creating array for data
String[] data = new String[2];
data[0] = username;
data[1] = password;
// URL allow to insert data to the php file then to the DB in phpmyadmin.
PutData putData = new PutData("https://ysjcs.net/~daniel.tang/login.php", "POST", field, data);
if (putData.startPut()) {
if (putData.onComplete()) {
String result = putData.getResult();
//End ProgressBar (Set visibility to GONE)
progressBar.setVisibility(View.GONE);
if(result.equals("Login Success")){
Toast.makeText(getApplicationContext(), result,Toast.LENGTH_LONG).show();
Intent intent = new Intent(getApplicationContext(), MainActivity.class);
startActivity(intent);
finish();
}
else {
Toast.makeText(getApplicationContext(), result,Toast.LENGTH_LONG).show();
}
Log.i("PutData", result);
}
}
//End Write and Read data with URL
}
});
}
else {
Toast.makeText(getApplicationContext(), "All fields are required", Toast.LENGTH_SHORT).show();
}
}
});
}
}
\ No newline at end of file
package com.example.loginapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.widget.Button;
import android.widget.ProgressBar;
import android.widget.TextView;
import java.util.Timer;
import java.util.TimerTask;
public class MainActivity extends AppCompatActivity {
Timer timer;
private ProgressBar mProgressBar;
private TextView mLoadingText;
private int mProgressStatus = 0;
private Handler mHandler = new Handler();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mProgressBar = (ProgressBar) findViewById(R.id.progressBar);
mLoadingText = (TextView) findViewById(R.id.loadCompleteTextView);
new Thread(new Runnable() {
@Override
public void run() {
while(mProgressStatus < 5000){
mProgressStatus++;
android.os.SystemClock.sleep(5000);
mHandler.post(new Runnable() {
@Override
public void run() {
mProgressBar.setProgress(mProgressStatus);
}
});
}
mHandler.post(new Runnable() {
@Override
public void run() {
mLoadingText.setVisibility(View.VISIBLE);
}
});
}
}).start();
// Automatically check to new activity.
timer = new Timer();
timer.schedule(new TimerTask() {
@Override
public void run() {
Intent intent = new Intent(MainActivity.this, menuActivity.class);
startActivity(intent);
finish();
}
}, 5000);
}
}
\ No newline at end of file
package com.example.loginapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import com.google.android.material.textfield.TextInputEditText;
import com.vishnusivadas.advanced_httpurlconnection.PutData;
public class SignUp extends AppCompatActivity {
TextInputEditText textInputEditTextFullname,
textInputEditTextUsername,
textInputEditTextPassword,
textInputEditTextEmail;
Button buttonSignUp;
TextView textViewLogin;
ProgressBar progressBar;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_sign_up);
textInputEditTextFullname = findViewById(R.id.fullname);
textInputEditTextUsername = findViewById(R.id.username);
textInputEditTextPassword = findViewById(R.id.password);
textInputEditTextEmail = findViewById(R.id.email);
buttonSignUp = findViewById(R.id.buttonSignUp);
textViewLogin = findViewById(R.id.loginText);
progressBar = findViewById(R.id.progress);
textViewLogin.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), Login.class);
startActivity(intent);
finish();
}
});
buttonSignUp.setOnClickListener(new View.OnClickListener(){
@Override
public void onClick(View v){
final String fullname, username, password, email;
fullname = String.valueOf(textInputEditTextFullname.getText());
username = String.valueOf(textInputEditTextUsername.getText());
password = String.valueOf(textInputEditTextPassword.getText());
email = String.valueOf(textInputEditTextEmail.getText());
if(!fullname.equals("") && !username.equals("") && !password.equals("") && !email.equals("")) {
//Start ProgressBar first (Set visibility VISIBLE)
progressBar.setVisibility(View.VISIBLE);
Handler handler = new Handler(Looper.getMainLooper());
handler.post(new Runnable() {
@Override
public void run() {
//Starting Write and Read data with URL
//Creating array for parameters
String[] field = new String[4];
field[0] = "fullname";
field[1] = "username";
field[2] = "password";
field[3] = "email";
//Creating array for data
String[] data = new String[4];
data[0] = fullname;
data[1] = username;
data[2] = password;
data[3] = email;
// URL allow to insert data to the php file then to the DB in phpmyadmin.
PutData putData = new PutData("https://ysjcs.net/~daniel.tang/signup.php", "POST", field, data);
if (putData.startPut()) {
if (putData.onComplete()) {
String result = putData.getResult();
//End ProgressBar (Set visibility to GONE)
progressBar.setVisibility(View.GONE);
if(result.equals("Sign Up Success")){
Toast.makeText(getApplicationContext(), result,Toast.LENGTH_LONG).show();
Intent intent = new Intent(getApplicationContext(), Login.class);
startActivity(intent);
finish();
}
else {
Toast.makeText(getApplicationContext(), result,Toast.LENGTH_LONG).show();
}
Log.i("PutData", result);
}
}
//End Write and Read data with URL
}
});
}
else {
Toast.makeText(getApplicationContext(), "All fields are required", Toast.LENGTH_SHORT).show();
}
}
});
}
}
\ No newline at end of file
package com.example.loginapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class bookings extends AppCompatActivity {
private WebView webView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_bookings);
webView = (WebView) findViewById(R.id.webviewBooks);
webView.setWebViewClient(new WebViewClient());
webView.loadUrl("https://ysjcs.net/~daniel.tang/booking.html");
WebSettings webSettings = webView.getSettings();
webSettings.setJavaScriptEnabled(true);
}
}
\ No newline at end of file
package com.example.loginapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class foodDetail extends AppCompatActivity {
TextView listView, priceView;
String list_choice;
Double price_bd, price_gdp;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_food_detail);
listView = (TextView) findViewById(R.id.listView);
priceView = (TextView) findViewById(R.id.priceView);
Bundle bundle = getIntent().getExtras();
list_choice = bundle.getString("choices");
price_bd = bundle.getDouble("price");
listView.setText(list_choice);
priceView.setText("£" + price_bd.toString());
}
public void returnHome(View view){
Intent intent = new Intent(getApplicationContext(), menuActivity.class);
startActivity(intent);
finish();
}
}
\ No newline at end of file
package com.example.loginapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class foodOrder extends AppCompatActivity {
Button teaFunc, waterFunc, coffeeFunc, flatbreadFunc, sandwichFunc, sweetRollFunc, saladFunc, leaveFood;
// Strings
String choices = "";
Double price = 0.00;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_food_order);
teaFunc = (Button) findViewById(R.id.teaFunc);
waterFunc = (Button) findViewById(R.id.waterFunc);
coffeeFunc = (Button) findViewById(R.id.coffeeFunc);
flatbreadFunc = (Button) findViewById(R.id.flatbreadFunc);
sandwichFunc = (Button) findViewById(R.id.sandwichFunc);
sweetRollFunc = (Button) findViewById(R.id.sweetRollFunc);
saladFunc = (Button) findViewById(R.id.saladFunc);
leaveFood = (Button) findViewById(R.id.leaveFood);
leaveFood.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), menuActivity.class);
startActivity(intent);
finish();
}
});
}
public void add_to_list(View view){
if(view == findViewById(R.id.teaFunc)){
choices = choices+"Tea"+"\n";
price = price+1.00;
}
else if(view == findViewById(R.id.waterFunc)){
choices = choices+"Water"+"\n";
price = price+1.00;
}
else if(view == findViewById(R.id.coffeeFunc)){
choices = choices+"Coffee"+"\n";
price = price+2.00;
}
else if(view == findViewById(R.id.flatbreadFunc)){
choices = choices+"Flatbread"+"\n";
price = price+2.00;
}
else if(view == findViewById(R.id.sandwichFunc)){
choices = choices+"Sandwich"+"\n";
price = price+2.00;
}
else if(view == findViewById(R.id.sweetRollFunc)){
choices = choices+"Sweet Roll"+"\n";
price = price+2.00;
}
else if(view == findViewById(R.id.saladFunc)){
choices = choices+"Salad"+"\n";
price = price+2.00;
}
}
public void placeOrder(View view){
Intent i = new Intent(foodOrder.this, foodDetail.class);
Bundle bundle = new Bundle();
bundle.putString("choices",choices);
bundle.putDouble("price",price);
i.putExtras(bundle);
startActivity(i);
// Choices
}
}
\ No newline at end of file
package com.example.loginapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class menuActivity extends AppCompatActivity {
TextView privacyStatement;
Button bookMuse, viewMuse, orderingBtn, souvBtn;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_menu);
privacyStatement = findViewById(R.id.privacyStatement);
bookMuse = findViewById(R.id.bookMuse);
viewMuse = findViewById(R.id.viewMuse);
orderingBtn = findViewById(R.id.orderingBtn);
souvBtn = findViewById(R.id.souvBtn);
privacyStatement.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), webAppView.class);
startActivity(intent);
finish();
}
});
bookMuse.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), viewingMuse.class);
startActivity(intent);
finish();
}
});
viewMuse.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), viewingMuse.class);
startActivity(intent);
finish();
}
});
orderingBtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), foodOrder.class);
startActivity(intent);
finish();
}
});
souvBtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), souvOrder.class);
startActivity(intent);
finish();
}
});
// https://www.youtube.com/watch?v=Rb4x4-mT1Bo
}
}
\ No newline at end of file
package com.example.loginapp1;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class souvDetail extends AppCompatActivity {
TextView listView, priceView;
String list_choice;
Double price_bd, price_gdp;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_souv_detail);
listView = (TextView) findViewById(R.id.listView);
priceView = (TextView) findViewById(R.id.priceView);
Bundle bundle = getIntent().getExtras();
list_choice = bundle.getString("choices");
price_bd = bundle.getDouble("price");
listView.setText(list_choice);
priceView.setText("£" + price_bd.toString());
}
public void returnHome(View view){
Intent intent = new Intent(getApplicationContext(), menuActivity.class);
startActivity(intent);
finish();
}
}
\ No newline at end of file
package com.example.loginapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class souvOrder extends AppCompatActivity {
Button shirtBtn, hatBtn, snowBtn, keyBtn, bottleBtn, mugBtn, coasterBtn, leaveSouv;
// Strings
String choices = "";
Double price = 0.00;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_souv_order);
shirtBtn = (Button) findViewById(R.id.shirtBtn);
hatBtn = (Button) findViewById(R.id.hatBtn);
snowBtn = (Button) findViewById(R.id.snowBtn);
keyBtn = (Button) findViewById(R.id.keyBtn);
bottleBtn = (Button) findViewById(R.id.bottleBtn);
mugBtn = (Button) findViewById(R.id.mugBtn);
coasterBtn = (Button) findViewById(R.id.coasterBtn);
leaveSouv = (Button) findViewById(R.id.leaveSouv);
leaveSouv.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), menuActivity.class);
startActivity(intent);
finish();
}
});
}
public void add_to_list(View view){
if(view == findViewById(R.id.shirtBtn)){
choices = choices+"Shirt"+"\n";
price = price+10.00;
}
else if(view == findViewById(R.id.hatBtn)){
choices = choices+"Hat"+"\n";
price = price+5.00;
}
else if(view == findViewById(R.id.snowBtn)){
choices = choices+"Snow Globe"+"\n";
price = price+5.00;
}
else if(view == findViewById(R.id.keyBtn)){
choices = choices+"Key Chain"+"\n";
price = price+5.00;
}
else if(view == findViewById(R.id.bottleBtn)){
choices = choices+"Bottle"+"\n";
price = price+5.00;
}
else if(view == findViewById(R.id.mugBtn)){
choices = choices+"Mug"+"\n";
price = price+5.00;
}
else if(view == findViewById(R.id.coasterBtn)){
choices = choices+"Coaster"+"\n";
price = price+2.00;
}
}
public void placeOrder(View view){
Intent i = new Intent(souvOrder.this, souvDetail.class);
Bundle bundle = new Bundle();
bundle.putString("choices",choices);
bundle.putDouble("price",price);
i.putExtras(bundle);
startActivity(i);
// Choices
}
}
\ No newline at end of file
package com.example.loginapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class viewingMuse extends AppCompatActivity {
private WebView webView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_viewing_muse);
webView = (WebView) findViewById(R.id.webviewMuse);
webView.setWebViewClient(new WebViewClient());
webView.loadUrl("https://ysjcs.net/~daniel.tang/booking.html");
WebSettings webSettings = webView.getSettings();
webSettings.setJavaScriptEnabled(true);
}
@Override
public void onBackPressed() {
if (webView.canGoBack()) {
webView.goBack();
} else {
super.onBackPressed();
}
}
}
\ No newline at end of file
package com.example.loginapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class webAppView extends AppCompatActivity {
private WebView webView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_web_app_view);
webView = (WebView) findViewById(R.id.webview);
webView.setWebViewClient(new WebViewClient());
webView.loadUrl("http://ysjcs.net/~daniel.tang/privacyPolicy.html");
WebSettings webSettings = webView.getSettings();
webSettings.setJavaScriptEnabled(true);
}
@Override
public void onBackPressed() {
if (webView.canGoBack()) {
webView.goBack();
} else {
super.onBackPressed();
}
}
}
\ No newline at end of file
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="85.84757"
android:endY="92.4963"
android:startX="42.9492"
android:startY="49.59793"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<solid android:color="@color/black"/>
<corners android:radius="20dp"/>
</shape>
</item>
</selector>
\ No newline at end of file
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10h5v-2h-5c-4.34,0 -8,-3.66 -8,-8s3.66,-8 8,-8 8,3.66 8,8v1.43c0,0.79 -0.71,1.57 -1.5,1.57s-1.5,-0.78 -1.5,-1.57L17,12c0,-2.76 -2.24,-5 -5,-5s-5,2.24 -5,5 2.24,5 5,5c1.38,0 2.64,-0.56 3.54,-1.47 0.65,0.89 1.77,1.47 2.96,1.47 1.97,0 3.5,-1.6 3.5,-3.57L22,12c0,-5.52 -4.48,-10 -10,-10zM12,15c-1.66,0 -3,-1.34 -3,-3s1.34,-3 3,-3 3,1.34 3,3 -1.34,3 -3,3z"/>
</vector>
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M18,8h-1L17,6c0,-2.76 -2.24,-5 -5,-5S7,3.24 7,6v2L6,8c-1.1,0 -2,0.9 -2,2v10c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L20,10c0,-1.1 -0.9,-2 -2,-2zM12,17c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2zM15.1,8L8.9,8L8.9,6c0,-1.71 1.39,-3.1 3.1,-3.1 1.71,0 3.1,1.39 3.1,3.1v2z"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M15,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM6,10L6,7L4,7v3L1,10v2h3v3h2v-3h3v-2L6,10zM15,14c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M12,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM12,14c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z"/>
</vector>
<?xml version="1.0" encoding="utf-8"?>
<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"
tools:context=".bookings">
<WebView
android:id="@+id/webviewBooks"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</RelativeLayout>
\ No newline at end of file
<?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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".foodDetail">
<TextView
android:layout_width="match_parent"
android:layout_height="35sp"
android:id="@+id/textView"
android:layout_weight="1"
android:textSize="25sp"
android:text="Orders"
android:textAlignment="center"
android:gravity="center_horizontal" />
<TextView
android:layout_width="match_parent"
android:id="@+id/listView"
android:layout_height="350dp"
android:hint="Items will be here"
android:textAlignment="center"
android:textSize="25sp"
android:layout_marginBottom="60dp"
android:gravity="center_horizontal" />
<TextView
android:layout_width="match_parent"
android:id="@+id/priceView"
android:layout_height="150dp"
android:hint="price will be here"
android:textAlignment="center"
android:textSize="25sp"
android:layout_marginBottom="60dp"
android:gravity="center_horizontal" />
<LinearLayout
android:layout_width="match_parent"
android:layout_marginTop="10dp"
android:layout_height="50dp">
<Button
android:onClick="returnHome"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Return"/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
<?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:layout_width="match_parent"
android:orientation="vertical"
android:layout_height="match_parent"
tools:context=".foodOrder">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Menu"
android:textSize="30sp"
android:textAlignment="center"
android:gravity="center_horizontal" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Items"
android:textSize="35sp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Price"
android:textSize="35sp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Button"
android:textSize="35sp"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Tea"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£1"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/teaFunc"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Water"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£1"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/waterFunc"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Coffee"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£2"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/coffeeFunc"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Flatbread"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£2"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/flatbreadFunc"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Sandwich"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£2"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/sandwichFunc"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Sweet Roll"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£2"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/sweetRollFunc"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Salad"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£2"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/saladFunc"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:id="@+id/leaveFood"
android:text="Return to menu"
android:textSize="12dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£2"
android:visibility="invisible"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:onClick="placeOrder"
android:layout_weight="1"
android:text="Place Order" />
</LinearLayout>
<!-- <LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:layout_marginBottom="140dp">
</LinearLayout>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:onClick="placeOrder"
android:text="Place Order" />-->
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.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=".Login">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="100dp"
android:gravity="center"
android:text="@string/login"
android:textSize="30sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:targetApi="jelly_bean" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.426"
tools:layout_editor_absoluteX="0dp">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayoutUsername"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:hint="@string/username"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/username"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableEnd="@drawable/ic_username"
android:drawableRight="@drawable/ic_username"
tools:targetApi="jelly_bean" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayoutPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:hint="@string/password"
app:layout_constraintTop_toBottomOf="@+id/textInputLayoutUsername"
tools:layout_editor_absoluteX="0dp">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableEnd="@drawable/ic_password"
android:drawableRight="@drawable/ic_password"
tools:targetApi="jelly_bean" />
</com.google.android.material.textfield.TextInputLayout>
<ProgressBar
android:id="@+id/progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayoutPassword" />
<Button
android:id="@+id/buttonLogin"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="@string/login"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/progress" />
<TextView
android:id="@+id/loginText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:text="Don't have an account? Click here."
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/buttonLogin"
tools:targetApi="jelly_bean" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.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=".MainActivity">
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.416" />
<TextView
android:id="@+id/loadCompleteTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Load Complete"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.476" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Successful to login!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0.498"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.526" />
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Please wait!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0.498"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.609" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.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=".menuActivity">
<TextView
android:id="@+id/privacyStatement"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:text="Privacy Policy Statement."
android:textStyle="italic"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.947"
tools:targetApi="jelly_bean" />
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="World Museums"
android:textSize="20dp"
android:textStyle="italic"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.06"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.178"
tools:text="World Museums" />
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Menu"
android:textSize="30dp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.047"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.099"
tools:text="Menu" />
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/souvBtn"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="250dp"
android:text="Souvenir Shop"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintCircleRadius="50dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.503"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.729" />
<Button
android:id="@+id/orderingBtn"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="250dp"
android:text="Ordering Food"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintCircleRadius="50dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.496"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.61" />
<Button
android:id="@+id/viewMuse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="View Museums"
style="@style/Widget.AppCompat.Button.Colored"
android:width="250dp"
app:layout_constraintCircleRadius="50dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.382" />
<Button
android:id="@+id/bookMuse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Book a Museum slot"
style="@style/Widget.AppCompat.Button.Colored"
android:width="250dp"
app:layout_constraintCircleRadius="50dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.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=".SignUp">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.4">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="Sign Up"
android:textSize="30sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:targetApi="jelly_bean" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayoutFullname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="30dp"
android:layout_marginTop="30dp"
android:layout_marginRight="30dp"
android:hint="@string/fullname"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/fullname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableEnd="@drawable/ic_person"
android:drawableRight="@drawable/ic_person"
tools:targetApi="jelly_bean" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayoutEmail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:hint="@string/email"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayoutFullname">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableEnd="@drawable/ic_email"
android:drawableRight="@drawable/ic_email"
tools:targetApi="jelly_bean" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayoutUsername"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:hint="@string/username"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayoutEmail">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/username"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableEnd="@drawable/ic_username"
android:drawableRight="@drawable/ic_username"
tools:targetApi="jelly_bean" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayoutPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:hint="@string/password"
app:layout_constraintTop_toBottomOf="@+id/textInputLayoutUsername"
tools:layout_editor_absoluteX="0dp">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableEnd="@drawable/ic_password"
android:drawableRight="@drawable/ic_password"
tools:targetApi="jelly_bean" />
</com.google.android.material.textfield.TextInputLayout>
<ProgressBar
android:id="@+id/progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayoutPassword" />
<Button
android:id="@+id/buttonSignUp"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="48dp"
android:text="@string/signup"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.498"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/progress" />
<TextView
android:id="@+id/loginText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:text="@string/loginHere"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/buttonSignUp"
tools:targetApi="jelly_bean" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".souvDetail">
<TextView
android:layout_width="match_parent"
android:layout_height="35sp"
android:id="@+id/textView"
android:layout_weight="1"
android:textSize="25sp"
android:text="Orders"
android:textAlignment="center"
android:gravity="center_horizontal" />
<TextView
android:layout_width="match_parent"
android:id="@+id/listView"
android:layout_height="350dp"
android:hint="Items will be here"
android:textAlignment="center"
android:textSize="25sp"
android:layout_marginBottom="60dp"
android:gravity="center_horizontal" />
<TextView
android:layout_width="match_parent"
android:id="@+id/priceView"
android:layout_height="150dp"
android:hint="price will be here"
android:textAlignment="center"
android:textSize="25sp"
android:layout_marginBottom="60dp"
android:gravity="center_horizontal" />
<LinearLayout
android:layout_width="match_parent"
android:layout_marginTop="10dp"
android:layout_height="50dp">
<Button
android:onClick="returnHome"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Return"/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
<?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:layout_width="match_parent"
android:orientation="vertical"
android:layout_height="match_parent"
tools:context=".souvOrder">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Souvenir Shop"
android:textSize="30sp"
android:textAlignment="center"
android:gravity="center_horizontal" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Items"
android:textSize="35sp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Price"
android:textSize="35sp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Button"
android:textSize="35sp"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Shirt"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£10"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/shirtBtn"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Hat"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£5"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/hatBtn"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Snow Globe"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£5"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/snowBtn"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Key Chain"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£5"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/keyBtn"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Bottle"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£5"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/bottleBtn"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Mug"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£5"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/mugBtn"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Coaster"
android:textSize="23dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£2"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Add"
android:onClick="add_to_list"
android:id="@+id/coasterBtn"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:weightSum="3"
android:orientation="horizontal"
android:layout_marginTop="5dp">
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:onClick="leaveBtn"
android:layout_weight="1"
android:id="@+id/leaveSouv"
android:text="Return to menu"
android:textSize="12dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="£2"
android:visibility="invisible"
android:textSize="23dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:onClick="placeOrder"
android:layout_weight="1"
android:text="Place Order" />
</LinearLayout>
<!--<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:layout_marginBottom="140dp">
</LinearLayout>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:onClick="placeOrder"
android:text="Place Order" />-->
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<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"
tools:context=".viewingMuse">
<WebView
android:id="@+id/webviewMuse"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<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"
tools:context=".webAppView">
<WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
\ No newline at end of file
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.LoginApp1" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/black</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_200</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
</resources>
\ No newline at end of file
<resources>
<string name="app_name">LoginApp1</string>
<string name="username">Username</string>
<string name="password">Password</string>
<string name="login">login</string>
<string name="fullname">fullname</string>
<string name="email">email</string>
<string name="signup">signup</string>
<string name="loginHere">Already have an account? <u>Login</u></string>
<string name="create_a_new_account_here">Create a new account here</string>
</resources>
\ No newline at end of file
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.LoginApp1" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>
\ No newline at end of file
package com.example.loginapp1;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}
\ No newline at end of file
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.3"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
\ No newline at end of file
<html>
<head>
<title>.gitignore</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
.gitignore</font>
</center></td></tr></table>
<pre><span class="s0">/build</span></pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>AndroidManifest.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
AndroidManifest.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;?</span><span class="s1">xml version</span><span class="s2">=&quot;1.0&quot; </span><span class="s1">encoding</span><span class="s2">=&quot;utf-8&quot;</span><span class="s0">?&gt;</span>
<span class="s0">&lt;manifest </span><span class="s1">xmlns:android</span><span class="s2">=&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="s1">package</span><span class="s2">=&quot;com.example.loginapp1&quot;</span>
<span class="s1">android:versionCode</span><span class="s2">=&quot;1&quot;</span>
<span class="s1">android:versionName</span><span class="s2">=&quot;1.0&quot; </span><span class="s0">&gt;</span>
<span class="s0">&lt;uses-sdk</span>
<span class="s1">android:minSdkVersion</span><span class="s2">=&quot;16&quot;</span>
<span class="s1">android:targetSdkVersion</span><span class="s2">=&quot;30&quot; </span><span class="s0">/&gt;</span>
<span class="s0">&lt;uses-permission </span><span class="s1">android:name</span><span class="s2">=&quot;android.permission.INTERNET&quot; </span><span class="s0">/&gt;</span>
<span class="s0">&lt;application</span>
<span class="s1">android:allowBackup</span><span class="s2">=&quot;true&quot;</span>
<span class="s1">android:appComponentFactory</span><span class="s2">=&quot;androidx.core.app.CoreComponentFactory&quot;</span>
<span class="s1">android:debuggable</span><span class="s2">=&quot;true&quot;</span>
<span class="s1">android:icon</span><span class="s2">=&quot;@mipmap/ic_launcher&quot;</span>
<span class="s1">android:label</span><span class="s2">=&quot;@string/app_name&quot;</span>
<span class="s1">android:roundIcon</span><span class="s2">=&quot;@mipmap/ic_launcher_round&quot;</span>
<span class="s1">android:supportsRtl</span><span class="s2">=&quot;true&quot;</span>
<span class="s1">android:testOnly</span><span class="s2">=&quot;true&quot;</span>
<span class="s1">android:theme</span><span class="s2">=&quot;@style/Theme.LoginApp1&quot;</span>
<span class="s1">android:usesCleartextTraffic</span><span class="s2">=&quot;true&quot; </span><span class="s0">&gt;</span>
<span class="s0">&lt;activity</span>
<span class="s1">android:name</span><span class="s2">=&quot;com.example.loginapp1.Login&quot;</span>
<span class="s1">android:theme</span><span class="s2">=&quot;@style/Theme.Design.Light.NoActionBar&quot; </span><span class="s0">&gt;</span>
<span class="s0">&lt;intent-filter&gt;</span>
<span class="s0">&lt;action </span><span class="s1">android:name</span><span class="s2">=&quot;android.intent.action.MAIN&quot; </span><span class="s0">/&gt;</span>
<span class="s0">&lt;category </span><span class="s1">android:name</span><span class="s2">=&quot;android.intent.category.LAUNCHER&quot; </span><span class="s0">/&gt;</span>
<span class="s0">&lt;/intent-filter&gt;</span>
<span class="s0">&lt;/activity&gt;</span>
<span class="s0">&lt;activity</span>
<span class="s1">android:name</span><span class="s2">=&quot;com.example.loginapp1.SignUp&quot;</span>
<span class="s1">android:theme</span><span class="s2">=&quot;@style/Theme.Design.Light.NoActionBar&quot; </span><span class="s0">&gt;</span>
<span class="s0">&lt;/activity&gt;</span>
<span class="s0">&lt;activity</span>
<span class="s1">android:name</span><span class="s2">=&quot;com.example.loginapp1.MainActivity&quot;</span>
<span class="s1">android:theme</span><span class="s2">=&quot;@style/Theme.Design.Light.NoActionBar&quot; </span><span class="s0">&gt;</span>
<span class="s0">&lt;/activity&gt;</span>
<span class="s0">&lt;/application&gt;</span>
<span class="s0">&lt;/manifest&gt;</span></pre>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
<html>
<head>
<title>annotationProcessors.json</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
annotationProcessors.json</font>
</center></td></tr></table>
<pre><span class="s0">{}</span></pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>build.gradle</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #a9b7c6;}
.s1 { color: #6a8759;}
.s2 { color: #6897bb;}
.s3 { color: #cc7832;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
build.gradle</font>
</center></td></tr></table>
<pre><span class="s0">plugins {</span>
<span class="s0">id </span><span class="s1">'com.android.application'</span>
<span class="s0">}</span>
<span class="s0">android {</span>
<span class="s0">compileSdkVersion </span><span class="s2">30</span>
<span class="s0">buildToolsVersion </span><span class="s1">&quot;30.0.3&quot;</span>
<span class="s0">defaultConfig {</span>
<span class="s0">applicationId </span><span class="s1">&quot;com.example.loginapp1&quot;</span>
<span class="s0">minSdkVersion </span><span class="s2">16</span>
<span class="s0">targetSdkVersion </span><span class="s2">30</span>
<span class="s0">versionCode </span><span class="s2">1</span>
<span class="s0">versionName </span><span class="s1">&quot;1.0&quot;</span>
<span class="s0">testInstrumentationRunner </span><span class="s1">&quot;androidx.test.runner.AndroidJUnitRunner&quot;</span>
<span class="s0">}</span>
<span class="s0">buildTypes {</span>
<span class="s0">release {</span>
<span class="s0">minifyEnabled </span><span class="s3">false</span>
<span class="s0">proguardFiles getDefaultProguardFile(</span><span class="s1">'proguard-android-optimize.txt'</span><span class="s0">), </span><span class="s1">'proguard-rules.pro'</span>
<span class="s0">}</span>
<span class="s0">}</span>
<span class="s0">compileOptions {</span>
<span class="s0">sourceCompatibility JavaVersion.VERSION_1_8</span>
<span class="s0">targetCompatibility JavaVersion.VERSION_1_8</span>
<span class="s0">}</span>
<span class="s0">}</span>
<span class="s0">dependencies {</span>
<span class="s0">implementation </span><span class="s1">'androidx.appcompat:appcompat:1.2.0'</span>
<span class="s0">implementation </span><span class="s1">'com.google.android.material:material:1.3.0'</span>
<span class="s0">implementation </span><span class="s1">'androidx.constraintlayout:constraintlayout:2.0.4'</span>
<span class="s0">implementation </span><span class="s1">'com.google.android.material:material:1.4.0-alpha01'</span>
<span class="s0">implementation </span><span class="s1">'com.github.VishnuSivadasVS:Advanced-HttpURLConnection:1.2'</span>
<span class="s0">testImplementation </span><span class="s1">'junit:junit:4.+'</span>
<span class="s0">androidTestImplementation </span><span class="s1">'androidx.test.ext:junit:1.1.2'</span>
<span class="s0">androidTestImplementation </span><span class="s1">'androidx.test.espresso:espresso-core:3.3.0'</span>
<span class="s0">}</span></pre>
</body>
</html>
\ No newline at end of file
<html><head><title>com.example</title></head><body><a href="loginapp1/index.html"><b>loginapp1</b></a><br /></body></html>
\ No newline at end of file
<html>
<head>
<title>BuildConfig.java</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #629755; font-style: italic;}
.s1 { color: #a9b7c6;}
.s2 { color: #cc7832;}
.s3 { color: #6a8759;}
.s4 { color: #6897bb;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
BuildConfig.java</font>
</center></td></tr></table>
<pre><span class="s0">/**</span>
<span class="s0">* Automatically generated file. DO NOT MODIFY</span>
<span class="s0">*/</span>
<span class="s2">package </span><span class="s1">com.example.loginapp1</span><span class="s2">;</span>
<span class="s2">public final class </span><span class="s1">BuildConfig {</span>
<span class="s2">public static final boolean </span><span class="s1">DEBUG = Boolean.parseBoolean(</span><span class="s3">&quot;true&quot;</span><span class="s1">)</span><span class="s2">;</span>
<span class="s2">public static final </span><span class="s1">String APPLICATION_ID = </span><span class="s3">&quot;com.example.loginapp1&quot;</span><span class="s2">;</span>
<span class="s2">public static final </span><span class="s1">String BUILD_TYPE = </span><span class="s3">&quot;debug&quot;</span><span class="s2">;</span>
<span class="s2">public static final int </span><span class="s1">VERSION_CODE = </span><span class="s4">1</span><span class="s2">;</span>
<span class="s2">public static final </span><span class="s1">String VERSION_NAME = </span><span class="s3">&quot;1.0&quot;</span><span class="s2">;</span>
<span class="s1">}</span>
</pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>ExampleInstrumentedTest.java</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #cc7832;}
.s1 { color: #a9b7c6;}
.s2 { color: #629755; font-style: italic;}
.s3 { color: #629755; font-weight: bold; font-style: italic;}
.s4 { color: #77b767; font-style: italic;}
.s5 { color: #808080;}
.s6 { color: #6a8759;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ExampleInstrumentedTest.java</font>
</center></td></tr></table>
<pre><span class="s0">package </span><span class="s1">com.example.loginapp1</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.content.Context</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">androidx.test.platform.app.InstrumentationRegistry</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">androidx.test.ext.junit.runners.AndroidJUnit4</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">org.junit.Test</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">org.junit.runner.RunWith</span><span class="s0">;</span>
<span class="s0">import static </span><span class="s1">org.junit.Assert.*</span><span class="s0">;</span>
<span class="s2">/**</span>
<span class="s2">* Instrumented test, which will execute on an Android device.</span>
<span class="s2">*</span>
<span class="s2">* </span><span class="s3">@see </span><span class="s4">&lt;a href=&quot;http://d.android.com/tools/testing&quot;&gt;</span><span class="s2">Testing documentation</span><span class="s4">&lt;/a&gt;</span>
<span class="s2">*/</span>
<span class="s1">@RunWith(AndroidJUnit4.</span><span class="s0">class</span><span class="s1">)</span>
<span class="s0">public class </span><span class="s1">ExampleInstrumentedTest {</span>
<span class="s1">@Test</span>
<span class="s0">public void </span><span class="s1">useAppContext() {</span>
<span class="s5">// Context of the app under test.</span>
<span class="s1">Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext()</span><span class="s0">;</span>
<span class="s1">assertEquals(</span><span class="s6">&quot;com.example.loginapp1&quot;</span><span class="s0">, </span><span class="s1">appContext.getPackageName())</span><span class="s0">;</span>
<span class="s1">}</span>
<span class="s1">}</span></pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>ExampleUnitTest.java</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #cc7832;}
.s1 { color: #a9b7c6;}
.s2 { color: #629755; font-style: italic;}
.s3 { color: #629755; font-weight: bold; font-style: italic;}
.s4 { color: #77b767; font-style: italic;}
.s5 { color: #6897bb;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ExampleUnitTest.java</font>
</center></td></tr></table>
<pre><span class="s0">package </span><span class="s1">com.example.loginapp1</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">org.junit.Test</span><span class="s0">;</span>
<span class="s0">import static </span><span class="s1">org.junit.Assert.*</span><span class="s0">;</span>
<span class="s2">/**</span>
<span class="s2">* Example local unit test, which will execute on the development machine (host).</span>
<span class="s2">*</span>
<span class="s2">* </span><span class="s3">@see </span><span class="s4">&lt;a href=&quot;http://d.android.com/tools/testing&quot;&gt;</span><span class="s2">Testing documentation</span><span class="s4">&lt;/a&gt;</span>
<span class="s2">*/</span>
<span class="s0">public class </span><span class="s1">ExampleUnitTest {</span>
<span class="s1">@Test</span>
<span class="s0">public void </span><span class="s1">addition_isCorrect() {</span>
<span class="s1">assertEquals(</span><span class="s5">4</span><span class="s0">, </span><span class="s5">2 </span><span class="s1">+ </span><span class="s5">2</span><span class="s1">)</span><span class="s0">;</span>
<span class="s1">}</span>
<span class="s1">}</span></pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>Login.java</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #cc7832;}
.s1 { color: #a9b7c6;}
.s2 { color: #6a8759;}
.s3 { color: #808080;}
.s4 { color: #6897bb;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
Login.java</font>
</center></td></tr></table>
<pre><span class="s0">package </span><span class="s1">com.example.loginapp1</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">androidx.appcompat.app.AppCompatActivity</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.content.Intent</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.os.Bundle</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.os.Handler</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.os.Looper</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.util.Log</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.view.View</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.widget.Button</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.widget.ProgressBar</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.widget.TextView</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.widget.Toast</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">com.google.android.material.textfield.TextInputEditText</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">com.vishnusivadas.advanced_httpurlconnection.PutData</span><span class="s0">;</span>
<span class="s0">public class </span><span class="s1">Login </span><span class="s0">extends </span><span class="s1">AppCompatActivity {</span>
<span class="s1">TextInputEditText textInputLayoutUsername</span><span class="s0">, </span><span class="s1">textInputLayoutPassword</span><span class="s0">;</span>
<span class="s1">Button buttonLogin</span><span class="s0">;</span>
<span class="s1">TextView textViewLogin</span><span class="s0">;</span>
<span class="s1">ProgressBar progressBar</span><span class="s0">;</span>
<span class="s1">@Override</span>
<span class="s0">protected void </span><span class="s1">onCreate(Bundle savedInstanceState) {</span>
<span class="s0">super</span><span class="s1">.onCreate(savedInstanceState)</span><span class="s0">;</span>
<span class="s1">setContentView(R.layout.activity_login)</span><span class="s0">;</span>
<span class="s1">textInputLayoutUsername = findViewById(R.id.username)</span><span class="s0">;</span>
<span class="s1">textInputLayoutPassword = findViewById(R.id.password)</span><span class="s0">;</span>
<span class="s1">buttonLogin = findViewById(R.id.buttonLogin)</span><span class="s0">;</span>
<span class="s1">textViewLogin = findViewById(R.id.loginText)</span><span class="s0">;</span>
<span class="s1">progressBar = findViewById(R.id.progress)</span><span class="s0">;</span>
<span class="s1">buttonLogin.setOnClickListener(</span><span class="s0">new </span><span class="s1">View.OnClickListener(){</span>
<span class="s1">@Override</span>
<span class="s0">public void </span><span class="s1">onClick(View v){</span>
<span class="s0">final </span><span class="s1">String username</span><span class="s0">, </span><span class="s1">password</span><span class="s0">;</span>
<span class="s1">username = String.valueOf(textInputLayoutUsername.getText())</span><span class="s0">;</span>
<span class="s1">password = String.valueOf(textInputLayoutPassword.getText())</span><span class="s0">;</span>
<span class="s0">if</span><span class="s1">(!username.equals(</span><span class="s2">&quot;&quot;</span><span class="s1">) &amp;&amp; !password.equals(</span><span class="s2">&quot;&quot;</span><span class="s1">)) {</span>
<span class="s3">//Start ProgressBar first (Set visibility VISIBLE)</span>
<span class="s1">progressBar.setVisibility(View.VISIBLE)</span><span class="s0">;</span>
<span class="s1">Handler handler = </span><span class="s0">new </span><span class="s1">Handler(Looper.getMainLooper())</span><span class="s0">;</span>
<span class="s1">handler.post(</span><span class="s0">new </span><span class="s1">Runnable() {</span>
<span class="s1">@Override</span>
<span class="s0">public void </span><span class="s1">run() {</span>
<span class="s3">//Starting Write and Read data with URL</span>
<span class="s3">//Creating array for parameters</span>
<span class="s1">String[] field = </span><span class="s0">new </span><span class="s1">String[</span><span class="s4">2</span><span class="s1">]</span><span class="s0">;</span>
<span class="s1">field[</span><span class="s4">0</span><span class="s1">] = </span><span class="s2">&quot;username&quot;</span><span class="s0">;</span>
<span class="s1">field[</span><span class="s4">1</span><span class="s1">] = </span><span class="s2">&quot;password&quot;</span><span class="s0">;</span>
<span class="s3">//Creating array for data</span>
<span class="s1">String[] data = </span><span class="s0">new </span><span class="s1">String[</span><span class="s4">2</span><span class="s1">]</span><span class="s0">;</span>
<span class="s1">data[</span><span class="s4">0</span><span class="s1">] = username</span><span class="s0">;</span>
<span class="s1">data[</span><span class="s4">1</span><span class="s1">] = password</span><span class="s0">;</span>
<span class="s3">// URL allow to insert data to the php file then to the DB in phpmyadmin.</span>
<span class="s1">PutData putData = </span><span class="s0">new </span><span class="s1">PutData(</span><span class="s2">&quot;https://ysjcs.net/~daniel.tang/login.php&quot;</span><span class="s0">, </span><span class="s2">&quot;POST&quot;</span><span class="s0">, </span><span class="s1">field</span><span class="s0">, </span><span class="s1">data)</span><span class="s0">;</span>
<span class="s0">if </span><span class="s1">(putData.startPut()) {</span>
<span class="s0">if </span><span class="s1">(putData.onComplete()) {</span>
<span class="s1">String result = putData.getResult()</span><span class="s0">;</span>
<span class="s3">//End ProgressBar (Set visibility to GONE)</span>
<span class="s1">progressBar.setVisibility(View.GONE)</span><span class="s0">;</span>
<span class="s0">if</span><span class="s1">(result.equals(</span><span class="s2">&quot;Login Success&quot;</span><span class="s1">)){</span>
<span class="s1">Toast.makeText(getApplicationContext()</span><span class="s0">, </span><span class="s1">result</span><span class="s0">,</span><span class="s1">Toast.LENGTH_LONG).show()</span><span class="s0">;</span>
<span class="s1">Intent intent = </span><span class="s0">new </span><span class="s1">Intent(getApplicationContext()</span><span class="s0">, </span><span class="s1">MainActivity.</span><span class="s0">class</span><span class="s1">)</span><span class="s0">;</span>
<span class="s1">startActivity(intent)</span><span class="s0">;</span>
<span class="s1">finish()</span><span class="s0">;</span>
<span class="s1">}</span>
<span class="s0">else </span><span class="s1">{</span>
<span class="s1">Toast.makeText(getApplicationContext()</span><span class="s0">, </span><span class="s1">result</span><span class="s0">,</span><span class="s1">Toast.LENGTH_LONG).show()</span><span class="s0">;</span>
<span class="s1">}</span>
<span class="s1">Log.i(</span><span class="s2">&quot;PutData&quot;</span><span class="s0">, </span><span class="s1">result)</span><span class="s0">;</span>
<span class="s1">}</span>
<span class="s1">}</span>
<span class="s3">//End Write and Read data with URL</span>
<span class="s1">}</span>
<span class="s1">})</span><span class="s0">;</span>
<span class="s1">}</span>
<span class="s0">else </span><span class="s1">{</span>
<span class="s1">Toast.makeText(getApplicationContext()</span><span class="s0">, </span><span class="s2">&quot;All fields are required&quot;</span><span class="s0">, </span><span class="s1">Toast.LENGTH_SHORT).show()</span><span class="s0">;</span>
<span class="s1">}</span>
<span class="s1">}</span>
<span class="s1">})</span><span class="s0">;</span>
<span class="s1">}</span>
<span class="s1">}</span></pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>MainActivity.java</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #cc7832;}
.s1 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
MainActivity.java</font>
</center></td></tr></table>
<pre><span class="s0">package </span><span class="s1">com.example.loginapp1</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">androidx.appcompat.app.AppCompatActivity</span><span class="s0">;</span>
<span class="s0">import </span><span class="s1">android.os.Bundle</span><span class="s0">;</span>
<span class="s0">public class </span><span class="s1">MainActivity </span><span class="s0">extends </span><span class="s1">AppCompatActivity {</span>
<span class="s1">@Override</span>
<span class="s0">protected void </span><span class="s1">onCreate(Bundle savedInstanceState) {</span>
<span class="s0">super</span><span class="s1">.onCreate(savedInstanceState)</span><span class="s0">;</span>
<span class="s1">setContentView(R.layout.activity_main)</span><span class="s0">;</span>
<span class="s1">}</span>
<span class="s1">}</span></pre>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
<html><head><title>com.example.loginapp1</title></head><body><a href="BuildConfig.java.html">BuildConfig.java</a><br /></body></html>
\ No newline at end of file
<html><head><title>com</title></head><body><a href="example/index.html"><b>example</b></a><br /></body></html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
<html>
<head>
<title>dex-renamer-state.txt</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
dex-renamer-state.txt</font>
</center></td></tr></table>
<pre><span class="s0">#Wed Apr 07 10:46:43 BST 2021</span>
<span class="s0">base.0=C\:\\Users\\meili\\AndroidStudioProjects\\LoginApp1\\app\\build\\intermediates\\dex\\debug\\mergeDexDebug\\classes.dex</span>
<span class="s0">path.0=classes.dex</span>
<span class="s0">renamed.0=classes.dex</span>
</pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>ic_launcher_foreground.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ic_launcher_foreground.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;vector </span><span class="s1">xmlns:android</span><span class="s2">=&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="s1">xmlns:aapt</span><span class="s2">=&quot;http://schemas.android.com/aapt&quot;</span>
<span class="s1">android:width</span><span class="s2">=&quot;108dp&quot;</span>
<span class="s1">android:height</span><span class="s2">=&quot;108dp&quot;</span>
<span class="s1">android:viewportWidth</span><span class="s2">=&quot;108&quot;</span>
<span class="s1">android:viewportHeight</span><span class="s2">=&quot;108&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;path </span><span class="s1">android:pathData</span><span class="s2">=&quot;M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;aapt:attr </span><span class="s1">name</span><span class="s2">=&quot;android:fillColor&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;gradient</span>
<span class="s1">android:endX</span><span class="s2">=&quot;85.84757&quot;</span>
<span class="s1">android:endY</span><span class="s2">=&quot;92.4963&quot;</span>
<span class="s1">android:startX</span><span class="s2">=&quot;42.9492&quot;</span>
<span class="s1">android:startY</span><span class="s2">=&quot;49.59793&quot;</span>
<span class="s1">android:type</span><span class="s2">=&quot;linear&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;item</span>
<span class="s1">android:color</span><span class="s2">=&quot;#44000000&quot;</span>
<span class="s1">android:offset</span><span class="s2">=&quot;0.0&quot; </span><span class="s0">/&gt;</span>
<span class="s0">&lt;item</span>
<span class="s1">android:color</span><span class="s2">=&quot;#00000000&quot;</span>
<span class="s1">android:offset</span><span class="s2">=&quot;1.0&quot; </span><span class="s0">/&gt;</span>
<span class="s0">&lt;/gradient&gt;</span>
<span class="s0">&lt;/aapt:attr&gt;</span>
<span class="s0">&lt;/path&gt;</span>
<span class="s0">&lt;path</span>
<span class="s1">android:fillColor</span><span class="s2">=&quot;#FFFFFF&quot;</span>
<span class="s1">android:fillType</span><span class="s2">=&quot;nonZero&quot;</span>
<span class="s1">android:pathData</span><span class="s2">=&quot;M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z&quot;</span>
<span class="s1">android:strokeWidth</span><span class="s2">=&quot;1&quot;</span>
<span class="s1">android:strokeColor</span><span class="s2">=&quot;#00000000&quot; </span><span class="s0">/&gt;</span>
<span class="s0">&lt;/vector&gt;</span></pre>
</body>
</html>
\ No newline at end of file
<html><head><title>drawable-v24</title></head><body><a href="ic_launcher_foreground.xml.html">ic_launcher_foreground.xml</a><br /></body></html>
\ No newline at end of file
<html>
<head>
<title>ic_email.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ic_email.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;vector </span><span class="s1">xmlns:android</span><span class="s2">=&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="s1">android:width</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:height</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:viewportWidth</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:viewportHeight</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:tint</span><span class="s2">=&quot;?attr/colorControlNormal&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;path</span>
<span class="s1">android:fillColor</span><span class="s2">=&quot;@android:color/white&quot;</span>
<span class="s1">android:pathData</span><span class="s2">=&quot;M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10h5v-2h-5c-4.34,0 -8,-3.66 -8,-8s3.66,-8 8,-8 8,3.66 8,8v1.43c0,0.79 -0.71,1.57 -1.5,1.57s-1.5,-0.78 -1.5,-1.57L17,12c0,-2.76 -2.24,-5 -5,-5s-5,2.24 -5,5 2.24,5 5,5c1.38,0 2.64,-0.56 3.54,-1.47 0.65,0.89 1.77,1.47 2.96,1.47 1.97,0 3.5,-1.6 3.5,-3.57L22,12c0,-5.52 -4.48,-10 -10,-10zM12,15c-1.66,0 -3,-1.34 -3,-3s1.34,-3 3,-3 3,1.34 3,3 -1.34,3 -3,3z&quot;</span><span class="s0">/&gt;</span>
<span class="s0">&lt;/vector&gt;</span>
</pre>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
<html>
<head>
<title>ic_password.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ic_password.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;vector </span><span class="s1">xmlns:android</span><span class="s2">=&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="s1">android:width</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:height</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:viewportWidth</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:viewportHeight</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:tint</span><span class="s2">=&quot;?attr/colorControlNormal&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;path</span>
<span class="s1">android:fillColor</span><span class="s2">=&quot;@android:color/white&quot;</span>
<span class="s1">android:pathData</span><span class="s2">=&quot;M18,8h-1L17,6c0,-2.76 -2.24,-5 -5,-5S7,3.24 7,6v2L6,8c-1.1,0 -2,0.9 -2,2v10c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L20,10c0,-1.1 -0.9,-2 -2,-2zM12,17c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2zM15.1,8L8.9,8L8.9,6c0,-1.71 1.39,-3.1 3.1,-3.1 1.71,0 3.1,1.39 3.1,3.1v2z&quot;</span><span class="s0">/&gt;</span>
<span class="s0">&lt;/vector&gt;</span>
</pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>ic_person.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ic_person.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;vector </span><span class="s1">xmlns:android</span><span class="s2">=&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="s1">android:width</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:height</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:viewportWidth</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:viewportHeight</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:tint</span><span class="s2">=&quot;?attr/colorControlNormal&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;path</span>
<span class="s1">android:fillColor</span><span class="s2">=&quot;@android:color/white&quot;</span>
<span class="s1">android:pathData</span><span class="s2">=&quot;M15,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM6,10L6,7L4,7v3L1,10v2h3v3h2v-3h3v-2L6,10zM15,14c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z&quot;</span><span class="s0">/&gt;</span>
<span class="s0">&lt;/vector&gt;</span>
</pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>ic_username.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ic_username.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;vector </span><span class="s1">xmlns:android</span><span class="s2">=&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="s1">android:width</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:height</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:viewportWidth</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:viewportHeight</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:tint</span><span class="s2">=&quot;?attr/colorControlNormal&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;path</span>
<span class="s1">android:fillColor</span><span class="s2">=&quot;@android:color/white&quot;</span>
<span class="s1">android:pathData</span><span class="s2">=&quot;M12,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM12,14c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z&quot;</span><span class="s0">/&gt;</span>
<span class="s0">&lt;/vector&gt;</span>
</pre>
</body>
</html>
\ No newline at end of file
<html><head><title>drawable</title></head><body><a href="ic_email.xml.html">ic_email.xml</a><br /><a href="ic_person.xml.html">ic_person.xml</a><br /><a href="ic_password.xml.html">ic_password.xml</a><br /><a href="ic_username.xml.html">ic_username.xml</a><br /><a href="ic_launcher_background.xml.html">ic_launcher_background.xml</a><br /></body></html>
\ No newline at end of file
<html>
<head>
<title>ic_email.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ic_email.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;vector </span><span class="s1">xmlns:android</span><span class="s2">=&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="s1">android:width</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:height</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:viewportWidth</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:viewportHeight</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:tint</span><span class="s2">=&quot;?attr/colorControlNormal&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;path</span>
<span class="s1">android:fillColor</span><span class="s2">=&quot;@android:color/white&quot;</span>
<span class="s1">android:pathData</span><span class="s2">=&quot;M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10h5v-2h-5c-4.34,0 -8,-3.66 -8,-8s3.66,-8 8,-8 8,3.66 8,8v1.43c0,0.79 -0.71,1.57 -1.5,1.57s-1.5,-0.78 -1.5,-1.57L17,12c0,-2.76 -2.24,-5 -5,-5s-5,2.24 -5,5 2.24,5 5,5c1.38,0 2.64,-0.56 3.54,-1.47 0.65,0.89 1.77,1.47 2.96,1.47 1.97,0 3.5,-1.6 3.5,-3.57L22,12c0,-5.52 -4.48,-10 -10,-10zM12,15c-1.66,0 -3,-1.34 -3,-3s1.34,-3 3,-3 3,1.34 3,3 -1.34,3 -3,3z&quot;</span><span class="s0">/&gt;</span>
<span class="s0">&lt;/vector&gt;</span>
</pre>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
<html>
<head>
<title>ic_launcher_foreground.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ic_launcher_foreground.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;vector </span><span class="s1">xmlns:android</span><span class="s2">=&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="s1">xmlns:aapt</span><span class="s2">=&quot;http://schemas.android.com/aapt&quot;</span>
<span class="s1">android:width</span><span class="s2">=&quot;108dp&quot;</span>
<span class="s1">android:height</span><span class="s2">=&quot;108dp&quot;</span>
<span class="s1">android:viewportWidth</span><span class="s2">=&quot;108&quot;</span>
<span class="s1">android:viewportHeight</span><span class="s2">=&quot;108&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;path </span><span class="s1">android:pathData</span><span class="s2">=&quot;M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;aapt:attr </span><span class="s1">name</span><span class="s2">=&quot;android:fillColor&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;gradient</span>
<span class="s1">android:endX</span><span class="s2">=&quot;85.84757&quot;</span>
<span class="s1">android:endY</span><span class="s2">=&quot;92.4963&quot;</span>
<span class="s1">android:startX</span><span class="s2">=&quot;42.9492&quot;</span>
<span class="s1">android:startY</span><span class="s2">=&quot;49.59793&quot;</span>
<span class="s1">android:type</span><span class="s2">=&quot;linear&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;item</span>
<span class="s1">android:color</span><span class="s2">=&quot;#44000000&quot;</span>
<span class="s1">android:offset</span><span class="s2">=&quot;0.0&quot; </span><span class="s0">/&gt;</span>
<span class="s0">&lt;item</span>
<span class="s1">android:color</span><span class="s2">=&quot;#00000000&quot;</span>
<span class="s1">android:offset</span><span class="s2">=&quot;1.0&quot; </span><span class="s0">/&gt;</span>
<span class="s0">&lt;/gradient&gt;</span>
<span class="s0">&lt;/aapt:attr&gt;</span>
<span class="s0">&lt;/path&gt;</span>
<span class="s0">&lt;path</span>
<span class="s1">android:fillColor</span><span class="s2">=&quot;#FFFFFF&quot;</span>
<span class="s1">android:fillType</span><span class="s2">=&quot;nonZero&quot;</span>
<span class="s1">android:pathData</span><span class="s2">=&quot;M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z&quot;</span>
<span class="s1">android:strokeWidth</span><span class="s2">=&quot;1&quot;</span>
<span class="s1">android:strokeColor</span><span class="s2">=&quot;#00000000&quot; </span><span class="s0">/&gt;</span>
<span class="s0">&lt;/vector&gt;</span></pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>ic_password.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ic_password.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;vector </span><span class="s1">xmlns:android</span><span class="s2">=&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="s1">android:width</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:height</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:viewportWidth</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:viewportHeight</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:tint</span><span class="s2">=&quot;?attr/colorControlNormal&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;path</span>
<span class="s1">android:fillColor</span><span class="s2">=&quot;@android:color/white&quot;</span>
<span class="s1">android:pathData</span><span class="s2">=&quot;M18,8h-1L17,6c0,-2.76 -2.24,-5 -5,-5S7,3.24 7,6v2L6,8c-1.1,0 -2,0.9 -2,2v10c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L20,10c0,-1.1 -0.9,-2 -2,-2zM12,17c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2zM15.1,8L8.9,8L8.9,6c0,-1.71 1.39,-3.1 3.1,-3.1 1.71,0 3.1,1.39 3.1,3.1v2z&quot;</span><span class="s0">/&gt;</span>
<span class="s0">&lt;/vector&gt;</span>
</pre>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>ic_person.xml</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #6a8759;}
.s3 { color: #a9b7c6;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
ic_person.xml</font>
</center></td></tr></table>
<pre><span class="s0">&lt;vector </span><span class="s1">xmlns:android</span><span class="s2">=&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="s1">android:width</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:height</span><span class="s2">=&quot;24dp&quot;</span>
<span class="s1">android:viewportWidth</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:viewportHeight</span><span class="s2">=&quot;24&quot;</span>
<span class="s1">android:tint</span><span class="s2">=&quot;?attr/colorControlNormal&quot;</span><span class="s0">&gt;</span>
<span class="s0">&lt;path</span>
<span class="s1">android:fillColor</span><span class="s2">=&quot;@android:color/white&quot;</span>
<span class="s1">android:pathData</span><span class="s2">=&quot;M15,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM6,10L6,7L4,7v3L1,10v2h3v3h2v-3h3v-2L6,10zM15,14c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z&quot;</span><span class="s0">/&gt;</span>
<span class="s0">&lt;/vector&gt;</span>
</pre>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment