Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vkay94 authored Feb 1, 2021
1 parent 55bd469 commit a53fdba
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
A TimeBar in YouTube-style providing Chapters, Image-Preview and Segments.

<p align="center">
<img src="github/preview_start.png" width=300>
<img src="github/preview_default.png" width=300>
<img src="github/preview_end.png" width=300>
<img src="github/preview_start.png" width=280>
<img src="github/preview_default.png" width=280>
<img src="github/preview_end.png" width=280>
</p>

## Features
Expand Down Expand Up @@ -156,8 +156,8 @@ The following sections provide detailed documentation for the components of the

### Methods

| Method name | Description
| ------------- | ------------| ------|
| Method name | Description |
| ------------- | ------------|
| `showScrubber() / hideScrubber()` | Shows/hides the circle red scrubber
| `timeBarPreview(YouTubeTimeBarPreview?)`| Sets the preview View and removes it if `null` is passed
| `getPosition()`| Returns the current playback position in milliseconds
Expand Down Expand Up @@ -190,8 +190,8 @@ Within the above listener you can then check via an instance check and execute c

### Methods

| Method name | Description
| ------------- | ------------| ------|
| Method name | Description |
| ------------- | ------------|
| `adjustWithDisplayCutout(DisplayCutoutCompat?)` | Adjusts the padding if the device has a notch
| `adjustWithDisplayCutout(DisplayCutout?)` | Adjusts the padding if the device has a notch (requires P)
| `adjustWithDisplayCutout(Int, Int)` | Adjusts the padding manually by pixels (left and right)
Expand Down

0 comments on commit a53fdba

Please sign in to comment.