Update 'About' tab. Add more information for donations and stuff like this

This commit is contained in:
Dmitry Isaenko 2020-08-05 16:41:57 +03:00
parent 733c9615fa
commit 5f8afbf68a
8 changed files with 225 additions and 60 deletions

View file

@ -1,8 +1,12 @@
package com.blogspot.developersu.ns_usbloader; package com.blogspot.developersu.ns_usbloader;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle; import android.os.Bundle;
import android.text.method.LinkMovementMethod; import android.text.method.LinkMovementMethod;
import android.view.MenuItem; import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView; import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
@ -31,5 +35,36 @@ public class AboutActivity extends AppCompatActivity {
t4.setMovementMethod(LinkMovementMethod.getInstance()); t4.setMovementMethod(LinkMovementMethod.getInstance());
final TextView t6 = findViewById(R.id.textView6); final TextView t6 = findViewById(R.id.textView6);
t6.setMovementMethod(LinkMovementMethod.getInstance()); t6.setMovementMethod(LinkMovementMethod.getInstance());
ImageView donateLibera = findViewById(R.id.donateLiberaImageView);
donateLibera.setOnClickListener(this::donateLiberaOnClickAction);
ImageView donatePaypal = findViewById(R.id.donatePaypalImageView);
donatePaypal.setOnClickListener(this::donatePaypalOnClickAction);
ImageView donateYandex = findViewById(R.id.donateYandexImageView);
donateYandex.setOnClickListener(this::donateYandexOnClickAction);
}
private void donateLiberaOnClickAction(View view){
String url = "https://liberapay.com/developersu/donate";
createOpenBrowserIntent(url);
}
private void donatePaypalOnClickAction(View view){
String url = "https://www.paypal.me/developersu";
createOpenBrowserIntent(url);
}
private void donateYandexOnClickAction(View view){
String url = "https://money.yandex.ru/to/410014301951665";
createOpenBrowserIntent(url);
}
private void createOpenBrowserIntent(String url){
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.addCategory(Intent.CATEGORY_BROWSABLE);
intent.setData(Uri.parse(url));
startActivity(intent);
} }
} }

View file

