Commit fa0b3977 authored by Nastuzzi Samy's avatar Nastuzzi Samy
Browse files

Move credits

parent bbf841e5
......@@ -132,6 +132,8 @@ public class FoundationsOptionsActivity extends BaseActivity {
keyGingerDialog();
else if (isOption(position,8))
checkUpdate();
else if (isOption(position,9))
creditDialog();
else
configDialog();
}
......@@ -190,6 +192,11 @@ public class FoundationsOptionsActivity extends BaseActivity {
});
}
protected void creditDialog() {
dialog.infoDialog(FoundationsOptionsActivity.this, getString(R.string.credit), getString(R.string.author));
}
protected void configDialog() {
if (config.getFoundationId() == -1 && config.getOptionList().size() == 0) {
final View popupView = LayoutInflater.from(FoundationsOptionsActivity.this).inflate(R.layout.dialog_config, null, false);
......
......@@ -65,17 +65,10 @@
android:id="@+id/text_app_registered"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="10dp"
android:gravity="center"
android:textStyle="italic"
android:text="@string/app_not_registred" />
<TextView
android:id="@+id/text_author"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/author"
android:layout_marginBottom="10dp"
android:gravity="center" />
</LinearLayout>
</RelativeLayout>
......@@ -10,5 +10,6 @@
<item>Modifier la clé Nemopay</item>
<item>Modifier la clé Ginger</item>
<item>Rechercher une mise à jour</item>
<item>Crédits</item>
</string-array>
</resources>
\ No newline at end of file
......@@ -58,6 +58,7 @@
<string name="type">Type</string>
<string name="day_s_">jour(s)</string>
<string name="update">Mise à jour</string>
<string name="credit">Crédits</string>
<string name="author">&lt;/&gt; avec ♥ par Samy NASTUZZI</string>
<string name="error_unexpected">Une erreur improbable a eu lieu</string>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment