-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from Glucosio/develop
Merge develop to master
- Loading branch information
Showing
727 changed files
with
38,250 additions
and
7,667 deletions.
There are no files selected for viewing
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
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
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
23 changes: 23 additions & 0 deletions
23
app/src/main/java/org/glucosio/android/GlucosioApplication.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.glucosio.android; | ||
|
||
import android.content.Context; | ||
|
||
import uk.co.chrisjenx.calligraphy.CalligraphyConfig; | ||
import uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper; | ||
|
||
public class GlucosioApplication extends com.activeandroid.app.Application { | ||
@Override | ||
public void onCreate() { | ||
super.onCreate(); | ||
|
||
CalligraphyConfig.initDefault(new CalligraphyConfig.Builder() | ||
.setDefaultFontPath("fonts/lato.ttf") | ||
.setFontAttrId(R.attr.fontPath) | ||
.build()); | ||
} | ||
|
||
@Override | ||
protected void attachBaseContext(Context newBase) { | ||
super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase)); | ||
} | ||
} |
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
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
24 changes: 24 additions & 0 deletions
24
app/src/main/java/org/glucosio/android/activity/LicenceActivity.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.glucosio.android.activity; | ||
|
||
import android.os.Bundle; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.view.View; | ||
import android.widget.TextView; | ||
import org.glucosio.android.R; | ||
|
||
public class LicenceActivity extends AppCompatActivity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_licence); | ||
|
||
TextView dialogOk = (TextView) findViewById(R.id.dialog_terms_ok); | ||
dialogOk.setOnClickListener(new View.OnClickListener() { | ||
@Override | ||
public void onClick(View v) { | ||
finish(); | ||
} | ||
}); | ||
} | ||
} |
Oops, something went wrong.