@ -0,0 +1,33 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="83dp"
android:height="30dp"
android:viewportWidth="83"
android:viewportHeight="30">
<path
android:pathData="M5,0.5L79,0.5A4,4 0,0 1,83 4.5L83,25.5A4,4 0,0 1,79 29.5L5,29.5A4,4 0,0 1,1 25.5L1,4.5A4,4 0,0 1,5 0.5z"
android:fillColor="#f6c915"/>
<path
android:pathData="m13.2065,18.8122c-0.6909,0 -1.233,-0.0902 -1.6271,-0.2701 -0.3941,-0.1799 -0.6762,-0.4254 -0.8464,-0.7369 -0.1703,-0.3113 -0.2531,-0.6688 -0.248,-1.0726 0.0048,-0.4036 0.0606,-0.8341 0.1679,-1.2914l1.8533,-7.7486 2.2617,-0.3502 -2.0284,8.4044c-0.0391,0.1751 -0.0608,0.3357 -0.0656,0.4816 -0.005,0.1459 0.0219,0.2749 0.0803,0.3868 0.0584,0.112 0.1581,0.202 0.2991,0.2699 0.141,0.0683 0.338,0.112 0.5911,0.1314l-0.4378,1.795"
android:fillColor="#1a171b"/>
<path
android:pathData="m21.3787,13.9831c0,0.7102 -0.1169,1.3601 -0.3504,1.9483 -0.2335,0.5887 -0.557,1.0968 -0.9693,1.5248 -0.4136,0.4282 -0.9097,0.7613 -1.4884,0.9997 -0.5789,0.2382 -1.2088,0.3575 -1.8896,0.3575 -0.3308,0 -0.6617,-0.0292 -0.9923,-0.0876l-0.6566,2.6411l-2.1595,0l2.4223,-10.0973c0.3889,-0.1167 0.8341,-0.2211 1.3352,-0.3138 0.5009,-0.0923 1.0434,-0.1385 1.6271,-0.1385 0.5446,0 1.0142,0.0828 1.4081,0.248 0.3941,0.1654 0.7174,0.3916 0.9712,0.6785 0.2529,0.2871 0.44,0.6228 0.5618,1.007 0.1213,0.3844 0.1823,0.7952 0.1823,1.233m-5.2969,2.9913c0.1652,0.0391 0.3695,0.0584 0.6127,0.0584 0.3794,0 0.7247,-0.0704 1.036,-0.2117 0.3113,-0.1408 0.5764,-0.338 0.7954,-0.5911 0.2188,-0.2529 0.3889,-0.5566 0.5108,-0.912 0.1215,-0.355 0.1824,-0.7464 0.1824,-1.1746 0,-0.4181 -0.0927,-0.7735 -0.2772,-1.0653 -0.185,-0.2918 -0.5059,-0.4378 -0.9631,-0.4378 -0.3115,0 -0.6032,0.0292 -0.8755,0.0876l-1.0215,4.2463"
android:fillColor="#1a171b"/>
<path
android:pathData="m27.2637,9.9785h3.6982q1.251,0 1.9072,0.1914 0.8818,0.2598 1.5107,0.9229 0.6289,0.6631 0.957,1.627 0.3281,0.957 0.3281,2.3652 0,1.2373 -0.3076,2.1328 -0.376,1.0938 -1.0732,1.7705 -0.5264,0.5127 -1.4219,0.7998Q32.1924,20 31.0713,20h-3.8076zM29.2871,11.6738v6.6377h1.5107q0.8477,0 1.2236,-0.0957 0.4922,-0.123 0.8135,-0.417 0.3281,-0.2939 0.5332,-0.9639 0.2051,-0.6768 0.2051,-1.8389 0,-1.1621 -0.2051,-1.7842 -0.2051,-0.6221 -0.5742,-0.9707 -0.3691,-0.3486 -0.9365,-0.4717 -0.4238,-0.0957 -1.6611,-0.0957z"
android:fillColor="#1a171b"/>
<path
android:pathData="m36.9297,16.2676q0,-0.957 0.4717,-1.8525 0.4717,-0.8955 1.333,-1.3672 0.8682,-0.4717 1.9346,-0.4717 1.6475,0 2.7002,1.0732 1.0527,1.0664 1.0527,2.7002 0,1.6475 -1.0664,2.7344 -1.0596,1.0801 -2.6729,1.0801 -0.998,0 -1.9072,-0.4512 -0.9023,-0.4512 -1.374,-1.3193 -0.4717,-0.875 -0.4717,-2.126zM38.8984,16.3701q0,1.0801 0.5127,1.6543 0.5127,0.5742 1.2646,0.5742 0.752,0 1.2578,-0.5742 0.5127,-0.5742 0.5127,-1.668 0,-1.0664 -0.5127,-1.6406 -0.5059,-0.5742 -1.2578,-0.5742 -0.752,0 -1.2646,0.5742 -0.5127,0.5742 -0.5127,1.6543z"
android:fillColor="#1a171b"/>
<path
android:pathData="m52.5361,20h-1.9209v-3.7051q0,-1.1758 -0.123,-1.5176 -0.123,-0.3486 -0.4033,-0.54 -0.2734,-0.1914 -0.6631,-0.1914 -0.499,0 -0.8955,0.2734 -0.3965,0.2734 -0.5469,0.7246 -0.1436,0.4512 -0.1436,1.668V20h-1.9209v-7.2598h1.7842v1.0664q0.9502,-1.2305 2.3926,-1.2305 0.6357,0 1.1621,0.2324 0.5264,0.2256 0.793,0.5811 0.2734,0.3555 0.376,0.8066 0.1094,0.4512 0.1094,1.292z"
android:fillColor="#1a171b"/>
<path
android:pathData="m55.9268,14.9551 l-1.7432,-0.3145q0.2939,-1.0527 1.0117,-1.5586 0.7178,-0.5059 2.1328,-0.5059 1.2852,0 1.9141,0.3076 0.6289,0.3008 0.8818,0.7725 0.2598,0.4648 0.2598,1.7158l-0.0205,2.2422q0,0.957 0.0889,1.415 0.0957,0.4512 0.3486,0.9707h-1.9004q-0.0752,-0.1914 -0.1846,-0.5674 -0.0479,-0.1709 -0.0684,-0.2256 -0.4922,0.4785 -1.0527,0.7178 -0.5605,0.2393 -1.1963,0.2393 -1.1211,0 -1.7705,-0.6084 -0.6426,-0.6084 -0.6426,-1.5381 0,-0.6152 0.2939,-1.0938 0.2939,-0.4854 0.8203,-0.7383 0.5332,-0.2598 1.5313,-0.4512 1.3467,-0.2529 1.8662,-0.4717v-0.1914q0,-0.5537 -0.2734,-0.7861 -0.2734,-0.2393 -1.0322,-0.2393 -0.5127,0 -0.7998,0.2051 -0.2871,0.1982 -0.4648,0.7041zM58.4971,16.5137q-0.3691,0.123 -1.1689,0.2939 -0.7998,0.1709 -1.0459,0.335 -0.376,0.2666 -0.376,0.6768 0,0.4033 0.3008,0.6973 0.3008,0.2939 0.7656,0.2939 0.5195,0 0.9912,-0.3418 0.3486,-0.2598 0.458,-0.6357 0.0752,-0.2461 0.0752,-0.9365z"
android:fillColor="#1a171b"/>
<path
android:pathData="m65.6133,12.7402v1.5313h-1.3125v2.9258q0,0.8887 0.0342,1.0391 0.041,0.1436 0.1709,0.2393 0.1367,0.0957 0.3281,0.0957 0.2666,0 0.7725,-0.1846l0.1641,1.4902q-0.6699,0.2871 -1.5176,0.2871 -0.5195,0 -0.9365,-0.1709 -0.417,-0.1777 -0.6152,-0.4512 -0.1914,-0.2803 -0.2666,-0.752 -0.0615,-0.335 -0.0615,-1.3535v-3.165h-0.8818v-1.5313h0.8818v-1.4424l1.9277,-1.1211v2.5635z"
android:fillColor="#1a171b"/>
<path
android:pathData="m71.1641,17.6895 l1.9141,0.3213q-0.3691,1.0527 -1.1689,1.6064 -0.793,0.5469 -1.9893,0.5469 -1.8936,0 -2.8027,-1.2373 -0.7178,-0.9912 -0.7178,-2.502 0,-1.8047 0.9434,-2.8232 0.9434,-1.0254 2.3857,-1.0254 1.6201,0 2.5566,1.0732 0.9365,1.0664 0.8955,3.2744h-4.8125q0.0205,0.8545 0.4648,1.333 0.4443,0.4717 1.1074,0.4717 0.4512,0 0.7588,-0.2461 0.3076,-0.2461 0.4648,-0.793zM71.2734,15.748q-0.0205,-0.834 -0.4307,-1.2646 -0.4102,-0.4375 -0.998,-0.4375 -0.6289,0 -1.0391,0.458 -0.4102,0.458 -0.4033,1.2441z"
android:fillColor="#1a171b"/>
</vector>

