Skip to content

Commit

Permalink
add design credits
Browse files Browse the repository at this point in the history
  • Loading branch information
fr3ts0n committed May 31, 2018
1 parent 779a3e7 commit 6c25e91
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 23 deletions.
33 changes: 16 additions & 17 deletions androbd/src/main/res/layout/startup_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,47 +27,46 @@
android:id="@+id/tvAppName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/app_name"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
android:clickable="true"
android:contentDescription="@string/url_app_mainpage"
android:gravity="center"
android:onClick="browseClickedUrl"
android:clickable="true"
/>
android:text="@string/app_name"
android:textAppearance="@android:style/TextAppearance.Medium"
android:textStyle="bold"/>

<TextView
android:id="@+id/tvVersion"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/app_version"
android:textAppearance="?android:attr/textAppearanceMedium"
android:enabled="true"
android:clickable="true"
android:contentDescription="@string/url_app_releases"
android:enabled="true"
android:gravity="center"
android:onClick="browseClickedUrl"
android:clickable="true"
/>
android:text="@string/app_version"
android:textAppearance="@android:style/TextAppearance.Small"
android:textStyle="bold"/>

<TextView
android:id="@+id/tvCopyright"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/copyright_fr3ts0n"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textAppearance="@android:style/TextAppearance.Small"
/>

<TextView
android:id="@+id/tvTranslation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/translation_credits"
android:textAppearance="?android:attr/textAppearanceSmall"
android:clickable="true"
android:contentDescription="@string/url_app_translation"
android:gravity="center"
android:onClick="browseClickedUrl"
android:clickable="true"
android:text="@string/translation_credits"
android:textAppearance="@android:style/TextAppearance.Small"
/>
</LinearLayout>

Expand Down
2 changes: 2 additions & 0 deletions androbd/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ period of time while the ECU recalibrates itself.
Charting library for Android\n
* Apache 2.0 license
</string>
<string name="graphic_design">Graphic design</string>
<string name="design_credits" translatable="false">2018 by @anaufalm</string>
<string-array name="csv_field_delim_options" translatable="false">
<item>@string/tab</item>
<item>@string/comma</item>
Expand Down
21 changes: 15 additions & 6 deletions androbd/src/main/res/xml/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@
>
<Preference
android:icon="@android:drawable/ic_menu_info_details"
android:summary="@string/copyright_fr3ts0n"
android:title="@string/app_name"
android:summary="@string/copyright_fr3ts0n"
>
<intent
android:action="android.intent.action.VIEW"
android:data="@string/url_app_mainpage"/>>
android:data="@string/url_app_mainpage"/>
</Preference>
<Preference
android:icon="@android:drawable/ic_menu_info_details"
Expand All @@ -311,15 +311,24 @@
>
<intent
android:action="android.intent.action.VIEW"
android:data="@string/url_app_releases"/>>
android:data="@string/url_app_releases"/>
</Preference>
<Preference
android:icon="@android:drawable/ic_menu_info_details"
android:title="@string/graphic_design"
android:summary="@string/design_credits"
>
<intent
android:action="android.intent.action.VIEW"
android:data="https://github.com/anaufalm"/>
</Preference>
<Preference
android:icon="@android:drawable/ic_menu_info_details"
android:title="@string/translation_credits"
>
<intent
android:action="android.intent.action.VIEW"
android:data="@string/url_app_translation"/>>
android:data="@string/url_app_translation"/>
</Preference>
<PreferenceScreen
android:icon="@drawable/ic_scale"
Expand All @@ -331,7 +340,7 @@
android:title="@string/app_name">
<intent
android:action="android.intent.action.VIEW"
android:data="@string/url_app_license"/>>
android:data="@string/url_app_license"/>
</Preference>
<PreferenceCategory
android:icon="@drawable/ic_scale"
Expand All @@ -343,7 +352,7 @@
android:title="@string/lib_usb_serial">
<intent
android:action="android.intent.action.VIEW"
android:data="https://github.com/mik3y/usb-serial-for-android"/>>
android:data="https://github.com/mik3y/usb-serial-for-android"/>
</Preference>
<Preference
android:icon="@drawable/ic_scale"
Expand Down

0 comments on commit 6c25e91

Please sign in to comment.