Add and update resources
BIN
app/src/main/res/drawable-hdpi/ic_volume_off_black_24dp.png
Normal file
After Width: | Height: | Size: 407 B |
BIN
app/src/main/res/drawable-hdpi/ic_volume_off_white_24dp.png
Normal file
After Width: | Height: | Size: 433 B |
BIN
app/src/main/res/drawable-mdpi/ic_volume_off_black_24dp.png
Normal file
After Width: | Height: | Size: 279 B |
BIN
app/src/main/res/drawable-mdpi/ic_volume_off_white_24dp.png
Normal file
After Width: | Height: | Size: 301 B |
BIN
app/src/main/res/drawable-xhdpi/ic_volume_off_black_24dp.png
Normal file
After Width: | Height: | Size: 493 B |
BIN
app/src/main/res/drawable-xhdpi/ic_volume_off_white_24dp.png
Normal file
After Width: | Height: | Size: 532 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_volume_off_black_24dp.png
Normal file
After Width: | Height: | Size: 704 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_volume_off_white_24dp.png
Normal file
After Width: | Height: | Size: 753 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_volume_off_black_24dp.png
Normal file
After Width: | Height: | Size: 924 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_volume_off_white_24dp.png
Normal file
After Width: | Height: | Size: 1,005 B |
|
@ -32,12 +32,11 @@
|
|||
|
||||
<RadioGroup
|
||||
android:id="@+id/video_audio_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/file_name"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_marginBottom="6dp"
|
||||
android:gravity="left"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="RtlHardcoded">
|
||||
|
@ -56,11 +55,22 @@
|
|||
android:text="@string/audio"/>
|
||||
</RadioGroup>
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/quality_spinner"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="150dp"
|
||||
android:layout_below="@+id/video_audio_group"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
tools:listitem="@layout/resolutions_spinner_item"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/threads_text_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/video_audio_group"
|
||||
android:layout_below="@+id/quality_spinner"
|
||||
android:layout_marginBottom="6dp"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
|
|
34
app/src/main/res/layout/resolutions_spinner_item.xml
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/wo_sound_icon"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="?attr/volume_off"
|
||||
tools:ignore="ContentDescription,RtlHardcoded"/>
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/text1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_toRightOf="@+id/wo_sound_icon"
|
||||
android:ellipsize="end"
|
||||
android:gravity="left"
|
||||
android:maxLines="1"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
||||
android:textSize="16sp"
|
||||
tools:ignore="RtlHardcoded"
|
||||
tools:text="MPEG-4 1080p60 very long res"/>
|
||||
</RelativeLayout>
|
|
@ -13,5 +13,6 @@
|
|||
<attr name="popup" format="reference"/>
|
||||
<attr name="expand" format="reference"/>
|
||||
<attr name="collapse" format="reference"/>
|
||||
<attr name="volume_off" format="reference"/>
|
||||
<attr name="separatorColor" format="color"/>
|
||||
</resources>
|
|
@ -24,6 +24,7 @@
|
|||
<string name="screen_rotation">rotation</string>
|
||||
<string name="settings_activity_title">Settings</string>
|
||||
<string name="use_external_video_player_title">Use external video player</string>
|
||||
<string name="use_external_video_player_summary">Some resolutions will NOT have audio when this option is enabled</string>
|
||||
<string name="use_external_audio_player_title">Use external audio player</string>
|
||||
<string name="popup_mode_share_menu_title">NewPipe Popup mode</string>
|
||||
<string name="rss_button_title" translatable="false">RSS</string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
<item name="popup">@drawable/ic_picture_in_picture_black_24dp</item>
|
||||
<item name="expand">@drawable/ic_expand_more_black_24dp</item>
|
||||
<item name="collapse">@drawable/ic_expand_less_black_24dp</item>
|
||||
<item name="volume_off">@drawable/ic_volume_off_black_24dp</item>
|
||||
<item name="separatorColor">@color/light_separator_color</item>
|
||||
<item name="colorControlHighlight">@color/light_ripple_color</item>
|
||||
</style>
|
||||
|
@ -50,6 +51,7 @@
|
|||
<item name="popup">@drawable/ic_picture_in_picture_white_24dp</item>
|
||||
<item name="expand">@drawable/ic_expand_more_white_24dp</item>
|
||||
<item name="collapse">@drawable/ic_expand_less_white_24dp</item>
|
||||
<item name="volume_off">@drawable/ic_volume_off_white_24dp</item>
|
||||
<item name="separatorColor">@color/dark_separator_color</item>
|
||||
<item name="colorControlHighlight">@color/dark_ripple_color</item>
|
||||
</style>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
<CheckBoxPreference
|
||||
android:key="@string/use_external_video_player_key"
|
||||
android:title="@string/use_external_video_player_title"
|
||||
android:summary="@string/use_external_video_player_summary"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
|
|