View file

@ -0,0 +1,24 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="124dp"
android:height="33dp"
android:viewportWidth="124"
android:viewportHeight="33">
<path
android:pathData="M46.211,6.749h-6.839a0.95,0.95 0,0 0,-0.939 0.802l-2.766,17.537a0.57,0.57 0,0 0,0.564 0.658h3.265a0.95,0.95 0,0 0,0.939 -0.803l0.746,-4.73a0.95,0.95 0,0 1,0.938 -0.803h2.165c4.505,0 7.105,-2.18 7.784,-6.5 0.306,-1.89 0.013,-3.375 -0.872,-4.415 -0.972,-1.142 -2.696,-1.746 -4.985,-1.746zM47,13.154c-0.374,2.454 -2.249,2.454 -4.062,2.454h-1.032l0.724,-4.583a0.57,0.57 0,0 1,0.563 -0.481h0.473c1.235,0 2.4,0 3.002,0.704 0.359,0.42 0.469,1.044 0.332,1.906zM66.654,13.075h-3.275a0.57,0.57 0,0 0,-0.563 0.481l-0.145,0.916 -0.229,-0.332c-0.709,-1.029 -2.29,-1.373 -3.868,-1.373 -3.619,0 -6.71,2.741 -7.312,6.586 -0.313,1.918 0.132,3.752 1.22,5.031 0.998,1.176 2.426,1.666 4.125,1.666 2.916,0 4.533,-1.875 4.533,-1.875l-0.146,0.91a0.57,0.57 0,0 0,0.562 0.66h2.95a0.95,0.95 0,0 0,0.939 -0.803l1.77,-11.209a0.568,0.568 0,0 0,-0.561 -0.658zM62.089,19.449c-0.316,1.871 -1.801,3.127 -3.695,3.127 -0.951,0 -1.711,-0.305 -2.199,-0.883 -0.484,-0.574 -0.668,-1.391 -0.514,-2.301 0.295,-1.855 1.805,-3.152 3.67,-3.152 0.93,0 1.686,0.309 2.184,0.892 0.499,0.589 0.697,1.411 0.554,2.317zM84.096,13.075h-3.291a0.954,0.954 0,0 0,-0.787 0.417l-4.539,6.686 -1.924,-6.425a0.953,0.953 0,0 0,-0.912 -0.678h-3.234a0.57,0.57 0,0 0,-0.541 0.754l3.625,10.638 -3.408,4.811a0.57,0.57 0,0 0,0.465 0.9h3.287a0.949,0.949 0,0 0,0.781 -0.408l10.946,-15.8a0.57,0.57 0,0 0,-0.468 -0.895z"
android:fillColor="#253B80"/>
<path
android:pathData="M94.992,6.749h-6.84a0.95,0.95 0,0 0,-0.938 0.802l-2.766,17.537a0.569,0.569 0,0 0,0.562 0.658h3.51a0.665,0.665 0,0 0,0.656 -0.562l0.785,-4.971a0.95,0.95 0,0 1,0.938 -0.803h2.164c4.506,0 7.105,-2.18 7.785,-6.5 0.307,-1.89 0.012,-3.375 -0.873,-4.415 -0.971,-1.142 -2.694,-1.746 -4.983,-1.746zM95.781,13.154c-0.373,2.454 -2.248,2.454 -4.062,2.454h-1.031l0.725,-4.583a0.568,0.568 0,0 1,0.562 -0.481h0.473c1.234,0 2.4,0 3.002,0.704 0.359,0.42 0.468,1.044 0.331,1.906zM115.434,13.075h-3.273a0.567,0.567 0,0 0,-0.562 0.481l-0.145,0.916 -0.23,-0.332c-0.709,-1.029 -2.289,-1.373 -3.867,-1.373 -3.619,0 -6.709,2.741 -7.311,6.586 -0.312,1.918 0.131,3.752 1.219,5.031 1,1.176 2.426,1.666 4.125,1.666 2.916,0 4.533,-1.875 4.533,-1.875l-0.146,0.91a0.57,0.57 0,0 0,0.564 0.66h2.949a0.95,0.95 0,0 0,0.938 -0.803l1.771,-11.209a0.571,0.571 0,0 0,-0.565 -0.658zM110.869,19.449c-0.314,1.871 -1.801,3.127 -3.695,3.127 -0.949,0 -1.711,-0.305 -2.199,-0.883 -0.484,-0.574 -0.666,-1.391 -0.514,-2.301 0.297,-1.855 1.805,-3.152 3.67,-3.152 0.93,0 1.686,0.309 2.184,0.892 0.501,0.589 0.699,1.411 0.554,2.317zM119.295,7.23l-2.807,17.858a0.569,0.569 0,0 0,0.562 0.658h2.822c0.469,0 0.867,-0.34 0.939,-0.803l2.768,-17.536a0.57,0.57 0,0 0,-0.562 -0.659h-3.16a0.571,0.571 0,0 0,-0.562 0.482z"
android:fillColor="#179BD7"/>
<path
android:pathData="M7.266,29.154l0.523,-3.322 -1.165,-0.027H1.061L4.927,1.292a0.316,0.316 0,0 1,0.314 -0.268h9.38c3.114,0 5.263,0.648 6.385,1.927 0.526,0.6 0.861,1.227 1.023,1.917 0.17,0.724 0.173,1.589 0.007,2.644l-0.012,0.077v0.676l0.526,0.298a3.69,3.69 0,0 1,1.065 0.812c0.45,0.513 0.741,1.165 0.864,1.938 0.127,0.795 0.085,1.741 -0.123,2.812 -0.24,1.232 -0.628,2.305 -1.152,3.183a6.547,6.547 0,0 1,-1.825 2c-0.696,0.494 -1.523,0.869 -2.458,1.109 -0.906,0.236 -1.939,0.355 -3.072,0.355h-0.73c-0.522,0 -1.029,0.188 -1.427,0.525a2.21,2.21 0,0 0,-0.744 1.328l-0.055,0.299 -0.924,5.855 -0.042,0.215c-0.011,0.068 -0.03,0.102 -0.058,0.125a0.155,0.155 0,0 1,-0.096 0.035H7.266z"
android:fillColor="#253B80"/>
<path
android:pathData="M23.048,7.667c-0.028,0.179 -0.06,0.362 -0.096,0.55 -1.237,6.351 -5.469,8.545 -10.874,8.545H9.326c-0.661,0 -1.218,0.48 -1.321,1.132L6.596,26.83l-0.399,2.533a0.704,0.704 0,0 0,0.695 0.814h4.881c0.578,0 1.069,-0.42 1.16,-0.99l0.048,-0.248 0.919,-5.832 0.059,-0.32c0.09,-0.572 0.582,-0.992 1.16,-0.992h0.73c4.729,0 8.431,-1.92 9.513,-7.476 0.452,-2.321 0.218,-4.259 -0.978,-5.622a4.667,4.667 0,0 0,-1.336 -1.03z"
android:fillColor="#179BD7"/>
<path
android:pathData="M21.754,7.151a9.757,9.757 0,0 0,-1.203 -0.267,15.284 15.284,0 0,0 -2.426,-0.177h-7.352a1.172,1.172 0,0 0,-1.159 0.992L8.05,17.605l-0.045,0.289a1.336,1.336 0,0 1,1.321 -1.132h2.752c5.405,0 9.637,-2.195 10.874,-8.545 0.037,-0.188 0.068,-0.371 0.096,-0.55a6.594,6.594 0,0 0,-1.017 -0.429,9.045 9.045,0 0,0 -0.277,-0.087z"
android:fillColor="#222D65"/>
<path
android:pathData="M9.614,7.699a1.169,1.169 0,0 1,1.159 -0.991h7.352c0.871,0 1.684,0.057 2.426,0.177a9.757,9.757 0,0 1,1.481 0.353c0.365,0.121 0.704,0.264 1.017,0.429 0.368,-2.347 -0.003,-3.945 -1.272,-5.392C20.378,0.682 17.853,0 14.622,0h-9.38c-0.66,0 -1.223,0.48 -1.325,1.133L0.01,25.898a0.806,0.806 0,0 0,0.795 0.932h5.791l1.454,-9.225 1.564,-9.906z"
android:fillColor="#253B80"/>
</vector>

