-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also improve another layout and bump to v1.3 Almost near to stable release :)
- Loading branch information
1 parent
6151f6a
commit 11751f4
Showing
12 changed files
with
393 additions
and
6 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
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,68 @@ | ||
package com.hana.mao; | ||
|
||
import android.content.Intent; | ||
import android.net.Uri; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.os.Bundle; | ||
import android.view.View; | ||
import android.widget.Button; | ||
import android.widget.ImageView; | ||
|
||
public class stats_app extends AppCompatActivity { | ||
|
||
public Button back; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_stats_app); | ||
|
||
setTitle("Contributor"); | ||
|
||
ImageView telegram = (ImageView) findViewById(R.id.telegram); | ||
telegram.setOnClickListener(new View.OnClickListener() { | ||
|
||
public void onClick(View v) | ||
{ | ||
Uri uri = Uri.parse("https://t.me/Nicklas373"); | ||
Intent intent = new Intent(Intent.ACTION_VIEW, uri); | ||
startActivity(intent); | ||
} | ||
}); | ||
|
||
ImageView git = (ImageView) findViewById(R.id.github); | ||
git.setOnClickListener(new View.OnClickListener() { | ||
|
||
public void onClick(View v) | ||
{ | ||
Uri uri = Uri.parse("https://github.com/Nicklas373"); | ||
Intent intent = new Intent(Intent.ACTION_VIEW, uri); | ||
startActivity(intent); | ||
} | ||
}); | ||
|
||
|
||
ImageView xda = (ImageView) findViewById(R.id.xda); | ||
xda.setOnClickListener(new View.OnClickListener() { | ||
|
||
public void onClick(View v) | ||
{ | ||
Uri uri = Uri.parse("https://forum.xda-developers.com/member.php?u=5608002"); | ||
Intent intent = new Intent(Intent.ACTION_VIEW, uri); | ||
startActivity(intent); | ||
} | ||
}); | ||
|
||
Button back = (Button) findViewById(R.id.back); | ||
|
||
back.setOnClickListener(new View.OnClickListener(){ | ||
|
||
@Override | ||
public void onClick(View v){ | ||
Intent i = new Intent(stats_app.this, MainActivity.class); | ||
startActivity(i); | ||
} | ||
}); | ||
|
||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.