added themeing for peertube, change peertube instance
BIN
app/src/main/res/drawable-hdpi/ic_kiosklocal_black_24dp.png
Executable file
|
After Width: | Height: | Size: 208 B |
BIN
app/src/main/res/drawable-hdpi/ic_kiosklocal_white_24dp.png
Executable file
|
After Width: | Height: | Size: 206 B |
BIN
app/src/main/res/drawable-hdpi/ic_kioskrecent_black_24dp.png
Executable file
|
After Width: | Height: | Size: 475 B |
BIN
app/src/main/res/drawable-hdpi/ic_kioskrecent_white_24dp.png
Executable file
|
After Width: | Height: | Size: 460 B |
BIN
app/src/main/res/drawable-mdpi/ic_kiosklocal_black_24dp.png
Executable file
|
After Width: | Height: | Size: 166 B |
BIN
app/src/main/res/drawable-mdpi/ic_kiosklocal_white_24dp.png
Executable file
|
After Width: | Height: | Size: 166 B |
BIN
app/src/main/res/drawable-mdpi/ic_kioskrecent_black_24dp.png
Executable file
|
After Width: | Height: | Size: 311 B |
BIN
app/src/main/res/drawable-mdpi/ic_kioskrecent_white_24dp.png
Executable file
|
After Width: | Height: | Size: 312 B |
BIN
app/src/main/res/drawable-nodpi/place_holder_cloud.png
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
app/src/main/res/drawable-nodpi/place_holder_peertube.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_kiosklocal_black_24dp.png
Executable file
|
After Width: | Height: | Size: 235 B |
BIN
app/src/main/res/drawable-xhdpi/ic_kiosklocal_white_24dp.png
Executable file
|
After Width: | Height: | Size: 226 B |
BIN
app/src/main/res/drawable-xhdpi/ic_kioskrecent_black_24dp.png
Executable file
|
After Width: | Height: | Size: 597 B |
BIN
app/src/main/res/drawable-xhdpi/ic_kioskrecent_white_24dp.png
Executable file
|
After Width: | Height: | Size: 588 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_kiosklocal_black_24dp.png
Executable file
|
After Width: | Height: | Size: 291 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_kiosklocal_white_24dp.png
Executable file
|
After Width: | Height: | Size: 284 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_kioskrecent_black_24dp.png
Executable file
|
After Width: | Height: | Size: 856 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_kioskrecent_white_24dp.png
Executable file
|
After Width: | Height: | Size: 835 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_kiosklocal_black_24dp.png
Executable file
|
After Width: | Height: | Size: 344 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_kiosklocal_white_24dp.png
Executable file
|
After Width: | Height: | Size: 345 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_kioskrecent_black_24dp.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_kioskrecent_white_24dp.png
Executable file
|
After Width: | Height: | Size: 1.1 KiB |
|
|
@ -31,4 +31,23 @@
|
|||
<item name="colorAccent">@color/dark_soundcloud_accent_color</item>
|
||||
</style>
|
||||
|
||||
<!-- PeerTube -->
|
||||
<style name="LightTheme.PeerTube" parent="LightTheme.Switchable">
|
||||
<item name="colorPrimary">@color/light_peertube_primary_color</item>
|
||||
<item name="colorPrimaryDark">@color/light_peertube_dark_color</item>
|
||||
<item name="colorAccent">@color/light_peertube_accent_color</item>
|
||||
</style>
|
||||
|
||||
<style name="DarkTheme.PeerTube" parent="DarkTheme.Switchable">
|
||||
<item name="colorPrimary">@color/dark_peertube_primary_color</item>
|
||||
<item name="colorPrimaryDark">@color/dark_peertube_dark_color</item>
|
||||
<item name="colorAccent">@color/dark_peertube_accent_color</item>
|
||||
</style>
|
||||
|
||||
<style name="BlackTheme.PeerTube" parent="BlackTheme.Switchable">
|
||||
<item name="colorPrimary">@color/dark_peertube_primary_color</item>
|
||||
<item name="colorPrimaryDark">@color/dark_peertube_dark_color</item>
|
||||
<item name="colorAccent">@color/dark_peertube_accent_color</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
@ -28,6 +28,8 @@
|
|||
<attr name="bug" format="reference"/>
|
||||
<attr name="settings" format="reference"/>
|
||||
<attr name="ic_hot" format="reference"/>
|
||||
<attr name="ic_kiosk_local" format="reference"/>
|
||||
<attr name="ic_kiosk_recent" format="reference"/>
|
||||
<attr name="ic_channel" format="reference"/>
|
||||
<attr name="ic_bookmark" format="reference"/>
|
||||
<attr name="ic_playlist_add" format="reference"/>
|
||||
|
|
|
|||
|
|
@ -22,4 +22,15 @@
|
|||
<color name="dark_soundcloud_accent_color">#FFFFFF</color>
|
||||
<color name="dark_soundcloud_statusbar_color">#ff9100</color>
|
||||
|
||||
<!-- PeerTube -->
|
||||
<color name="light_peertube_primary_color">#f97d46</color>
|
||||
<color name="light_peertube_dark_color">#c04e19</color>
|
||||
<color name="light_peertube_accent_color">#000000</color>
|
||||
<color name="light_peertube_statusbar_color">#f97d46</color>
|
||||
|
||||
<color name="dark_peertube_primary_color">#f97d46</color>
|
||||
<color name="dark_peertube_dark_color">#c04e19</color>
|
||||
<color name="dark_peertube_accent_color">#FFFFFF</color>
|
||||
<color name="dark_peertube_statusbar_color">#f97d46</color>
|
||||
|
||||
</resources>
|
||||
|
|
@ -143,6 +143,8 @@
|
|||
<string name="default_language_value">en</string>
|
||||
<string name="default_country_value">GB</string>
|
||||
<string name="content_language_key" translatable="false">content_language</string>
|
||||
<string name="peertube_instance_url_key" translatable="false">peertube_instance_url</string>
|
||||
<string name="peertube_instance_name_key" translatable="false">peertube_instance_name</string>
|
||||
<string name="content_country_key" translatable="false">content_country</string>
|
||||
<string name="show_age_restricted_content" translatable="false">show_age_restricted_content</string>
|
||||
<string name="use_tor_key" translatable="false">use_tor</string>
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@
|
|||
<string name="default_content_country_title">Default content country</string>
|
||||
<string name="service_title">Service</string>
|
||||
<string name="content_language_title">Default content language</string>
|
||||
<string name="peertube_instance_url_title">PeerTube instance</string>
|
||||
<string name="settings_category_player_title">Player</string>
|
||||
<string name="settings_category_player_behavior_title">Behavior</string>
|
||||
<string name="settings_category_video_audio_title">Video & audio</string>
|
||||
|
|
|
|||
|
|
@ -44,6 +44,8 @@
|
|||
<item name="play">@drawable/ic_play_arrow_black_24dp</item>
|
||||
<item name="settings">@drawable/ic_settings_black_24dp</item>
|
||||
<item name="ic_hot">@drawable/ic_whatshot_black_24dp</item>
|
||||
<item name="ic_kiosk_local">@drawable/ic_kiosklocal_black_24dp</item>
|
||||
<item name="ic_kiosk_recent">@drawable/ic_kioskrecent_black_24dp</item>
|
||||
<item name="ic_channel">@drawable/ic_channel_black_24dp</item>
|
||||
<item name="ic_bookmark">@drawable/ic_bookmark_black_24dp</item>
|
||||
<item name="ic_playlist_add">@drawable/ic_playlist_add_black_24dp</item>
|
||||
|
|
@ -104,6 +106,8 @@
|
|||
<item name="play">@drawable/ic_play_arrow_white_24dp</item>
|
||||
<item name="settings">@drawable/ic_settings_white_24dp</item>
|
||||
<item name="ic_hot">@drawable/ic_whatshot_white_24dp</item>
|
||||
<item name="ic_kiosk_local">@drawable/ic_kiosklocal_white_24dp</item>
|
||||
<item name="ic_kiosk_recent">@drawable/ic_kioskrecent_white_24dp</item>
|
||||
<item name="ic_channel">@drawable/ic_channel_white_24dp</item>
|
||||
<item name="ic_bookmark">@drawable/ic_bookmark_white_24dp</item>
|
||||
<item name="ic_playlist_add">@drawable/ic_playlist_add_white_24dp</item>
|
||||
|
|
|
|||
|
|
@ -28,4 +28,23 @@
|
|||
<item name="colorAccent">@color/dark_soundcloud_accent_color</item>
|
||||
</style>
|
||||
|
||||
<!-- PeerTube -->
|
||||
<style name="LightTheme.PeerTube" parent="LightTheme.Switchable">
|
||||
<item name="colorPrimary">@color/light_peertube_primary_color</item>
|
||||
<item name="colorPrimaryDark">@color/light_peertube_dark_color</item>
|
||||
<item name="colorAccent">@color/light_peertube_accent_color</item>
|
||||
</style>
|
||||
|
||||
<style name="DarkTheme.PeerTube" parent="DarkTheme.Switchable">
|
||||
<item name="colorPrimary">@color/dark_peertube_primary_color</item>
|
||||
<item name="colorPrimaryDark">@color/dark_peertube_dark_color</item>
|
||||
<item name="colorAccent">@color/dark_peertube_accent_color</item>
|
||||
</style>
|
||||
|
||||
<style name="BlackTheme.PeerTube" parent="BlackTheme.Switchable">
|
||||
<item name="colorPrimary">@color/dark_peertube_primary_color</item>
|
||||
<item name="colorPrimaryDark">@color/dark_peertube_dark_color</item>
|
||||
<item name="colorAccent">@color/dark_peertube_accent_color</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
@ -18,6 +18,11 @@
|
|||
android:summary="%s"
|
||||
android:title="@string/content_language_title"/>
|
||||
|
||||
<EditTextPreference
|
||||
android:key="@string/peertube_instance_url_key"
|
||||
android:title="@string/peertube_instance_url_title"
|
||||
android:inputType="textUri" />
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/show_age_restricted_content"
|
||||
|
|
|
|||