View file

@ -0,0 +1,41 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="124dp"
android:height="33dp"
android:viewportWidth="124"
android:viewportHeight="33">
<path
android:pathData="M5.131,26.687L5.131,19.222L0.145,5.838L2.653,5.838L6.327,16.16 10.555,3.68L12.859,3.68L7.435,19.31L7.435,26.687l-2.304,-0"
android:fillColor="#ff0000"
android:strokeColor="#00000000"
android:fillType="nonZero"/>
<path
android:pathData="m62.752,11.99 l-2.741,6.882 3.062,7.815l-2.362,-0l-2.275,-6.065 -2.216,6.065l-2.245,-0l3.062,-7.611 -2.77,-7.086l2.362,-0l1.895,5.336 2.012,-5.336zM46.773,17.997l3.762,-0c0,-2.508 -0.408,-4.345 -1.721,-4.345 -1.399,-0 -1.895,1.72 -2.041,4.345zM49.281,26.891c-3.033,-0 -4.899,-2.42 -4.899,-6.939 0,-4.724 1.312,-8.165 4.432,-8.165 2.449,-0 4.053,1.837 4.053,6.823l0,1.254l-6.123,-0c0,3.324 0.933,5.074 2.741,5.074 1.283,-0 2.216,-0.584 2.799,-0.991l0.525,1.749c-0.933,0.729 -2.07,1.195 -3.528,1.195zM39.833,14.352c-0.467,-0.467 -0.962,-0.7 -1.72,-0.7 -1.837,-0 -2.712,2.77 -2.712,5.773 0,3.441 0.642,5.541 2.304,5.541 1.137,-0 1.749,-0.554 2.129,-1.138zM32.981,19.893c0,-5.453 2.041,-8.106 4.986,-8.106 0.7,-0 1.428,0.233 1.866,0.554l0,-6.502l2.274,-0L42.108,26.687l-1.691,-0l-0.175,-1.166l-0.146,-0c-0.642,0.816 -1.458,1.37 -2.653,1.37 -2.887,-0 -4.461,-2.449 -4.461,-6.998zM24.758,26.687l-2.274,-0l0,-14.725l2.274,-0l0,1.283l0.146,-0c0.408,-0.554 1.516,-1.458 2.887,-1.458 1.925,-0 2.945,1.079 2.945,3.324L30.736,26.687l-2.303,-0l0,-11.372c0,-1.108 -0.496,-1.488 -1.371,-1.488 -0.962,-0 -1.779,0.729 -2.304,1.458zM17.41,19.018l-0.262,-0c-2.828,-0 -3.441,1.254 -3.441,3.149 0,1.691 0.554,2.799 1.72,2.799 0.788,-0 1.575,-0.525 1.983,-1.167zM19.918,26.687l-1.925,-0c-0.087,-0.321 -0.175,-0.787 -0.204,-1.166l-0.146,-0c-0.642,0.816 -1.458,1.37 -2.741,1.37 -2.099,-0 -3.528,-1.575 -3.528,-4.461 0,-3.149 1.604,-5.132 5.715,-5.132l0.321,-0l0,-0.875c0,-1.925 -0.642,-2.741 -1.925,-2.741 -1.166,-0 -2.158,0.612 -2.916,1.283L12.132,12.953c0.671,-0.554 2.012,-1.166 3.499,-1.166 2.595,-0 4.024,1.108 4.024,4.665L19.655,23.363c0,1.399 0.146,2.624 0.262,3.324"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillType="nonZero"/>
<path
android:pathData="m70.93,12.428 l-0.612,14.259l-1.195,-0l0.904,-20.849l1.604,-0l3.12,12.859c0.263,1.02 0.409,2.012 0.496,2.886l0.058,-0c0.087,-0.875 0.262,-1.866 0.525,-2.886l3.207,-12.859l1.633,-0l0.904,20.849l-1.4,-0l-0.612,-14.375c-0.087,-1.633 -0.058,-2.887 -0.058,-4.169l-0.088,-0c-0.174,1.312 -0.378,2.536 -0.699,3.762l-2.916,11.518l-1.137,-0l-2.887,-11.518c-0.292,-1.138 -0.525,-2.304 -0.671,-3.732l-0.088,-0c0,1.137 -0.029,2.828 -0.087,4.257"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillType="nonZero"/>
<path
android:pathData="m91.461,19.339c0,-4.607 -1.4,-6.502 -3.12,-6.502 -1.721,-0 -3.121,2.041 -3.121,6.502 0,4.578 1.4,6.532 3.121,6.532 1.721,-0 3.12,-2.1 3.12,-6.532zM83.85,19.426c0,-4.899 1.954,-7.727 4.491,-7.727 2.536,-0 4.49,2.508 4.49,7.552 0,4.869 -1.953,7.727 -4.49,7.727 -2.537,-0 -4.491,-2.537 -4.491,-7.552"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillType="nonZero"/>
<path
android:pathData="M96.712,15.956L96.712,26.687l-1.371,-0l0,-14.696l1.254,-0l0.058,2.42l0.058,-0c0.408,-1.079 1.574,-2.712 3.557,-2.712 1.954,-0 3.091,1.225 3.091,3.558L103.36,26.687l-1.37,-0l0,-11.255c0,-1.749 -0.642,-2.566 -1.983,-2.566 -1.458,-0 -2.566,1.225 -3.295,3.091"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillType="nonZero"/>
<path
android:pathData="m107.123,18.493l5.337,-0c0.233,-3.907 -0.933,-5.656 -2.421,-5.656 -1.545,-0 -2.8,1.983 -2.916,5.656zM110.331,25.783c1.953,-0 2.974,-1.575 2.974,-1.575l0.437,1.108c0,-0 -1.108,1.662 -3.44,1.662 -3.119,-0 -4.549,-2.828 -4.549,-7.639 0,-4.811 1.808,-7.64 4.287,-7.64 2.537,-0 4.169,2.654 3.703,7.873l-6.648,-0c0.058,4.024 1.108,6.211 3.236,6.211"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillType="nonZero"/>
<path
android:pathData="m115.903,31.293 l-0.146,-1.283c0.233,0.058 0.525,0.117 0.904,0.117 0.991,-0 1.691,-0.963 2.129,-2.595l0.117,-0.437 -3.645,-15.105l1.37,-0l2.332,9.593c0.262,1.108 0.467,2.187 0.613,3.324l0.088,-0c0.203,-1.167 0.437,-2.245 0.699,-3.324l2.275,-9.593l1.225,-0L120.101,27.445C119.605,29.427 118.731,31.352 116.661,31.352c-0.321,-0 -0.554,-0.029 -0.758,-0.059"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillType="nonZero"/>
</vector>

