Skip to content

Instantly share code, notes, and snippets.

*.iml
.gradle
/local.properties
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
.DS_Store
/build
/captures
.externalNativeBuild
@asafstr2
asafstr2 / app_.gitignore
Created July 9, 2018 21:02
inventory app finel
/build
package com.example.android.inventory2;
import android.app.LoaderManager;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.CursorLoader;
import android.content.Intent;
import android.content.Loader;
import android.database.Cursor;
/build
/build
@asafstr2
asafstr2 / newsapp_CircleTransform.java
Created June 12, 2018 15:10
newsApp by A.S presenting thev news from guardian has swipe for refresh and parsing photo from url using picaso
package androidcodesnippets.me.cfsuman.com.newsapp;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
import android.graphics.Shader;
import com.squareup.picasso.Transformation;
@asafstr2
asafstr2 / AndroidManifest.xml
Created December 5, 2017 06:54
upgraded Just Java app
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android.cofeeorder">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
@asafstr2
asafstr2 / app_.gitignore
Created December 5, 2017 06:51
upgraded Just Java app
/build
@asafstr2
asafstr2 / app_.gitignore
Created December 5, 2017 06:44
Just java app upgraded
/build
@asafstr2
asafstr2 / activity_main.xml
Created December 5, 2017 06:35
the main upgraded layout for the just java app
<ScrollView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<RelativeLayout
android:layout_width="match_parent"