Browse Source

Update launcher icon

master
Trevor Slocum 2 years ago
parent
commit
ba1b9a1cc7
  1. 2
      app/build.gradle
  2. BIN
      app/src/main/ic_feature-playstore.png
  3. BIN
      app/src/main/ic_launcher-playstore.png
  4. 45
      app/src/main/java/space/rocketnine/xenia/CertificatesActivity.java
  5. BIN
      app/src/main/res/mipmap-hdpi/ic_launcher.png
  6. BIN
      app/src/main/res/mipmap-hdpi/ic_launcher_round.png
  7. BIN
      app/src/main/res/mipmap-mdpi/ic_launcher.png
  8. BIN
      app/src/main/res/mipmap-mdpi/ic_launcher_round.png
  9. BIN
      app/src/main/res/mipmap-xhdpi/ic_launcher.png
  10. BIN
      app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  11. BIN
      app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  12. BIN
      app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  13. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  14. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  15. 4
      app/src/main/res/values/ic_launcher_background.xml
  16. BIN
      metadata/en-US/images/phoneScreenshots/1.png
  17. BIN
      metadata/en-US/images/phoneScreenshots/2.png
  18. BIN
      metadata/en-US/images/phoneScreenshots/3.png
  19. BIN
      metadata/en-US/images/phoneScreenshots/4.png
  20. BIN
      metadata/en-US/images/phoneScreenshots/5.png
  21. BIN
      metadata/en-US/images/phoneScreenshots/thumbnails/1.png
  22. BIN
      metadata/en-US/images/phoneScreenshots/thumbnails/2.png
  23. BIN
      metadata/en-US/images/phoneScreenshots/thumbnails/3.png
  24. BIN
      metadata/en-US/images/phoneScreenshots/thumbnails/4.png
  25. BIN
      metadata/en-US/images/phoneScreenshots/thumbnails/5.png

2
app/build.gradle

@ -31,7 +31,7 @@ android {
ext {
// https://gitlab.com/tslocum/gmitohtml
gmitohtmlVersion = "v1.0.2"
gmitohtmlVersion = "f71136c1a505794ecc79fe639d4c9b80258d7f08"
}
task bindLibrary(type: Exec) {

BIN
app/src/main/ic_feature-playstore.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

BIN
app/src/main/ic_launcher-playstore.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 10 KiB

45
app/src/main/java/space/rocketnine/xenia/CertificatesActivity.java

@ -53,38 +53,35 @@ public class CertificatesActivity extends Activity {
ListView listView = findViewById(R.id.certificatesList);
listView.setAdapter(adapter);
listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> adapterView, View view, int position, long id) {
String site = (String) adapterView.getItemAtPosition(position);
listView.setOnItemClickListener((adapterView, view, position, id) -> {
String site = (String) adapterView.getItemAtPosition(position);
AlertDialog.Builder builder = new AlertDialog.Builder(CertificatesActivity.this);
builder.setTitle("Remove certificate");
AlertDialog.Builder builder = new AlertDialog.Builder(CertificatesActivity.this);
builder.setTitle("Remove certificate");
TextView tv = new TextView(CertificatesActivity.this);
tv.setText("Are you sure you want to remove the certificate for " + site + "?");
tv.setPadding(14, 14, 14, 14);
builder.setView(tv);
TextView tv = new TextView(CertificatesActivity.this);
tv.setText("Are you sure you want to remove the certificate for " + site + "?");
tv.setPadding(14, 14, 14, 14);
builder.setView(tv);
builder.setPositiveButton("Remove", (dialog, which) -> {
SharedPreferences prefs = getSharedPreferences("xenia", Context.MODE_PRIVATE);
builder.setPositiveButton("Remove", (dialog, which) -> {
SharedPreferences prefs = getSharedPreferences("xenia", Context.MODE_PRIVATE);
Set<String> sites = prefs.getStringSet("certs", new HashSet<String>());
if (sites.contains(site)) {
sites.remove(site);
prefs.edit().putStringSet("certs", sites).apply();
}
Set<String> sites = prefs.getStringSet("certs", new HashSet<String>());
if (sites.contains(site)) {
sites.remove(site);
prefs.edit().putStringSet("certs", sites).apply();
}
prefs.edit().putString("cert_" + site, "").putString("key_" + site, "").apply();
prefs.edit().putString("cert_" + site, "").putString("key_" + site, "").apply();
updateSiteList();
updateSiteList();
Toast.makeText(CertificatesActivity.this, "Restart Xenia to apply changes", Toast.LENGTH_LONG).show();
});
builder.setNegativeButton("Cancel", (dialog, which) -> dialog.cancel());
Toast.makeText(CertificatesActivity.this, "Restart Xenia to apply changes", Toast.LENGTH_LONG).show();
});
builder.setNegativeButton("Cancel", (dialog, which) -> dialog.cancel());
builder.show();
}
builder.show();
});
}

BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
app/src/main/res/mipmap-hdpi/ic_launcher_round.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 903 B

BIN
app/src/main/res/mipmap-mdpi/ic_launcher_round.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_round.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

4
app/src/main/res/values/ic_launcher_background.xml

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#3DDC84</color>
</resources>
<color name="ic_launcher_background">#14AF1E</color>
</resources>

BIN
metadata/en-US/images/phoneScreenshots/1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 64 KiB

BIN
metadata/en-US/images/phoneScreenshots/2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

After

Width:  |  Height:  |  Size: 194 KiB

BIN
metadata/en-US/images/phoneScreenshots/3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 62 KiB

BIN
metadata/en-US/images/phoneScreenshots/4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 KiB

After

Width:  |  Height:  |  Size: 230 KiB

BIN
metadata/en-US/images/phoneScreenshots/5.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 KiB

After

Width:  |  Height:  |  Size: 175 KiB

BIN
metadata/en-US/images/phoneScreenshots/thumbnails/1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

BIN
metadata/en-US/images/phoneScreenshots/thumbnails/2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 20 KiB

BIN
metadata/en-US/images/phoneScreenshots/thumbnails/3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

BIN
metadata/en-US/images/phoneScreenshots/thumbnails/4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 25 KiB

BIN
metadata/en-US/images/phoneScreenshots/thumbnails/5.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Loading…
Cancel
Save