View file

@ -1,16 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:layout_marginBottom="8dp"
android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
@ -19,6 +12,17 @@
tools:context=".AboutActivity" tools:context=".AboutActivity"
tools:showIn="@layout/activity_about"> tools:showIn="@layout/activity_about">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:layout_marginBottom="8dp"
android:orientation="vertical">
<ImageView <ImageView
android:id="@+id/imageView2" android:id="@+id/imageView2"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -76,4 +80,32 @@
android:paddingTop="5dp" android:paddingTop="5dp"
android:text="@string/about_line_6" android:text="@string/about_line_6"
android:textAppearance="@style/TextAppearance.AppCompat.Body1" /> android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
</LinearLayout>
<ImageView
android:id="@+id/donateLiberaImageView"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:contentDescription="Donate Liberapay"
android:padding="10dp"
app:srcCompat="@drawable/ic_donate_libera" />
<ImageView
android:id="@+id/donatePaypalImageView"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:contentDescription="Donate Paypal"
android:padding="10dp"
app:srcCompat="@drawable/ic_donate_paypal" />
<ImageView
android:id="@+id/donateYandexImageView"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:contentDescription="Donate Yandex Money"
android:padding="10dp"
app:srcCompat="@drawable/ic_donate_yandex" />
</LinearLayout>
</ScrollView>

