Skip to content

Commit

Permalink
add copyright notice (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
odaridavid authored May 1, 2020
1 parent 04922e7 commit d6a4109
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ enhance user experience.

<img src="art/appdemo.gif" width=200/>

## Copyright Notice

Star Wars and all associated names are copyright Lucasfilm ltd.

## License

```
Expand Down
31 changes: 23 additions & 8 deletions app/src/main/res/layout/activity_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,31 @@
app:cardCornerRadius="0dp"
app:layout_constraintTop_toTopOf="parent">

<TextView
android:id="@+id/about_text_view"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableStart="@drawable/ic_info_black_24dp"
android:drawablePadding="@dimen/padding_default"
android:padding="@dimen/padding_default"
android:text="@string/title_about"
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline5"
app:drawableTint="?colorSecondary" />
android:orientation="vertical">

<TextView
android:id="@+id/about_text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableStart="@drawable/ic_info_black_24dp"
android:drawablePadding="@dimen/padding_default"
android:padding="@dimen/padding_default"
android:text="@string/title_about"
android:layout_marginBottom="@dimen/margin_default"
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline5"
app:drawableTint="?colorSecondary" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
android:text="@string/star_wars_copyright"
android:layout_margin="@dimen/margin_default"
android:padding="@dimen/padding_default"/>
</LinearLayout>

</androidx.cardview.widget.CardView>

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@
<string name="info_app_version">Version %s</string>
<string name="title_settings">Settings</string>
<string name="title_about">About</string>
<string name="star_wars_copyright">Star Wars and all associated names are copyright Lucasfilm ltd.</string>

</resources>

0 comments on commit d6a4109

Please sign in to comment.