Skip to content

Instantly share code, notes, and snippets.

Avatar

Anuraag Baishya anuraagbaishya

View GitHub Profile
View .travis.yaml
language: android
jdk: oraclejdk8
sudo: false
android:
components:
- platform-tools
- tools
- build-tools-24.0.2
- android-22
@anuraagbaishya
anuraagbaishya / QuestionActivity.java
Created Oct 5, 2015
QuestionActivity Load Errors
View QuestionActivity.java
package com.appex.android.inquisitor.activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
@anuraagbaishya
anuraagbaishya / DrawerLayout.xml
Last active Aug 29, 2015
EventActivity Drawer Issues
View DrawerLayout.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:layout_width="280dp"
android:layout_height="match_parent"
android:id="@+id/drawerPane"
android:layout_gravity="start"
xmlns:android="http://schemas.android.com/apk/res/android">
<ListView
android:id="@+id/navList"
android:layout_width="280dp"
@anuraagbaishya
anuraagbaishya / AndroidManifest.xml
Last active Aug 29, 2015
Content Provider Errors
View AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.appex.android.inquisitor" >
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
View EndActivity.java
package com.appex.android.inquisitor;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.ActionBarActivity;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;