Skip to content

Instantly share code, notes, and snippets.

View farooqkhan003's full-sized avatar
🎯
Focusing

Farooq Khan farooqkhan003

🎯
Focusing
  • Lahore, Pakistan
View GitHub Profile
package com.demo.farooq.loginsignup;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.annotation.TargetApi;
import android.content.pm.PackageManager;
import android.support.annotation.NonNull;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.app.LoaderManager.LoaderCallbacks;
package com.androidtechpoint.demo.androidvolley;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.AppCompatButton;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.TextView;
import com.android.volley.AuthFailureError;
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
<?php
$name = trim($_POST['name']);
$email = trim($_POST['email']);
echo "Hello $name! Welcome to android Tech Point.\nYour email is $email";
?>
package com.androidtechpoint.Util;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
/**
* Created by Farooq Khan on 6/27/2017.
*/
<com.vd.trainingtask2.Util.SquareImage
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/you_image_name"/>
<com.androidtechpoint.Util.SquareImage
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/you_image_name"/>
package com.androidtechpoint.Util;
import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.EditText;
/**
* Created by farooq on 8/8/2017.
*/
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#55000000"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialLayout="@layout/widget"
android:minHeight="40dp"
android:minWidth="40dp"
android:resizeMode="horizontal"
android:updatePeriodMillis="1800000"
android:widgetCategory="home_screen|keyguard">
</appwidget-provider>