add License in the About activity

This commit is contained in:
tibbi 2016-04-07 19:31:35 +02:00
parent 4ac9b18fd5
commit d05ffd0351
2 changed files with 13 additions and 2 deletions

View file

@ -28,18 +28,28 @@
android:layout_below="@+id/about_email_label"
android:text="@string/email"/>
<TextView
android:id="@+id/about_license"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/about_email"
android:layout_marginTop="@dimen/activity_margin"
android:text="@string/license"/>
<TextView
android:id="@+id/about_version"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/about_copyright"
android:gravity="center_horizontal"/>
android:gravity="center_horizontal"
android:text="v 1.0"/>
<TextView
android:id="@+id/about_copyright"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center_horizontal"/>
android:gravity="center_horizontal"
android:text="Copyright © Simple Mobile Tools 2000"/>
</RelativeLayout>

View file

@ -4,6 +4,7 @@
<string name="website">For more simple apps please visit:\nhttp://simplemobiletools.com</string>
<string name="email_label">You can send your feedback and new app suggestions at:</string>
<string name="email">hello@simplemobiletools.com</string>
<string name="license">License</string>
<string name="version">v %1$s</string>
<string name="copyright">Copyright © Simple Mobile Tools %1$d</string>
</resources>