-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc0472c
commit 5306d64
Showing
7 changed files
with
51 additions
and
3 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
29 changes: 29 additions & 0 deletions
29
app/src/main/java/com/javiersantos/mlmanager/activities/LicenseActivity.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,29 @@ | ||
package com.javiersantos.mlmanager.activities; | ||
|
||
import android.os.Bundle; | ||
|
||
import com.javiersantos.mlmanager.R; | ||
import com.mikepenz.aboutlibraries.Libs; | ||
import com.mikepenz.aboutlibraries.LibsBuilder; | ||
import com.mikepenz.aboutlibraries.ui.LibsActivity; | ||
|
||
public class LicenseActivity extends LibsActivity { | ||
|
||
@Override | ||
public void onCreate(Bundle savedInstanceState) { | ||
setIntent(new LibsBuilder() | ||
.withActivityTitle(getResources().getString(R.string.settings_license)) | ||
.withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR) | ||
.withAutoDetect(true) | ||
.intent(this)); | ||
|
||
super.onCreate(savedInstanceState); | ||
} | ||
|
||
@Override | ||
public void onBackPressed() { | ||
super.onBackPressed(); | ||
overridePendingTransition(R.anim.fade_forward, R.anim.slide_out_right); | ||
} | ||
|
||
} |
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