Skip to content

Commit

Permalink
add more clarifying information to the Google TV app remote navigatio…
Browse files Browse the repository at this point in the history
…n buttons example
  • Loading branch information
Nerwyn committed Dec 12, 2024
1 parent 4d8462f commit 3486dcc
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ custom_actions:

## Example 13

Style the dpad to be like the Google TV app remote.
Style navigation buttons (NOT `dpad`) to be like the Google TV app remote. **NOTE**: You have to add the provided row styles to the three rows of your navigation buttons, otherwise they will skew to the side on smaller displays. You can find the CSS IDs of your navigation button rows by hovering over the remote in the editor as described [in this section](#css-styles)

<img src="https://raw.githubusercontent.com/Nerwyn/android-tv-card/main/assets/google_tv_dpad.png" alt="google tv app styled dpad" width="500"/>

Expand Down Expand Up @@ -1513,13 +1513,7 @@ custom_actions:
width: 90px;
}
styles: |-
#row-1 {
justify-content: center;
}
#row-2 {
justify-content: center;
}
#row-3 {
#row-1, #row-2, #row-3 {
justify-content: center;
}
```
Expand Down

0 comments on commit 3486dcc

Please sign in to comment.