This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package se.project.generic.androidbaseapp; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.MenuItem; | |
import android.view.Window; | |
import android.widget.TextView; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<!-- Default colors --> | |
<color name="default_background">#fde0dc</color> | |
<color name="default_white">#ffffffff</color> | |
<color name="default_black">#ff000000</color> | |
<!-- http://central.sonatype.org/pages/ossrh-guide.html --> | |
<!-- Android Material Design Colors --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<resources> | |
<dimen name="activity_vertical_padding">16dp</dimen> | |
<dimen name="popup_vertical_bottom_padding">16dp</dimen> | |
<dimen name="popup_vertical_content_padding">24dp</dimen> | |
<dimen name="popup_vertical_action_height_padding">36dp</dimen> | |
<dimen name="item_height">48dp</dimen> | |
<dimen name="default_padding_between_icon_text">32dp</dimen> | |
<dimen name="divider_vertical_width">1dp</dimen> | |
<dimen name="divider_horizontal_height">1dp</dimen> | |
<dimen name="divider_horizontal_padding_down">8dp</dimen> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ClojarsDependency { | |
@Expose | |
public long downloads; | |
@Expose @SerializedName("homepage") | |
public String url; | |
@Expose | |
public String description; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.devofure.tlog.repository.api; | |
import android.support.annotation.NonNull; | |
import com.devofure.tlog.model.Resource; | |
import com.google.firebase.database.DataSnapshot; | |
import com.google.firebase.database.DatabaseError; | |
import com.google.firebase.database.DatabaseReference; | |
import com.google.firebase.database.Query; | |
import com.google.firebase.database.ValueEventListener; |