Skip to content

Instantly share code, notes, and snippets.

Lisa Wray lisawray

Block or report user

Report or block lisawray

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
@lisawray
lisawray / ColumnItemDecoration.java
Last active Apr 23, 2019
Equal column spacing in a RecyclerView with GridLayoutManager
View ColumnItemDecoration.java
package com.example.columnspacing
import android.graphics.Paint;
import android.graphics.Rect;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.View;
@lisawray
lisawray / MainActivity.java
Last active Jun 22, 2018
Vector drawables from XML with the Android support library 23.3.0
View MainActivity.java
package com.xwray.vectorbinding;
import android.databinding.BindingAdapter;
import android.databinding.DataBindingUtil;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.graphics.drawable.VectorDrawableCompat;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
View EmbedlyActivity
import android.app.Activity;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.webkit.WebSettings;
import android.webkit.WebView;
import com.embedly.api.Api;
You can’t perform that action at this time.