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
Showing
63 changed files
with
5,169 additions
and
327 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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -1,34 +1,36 @@ | ||
package ru.meefik.busybox; | ||
|
||
import android.os.Bundle; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.text.method.LinkMovementMethod; | ||
import android.widget.TextView; | ||
|
||
/** | ||
* Created by anton on 19.09.15. | ||
*/ | ||
import androidx.appcompat.app.AppCompatActivity; | ||
|
||
public class AboutActivity extends AppCompatActivity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
PrefStore.setLocale(this); | ||
super.onCreate(savedInstanceState); | ||
getSupportActionBar().setTitle(getString(R.string.title_activity_about)); | ||
PrefStore.setLocale(this); | ||
setContentView(R.layout.activity_about); | ||
|
||
TextView versionView = (TextView) findViewById(R.id.versionView); | ||
TextView versionView = findViewById(R.id.versionView); | ||
versionView.setText(getString(R.string.app_version, | ||
PrefStore.getVersion(getApplicationContext()))); | ||
|
||
// enable context clickable | ||
TextView aboutView = (TextView) findViewById(R.id.aboutTextView); | ||
TextView aboutView = findViewById(R.id.aboutTextView); | ||
aboutView.setMovementMethod(LinkMovementMethod.getInstance()); | ||
} | ||
|
||
@Override | ||
public void setTheme(int resid) { | ||
public void setTheme(int resId) { | ||
super.setTheme(PrefStore.getTheme(this)); | ||
} | ||
|
||
@Override | ||
public void onResume() { | ||
super.onResume(); | ||
setTitle(R.string.title_activity_about); | ||
} | ||
} |
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.