Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
niknetniko committed May 25, 2022
1 parent 67e6b75 commit 3b146e5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
15 changes: 6 additions & 9 deletions app/src/main/res/layout/activity_wpi_api_key_management.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,39 +56,36 @@
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Gebruikersnaam">
android:hint="@string/wpi_username">

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/apiUsername"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
android:layout_height="wrap_content" />

</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="API-sleutel Tab">
android:hint="@string/wpi_tab_key">

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/apiTab"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
android:layout_height="wrap_content" />

</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="API-sleutel Tap">
android:hint="@string/wpi_tap_key">

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/apiTap"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
android:layout_height="wrap_content" />

</com.google.android.material.textfield.TextInputLayout>

Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values-en/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@
<item quantity="one">Press %d more time…</item>
<item quantity="other">Press %d more times…</item>
</plurals>
<string name="wpi_username">Username</string>
<string name="wpi_tab_key">API key for Tab</string>
<string name="wpi_tap_key">API key for Tap</string>

<!-- Accessibility strings -->
<string name="content_desc_more">more</string>
Expand Down
10 changes: 5 additions & 5 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@
<color name="wpi_theme_light_outline">#79747E</color>
<color name="wpi_theme_light_inverseOnSurface">#FBEEE8</color>
<color name="wpi_theme_light_inverseSurface">#362F2B</color>
<color name="wpi_theme_light_inversePrimary">#FFB684</color>
<color name="wpi_theme_light_shadow">#000000</color>
<color name="wpi_theme_light_inversePrimary" tools:ignore="UnusedResources">#FFB684</color>
<color name="wpi_theme_light_shadow" tools:ignore="UnusedResources">#000000</color>
<color name="wpi_theme_light_primaryInverse">#FFB684</color>
<color name="wpi_theme_dark_primary">#FFB684</color>
<color name="wpi_theme_dark_onPrimary">#512300</color>
Expand All @@ -144,8 +144,8 @@
<color name="wpi_theme_dark_onSurfaceVariant">#CAC4D0</color>
<color name="wpi_theme_dark_outline">#938F99</color>
<color name="wpi_theme_dark_inverseOnSurface">#201A17</color>
<color name="wpi_theme_dark_inverseSurface">#ECE0DA</color>
<color name="wpi_theme_dark_inversePrimary">#984800</color>
<color name="wpi_theme_dark_shadow">#000000</color>
<color name="wpi_theme_dark_inverseSurface" tools:ignore="UnusedResources">#ECE0DA</color>
<color name="wpi_theme_dark_inversePrimary" tools:ignore="UnusedResources">#984800</color>
<color name="wpi_theme_dark_shadow" tools:ignore="UnusedResources">#000000</color>
<color name="wpi_theme_dark_primaryInverse">#984800</color>
</resources>
3 changes: 3 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,9 @@
<plurals name="wpi_mode_press">
<item quantity="other">Druk nog %d keer…</item>
</plurals>
<string name="wpi_username">Gebruikersnaam</string>
<string name="wpi_tab_key">API-sleutel voor Tab</string>
<string name="wpi_tap_key">API-sleutel voor Tap</string>

<!-- Accessibility strings -->
<string name="content_desc_more">meer</string>
Expand Down

0 comments on commit 3b146e5

Please sign in to comment.