Reorder third-party list
app/src/main/java/eu/lepiller/nani/LicenseActivity.java
| 67 | 67 | List<License> erdrgLicenses = new ArrayList<>(); | |
| 68 | 68 | erdrgLicenses.add(new License(getString(R.string.jmdict_title), null, "http://www.edrdg.org/wiki/index.php/JMdict-EDICT_Dictionary_Project", | |
| 69 | 69 | getString(R.string.jmdict_descr), getString(R.string.jmdict_license), null)); | |
| 70 | - | erdrgLicenses.add(new License(getString(R.string.radk_title), null, "http://www.edrdg.org/krad/kradinf.html", | |
| 71 | - | getString(R.string.radk_descr), getString(R.string.radk_license), null)); | |
| 72 | 70 | erdrgLicenses.add(new License(getString(R.string.kanjidic_title), null, "http://www.edrdg.org/wiki/index.php/KANJIDIC_Project", | |
| 73 | 71 | getString(R.string.kanjidic_descr), getString(R.string.kanjidic_license), null)); | |
| 72 | + | erdrgLicenses.add(new License(getString(R.string.radk_title), null, "http://www.edrdg.org/krad/kradinf.html", | |
| 73 | + | getString(R.string.radk_descr), getString(R.string.radk_license), null)); | |
| 74 | 74 | licenseInformation.add( | |
| 75 | 75 | new License(getString(R.string.erdrg_title), ResourcesCompat.getDrawable(getResources(), R.drawable.ic_nani_edrdg, getTheme()), null, | |
| 76 | 76 | getString(R.string.erdrg_descr), "", erdrgLicenses)); | |
| 77 | 77 | ||
| 78 | 78 | licenseInformation.add( | |
| 79 | - | new License(getString(R.string.kanjivg_title), ResourcesCompat.getDrawable(getResources(), R.drawable.ic_kanjivg, getTheme()), "http://kanjivg.tagaini.net/", | |
| 80 | - | getString(R.string.kanjivg_descr), getString(R.string.kanjivg_license), null) | |
| 81 | - | ); | |
| 82 | - | licenseInformation.add( | |
| 83 | 79 | new License(getString(R.string.jibiki_title), ResourcesCompat.getDrawable(getResources(), R.drawable.ic_jibiki, getTheme()), "https://jibiki.fr", | |
| 84 | 80 | getString(R.string.jibiki_descr), getString(R.string.jibiki_license), null) | |
| 85 | 81 | ); | |
| 86 | 82 | licenseInformation.add( | |
| 87 | - | new License(getString(R.string.wadoku_title), ResourcesCompat.getDrawable(getResources(), R.drawable.wadoku, getTheme()), "https://wadoku.de", | |
| 88 | - | getString(R.string.wadoku_descr), getString(R.string.wadoku_license), null) | |
| 83 | + | new License(getString(R.string.kanjivg_title), ResourcesCompat.getDrawable(getResources(), R.drawable.ic_kanjivg, getTheme()), "http://kanjivg.tagaini.net/", | |
| 84 | + | getString(R.string.kanjivg_descr), getString(R.string.kanjivg_license), null) | |
| 89 | 85 | ); | |
| 90 | 86 | licenseInformation.add( | |
| 91 | 87 | new License(getString(R.string.tatoeba_title), ResourcesCompat.getDrawable(getResources(), R.drawable.ic_tatoeba, getTheme()), "https://tatoeba.org", | |
| 92 | 88 | getString(R.string.tatoeba_descr), getString(R.string.tatoeba_license), null) | |
| 93 | 89 | ); | |
| 90 | + | licenseInformation.add( | |
| 91 | + | new License(getString(R.string.wadoku_title), ResourcesCompat.getDrawable(getResources(), R.drawable.wadoku, getTheme()), "https://wadoku.de", | |
| 92 | + | getString(R.string.wadoku_descr), getString(R.string.wadoku_license), null) | |
| 93 | + | ); | |
| 94 | 94 | ||
| 95 | 95 | final ExpandableListView list_view = findViewById(R.id.license_view); | |
| 96 | 96 | adapter = new LicenseAdapter(this, licenseInformation); |