This file contains hidden or 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
/* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2014 Matthieu Harlé | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or 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"?> | |
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:fitsSystemWindows="true" | |
tools:context=".activity.AquaInfo"> | |
<android.support.design.widget.AppBarLayout |
This file contains hidden or 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"?> | |
<!-- Add this as a debug manifest so the permissions won't be required by your production app --> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | |
<uses-permission android:name="android.permission.WAKE_LOCK" /> | |
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> | |
</manifest> |
This file contains hidden or 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.example.nakamoto.fishtool; | |
import android.animation.LayoutTransition; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.LinearLayout; | |
import android.widget.TextView; | |
public class AnimatedLinearLayout extends Activity { |
This file contains hidden or 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
/* | |
* Copyright (C) 2014 [email protected] | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or 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
!SESSION 2018-02-23 19:13:37.248 ----------------------------------------------- | |
eclipse.buildId=unknown | |
java.version=9.0.1 | |
java.vendor=Oracle Corporation | |
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=pt_BR | |
Framework arguments: -keyring /Users/phartmann/.eclipse_keyring -showlocation | |
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -data @noDefault -keyring /Users/phartmann/.eclipse_keyring -showlocation | |
!ENTRY org.eclipse.osgi 4 0 2018-02-23 19:13:37.966 | |
!MESSAGE Bundle reference:file:org.apache.ant_1.8.3.v201301120609/@4 not found. |
This file contains hidden or 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 DrawerActivity extends ActionBarActivity { | |
private DrawerLayout mDrawerLayout = null; | |
private ListView mDrawerList = null; | |
private String[] mDrawerItems; | |
private ActionBarDrawerToggle mDrawerToggle = null; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_drawer_layout); |
This file contains hidden or 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
/* | |
* This is a simple and easy approach to reuse the same | |
* navigation drawer on your other activities. Just create | |
* a base layout that conains a DrawerLayout, the | |
* navigation drawer and a FrameLayout to hold your | |
* content view. All you have to do is to extend your | |
* activities from this class to set that navigation | |
* drawer. Happy hacking :) | |
* P.S: You don't need to declare this Activity in the | |
* AndroidManifest.xml. This is just a base class. |
This file contains hidden or 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 ReportCard { | |
//Defining variables | |
private String mMateria; | |
private double mNota; | |
//Constructor | |
public ReportCard( String materia, double nota){ | |
mMateria = materia; | |
mNota = nota; | |
} | |
//Getter Methods |
This file contains hidden or 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 Carro { | |
private int mModelo; | |
public Carro() { | |
mModelo = 0; | |
setup(); | |
} | |
public Carro(int modelo) { |
NewerOlder