Skip to content

Instantly share code, notes, and snippets.

Edward McEnrue emcenrue

Block or report user

Report or block emcenrue

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:c4a24dbd9fea6dd6bec7
package com.noteworthy;
import java.util.ArrayList;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ListView;
public class CalendarActivity extends Activity {
View gist:42c0fbd02d6ace30b882
package com.noteworthy;
public class Contributor
{
int pictureResource;
String name;
String contributionClass;
int contributionAmt;
public Contributor(int pictureResource, String name, String contributionClass, int contributionAmt)
View gist:dfa8fc13a909424d379a
package com.noteworthy;
import java.util.ArrayList;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
View gist:64e7d8f58b0c17e71d95
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<stroke android:width="2dp"
android:color="#80FFFFFF" />
<corners android:radius="6dp" />
<gradient android:angle="270"
android:centerColor="#0099FF"
View gist:ba1a5b29d160bcb46a62
<?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="wrap_content"
android:orientation="vertical" >
<CalendarView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/calendarView"
View gist:58b1390dab66c5f82791
package com.noteworthy;
import java.util.ArrayList;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ListView;
public class CalendarActivity extends Activity {
View gist:715fbbc4d004439f3007
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
android:padding="6dip" >
<ImageView
android:id="@+id/profilePicture"
android:layout_width="wrap_content"
View gist:4e0de1989b465889133a
package com.noteworthy;
import java.util.ArrayList;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
View gist:003d9a79f1b726e72def
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
View gist:6ea4ec83a034b5b6e008
package com.noteworthy;
import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;
public class HackyViewPager extends ViewPager {
You can’t perform that action at this time.