View file

@ -25,7 +25,7 @@
<string name="about_line_3">Автор: Дмитрий Исаенко.</string> <string name="about_line_3">Автор: Дмитрий Исаенко.</string>
<string name="about_line_4">Домашняя страница: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string> <string name="about_line_4">Домашняя страница: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string>
<string name="about_line_5">Переводчики: Если таковые имеются, то все они указаны на домашней странице.</string> <string name="about_line_5">Переводчики: Если таковые имеются, то все они указаны на домашней странице.</string>
<string name="about_line_6">Если вам нравится эта программа, можете поставить звёздочку на GitHub. Донаты по желанию <a href="https://www.paypal.me/developersu">paypal.me/developersu</a>, <a href="https://money.yandex.ru/to/410014301951665">Яндекс.Деньги</a>. Больше информации на домашней странице.</string> <string name="about_line_6">Если вам нравится эта программа, можете поставить звёздочку на GitHub. Больше информации на домашней странице. Донаты по желанию.</string>
<string name="popup_incorrect_file">Неправильный файл</string> <string name="popup_incorrect_file">Неправильный файл</string>
<string name="status_uploaded">(Передан)</string> <string name="status_uploaded">(Передан)</string>
<string name="status_failed_to_upload">(Передача провалилась)</string> <string name="status_failed_to_upload">(Передача провалилась)</string>

