Skip to content

Commit

Permalink
a11y fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrusch committed Jan 16, 2021
1 parent ad7e506 commit e8e6e74
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ protected void onCreate(Bundle savedInstanceState) {
searchView.setOnQueryTextListener(onQueryTextListener);
searchView.setFocusable(true);
searchView.setIconified(false);
searchView.setContentDescription(getString(R.string.search_launches));
searchView.requestFocusFromTouch();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public void onBindViewHolder(@NonNull final CreditsAdapter.ItemViewHolder holder
holder.value.setText(Html.fromHtml(entry.second));
if (entry.second != null && entry.second.contains("href")) {
holder.value.setMovementMethod(LinkMovementMethod.getInstance());
holder.value.setPadding(0, 24, 0, 34);
holder.value.setPadding(0, 24, 0, 24);
}
}

Expand Down
1 change: 1 addition & 0 deletions SpaceLaunchOne/app/src/main/res/values-fi-rFI/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,5 @@
<string name="map">Kartta</string>
<string name="pref_timezone">Aikavyöhyke</string>
<string name="video">video</string>
<string name="search_launches">Search for launches</string>
</resources>
1 change: 1 addition & 0 deletions SpaceLaunchOne/app/src/main/res/values-fi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,5 @@
<string name="map">Kartta</string>
<string name="pref_timezone">Aikavyöhyke</string>
<string name="video">video</string>
<string name="search_launches">Search for launches</string>
</resources>
9 changes: 5 additions & 4 deletions SpaceLaunchOne/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,19 @@
<item>48</item>
</string-array>
<string-array name="credits_array">
<item>What is Space Launch 1? ; This app was originally created as a capstone project for Udacity Android
<item>What is Space Launch 1? ; Initially I created this app as a capstone project for Udacity Android
developer nanodegree program. Since then it has become a standalone resource for
tracking space flights. This application is open source and available on Github.
You are welcome to contribute to the improvement of this app.
&lt;br/>&lt;br/>Application data is provided and maintained by &lt;a href="https://thespacedevs.com/">the Space Devs&lt;/a>.
You are invited to contribute to the improvement of this app.
&lt;br/>&lt;br/>Application data is provided and maintained by the Space Devs.
They continuously work on updating the data and share this resource with the world for free.
If you appreciate the effort and wish to see it continue, consider supporting the Space Devs.
</item>
<item>App Developer ; Neea Rusch (USA)</item>
<item>Source Code ; &lt;a href="https://github.com/nkrusch/SpaceLaunchOne">Space Launch 1 on Github&lt;/a></item>
<item>Beta Version; &lt;a href="https://play.google.com/apps/testing/io.github.nkrusch.spacelaunchone">Join beta program to get early updates&lt;a></item>
<item>Rate this app ; &lt;a href="https://play.google.com/store/apps/details?id=io.github.nkrusch.spacelaunchone">Rate at Google Play Store&lt;/a></item>
<item>Application Data ; &lt;a href="https://thespacedevs.com/llapi">Launch Library 2 API&lt;/a></item>
<item>Application Data ; &lt;a href="https://thespacedevs.com/llapi">The Space Devs, Launch Library 2 API&lt;/a></item>
<item>Image Credits ; &lt;a href="https://thespacedevs.com/llapi">Launch Library 2 &lt;/a>&lt;br/>
&lt;a href="https://www.nasa.gov/multimedia/imagegallery/iotd.html">NASA image of the day&lt;/a></item>
<item>Maps ; &lt;a href="https://developers.google.com/maps/documentation/android-sdk/intro">Google Maps&lt;/a></item>
Expand Down Expand Up @@ -757,5 +757,6 @@
<string name="pref_timezone">Your Timezone</string>
<string name="pref_timezone_key" translatable="false">user_local_timezone</string>
<string name="video">Video</string>
<string name="search_launches">Search for launches</string>

</resources>
4 changes: 2 additions & 2 deletions SpaceLaunchOne/version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Sat Jan 16 14:37:35 EST 2021
VERSION_CODE=2324
#Sat Jan 16 15:02:08 EST 2021
VERSION_CODE=2330

0 comments on commit e8e6e74

Please sign in to comment.