Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Kartik Arora kartikarora

🏠
Working from home
Block or report user

Report or block kartikarora

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 keybase.md

Keybase proof

I hereby claim:

  • I am kartikarora on github.
  • I am kartikarora (https://keybase.io/kartikarora) on keybase.
  • I have a public key ASCAC5GKPF1SnlwcJ_FO0vyKmNiRQWwa2PK-7ep-0t4MiAo

To claim this, I am signing this object:

@kartikarora
kartikarora / run.sh
Last active Feb 26, 2016
32bit Libs for Ubuntu
View run.sh
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install zlib1g:i386 libstdc++6:i386 libc6:i386 libncurses5:i386
View styles.xml
<style name="FullScreenTheme" parent="AppTheme">
<item name="android:windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
@kartikarora
kartikarora / Activity.java
Last active Dec 19, 2015
Theme and Layout for Toolbar as ActionBar and add a Navigation Drawer
View Activity.java
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
import android.os.Bundle;
public class Activity extends AppCompatActivity {
@kartikarora
kartikarora / AppCompatFullScreen
Last active Aug 29, 2015
AppCompat Full Screen
View AppCompatFullScreen
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorAccent">@color/accent</item>
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">@color/primaryDark</item>
</style>
<style name="FullScreenTheme" parent="AppTheme">
<item name="android:windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>
You can’t perform that action at this time.