View file

@ -25,7 +25,7 @@
<string name="about_line_3">程式開發: Dmitry Isaenko.</string> <string name="about_line_3">程式開發: Dmitry Isaenko.</string>
<string name="about_line_4">程式首頁: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string> <string name="about_line_4">程式首頁: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string>
<string name="about_line_5">翻譯人員: 會在程式首頁內提供本程式介面在地化翻譯的人員名單.</string> <string name="about_line_5">翻譯人員: 會在程式首頁內提供本程式介面在地化翻譯的人員名單.</string>
<string name="about_line_6">如果本程式對你有助益,請在程式的GitHub頁面上按星號加分,也歡迎贊助我們(金額隨意) <a href="https://www.paypal.me/developersu">paypal.me/developersu</a>, <a href="https://money.yandex.ru/to/410014301951665">Yandex.Money</a>. More information on home page.</string> <string name="about_line_6">如果本程式對你有助益,請在程式的GitHub頁面上按星號加分,也歡迎贊助我們(金額隨意)</string>
<string name="popup_incorrect_file">檔案錯誤</string> <string name="popup_incorrect_file">檔案錯誤</string>
<string name="status_failed_to_upload">(上傳失敗)</string> <string name="status_failed_to_upload">(上傳失敗)</string>
<string name="status_wrong_file">(NSP壞檔)</string> <string name="status_wrong_file">(NSP壞檔)</string>

View file

@ -29,7 +29,7 @@
<string name="about_line_3">Author: Dmitry Isaenko.</string> <string name="about_line_3">Author: Dmitry Isaenko.</string>
<string name="about_line_4">Home page: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string> <string name="about_line_4">Home page: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string>
<string name="about_line_5">Translators: If there are any, they\'re noted on home page.</string> <string name="about_line_5">Translators: If there are any, they\'re noted on home page.</string>
<string name="about_line_6">If you found this application useful, you\'re more than welcome to give a star on GitHub page. Donations (optional) <a href="https://www.paypal.me/developersu">paypal.me/developersu</a>, <a href="https://money.yandex.ru/to/410014301951665">Yandex.Money</a>. More information on home page.</string> <string name="about_line_6">If you found this application useful, you\'re more than welcome to give a star on GitHub page. More information on home page. Donations (optional):</string>
<string name="popup_incorrect_file">Incorrect file</string> <string name="popup_incorrect_file">Incorrect file</string>
<string name="status_failed_to_upload">(Upload failure)</string> <string name="status_failed_to_upload">(Upload failure)</string>
<string name="status_wrong_file">(Bad NSP)</string> <string name="status_wrong_file">(Bad NSP)</string>