1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-26 01:50:32 +00:00

Add and update resources

This commit is contained in:
Mauricio Colli 2017-05-15 00:57:04 -03:00
parent f2b38be2b0
commit 2aebb3b8db
16 changed files with 53 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

View File

@ -32,12 +32,11 @@
<RadioGroup <RadioGroup
android:id="@+id/video_audio_group" android:id="@+id/video_audio_group"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@+id/file_name" android:layout_below="@+id/file_name"
android:layout_marginBottom="12dp"
android:layout_marginLeft="20dp" android:layout_marginLeft="20dp"
android:layout_marginRight="20dp" android:layout_marginBottom="6dp"
android:gravity="left" android:gravity="left"
android:orientation="horizontal" android:orientation="horizontal"
tools:ignore="RtlHardcoded"> tools:ignore="RtlHardcoded">
@ -56,11 +55,22 @@
android:text="@string/audio"/> android:text="@string/audio"/>
</RadioGroup> </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 <TextView
android:id="@+id/threads_text_view" android:id="@+id/threads_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@+id/video_audio_group" android:layout_below="@+id/quality_spinner"
android:layout_marginBottom="6dp" android:layout_marginBottom="6dp"
android:layout_marginLeft="24dp" android:layout_marginLeft="24dp"
android:layout_marginRight="24dp" android:layout_marginRight="24dp"

View 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>

View File

@ -13,5 +13,6 @@
<attr name="popup" format="reference"/> <attr name="popup" format="reference"/>
<attr name="expand" format="reference"/> <attr name="expand" format="reference"/>
<attr name="collapse" format="reference"/> <attr name="collapse" format="reference"/>
<attr name="volume_off" format="reference"/>
<attr name="separatorColor" format="color"/> <attr name="separatorColor" format="color"/>
</resources> </resources>

View File

@ -24,6 +24,7 @@
<string name="screen_rotation">rotation</string> <string name="screen_rotation">rotation</string>
<string name="settings_activity_title">Settings</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_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="use_external_audio_player_title">Use external audio player</string>
<string name="popup_mode_share_menu_title">NewPipe Popup mode</string> <string name="popup_mode_share_menu_title">NewPipe Popup mode</string>
<string name="rss_button_title" translatable="false">RSS</string> <string name="rss_button_title" translatable="false">RSS</string>

View File

@ -26,6 +26,7 @@
<item name="popup">@drawable/ic_picture_in_picture_black_24dp</item> <item name="popup">@drawable/ic_picture_in_picture_black_24dp</item>
<item name="expand">@drawable/ic_expand_more_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="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="separatorColor">@color/light_separator_color</item>
<item name="colorControlHighlight">@color/light_ripple_color</item> <item name="colorControlHighlight">@color/light_ripple_color</item>
</style> </style>
@ -50,6 +51,7 @@
<item name="popup">@drawable/ic_picture_in_picture_white_24dp</item> <item name="popup">@drawable/ic_picture_in_picture_white_24dp</item>
<item name="expand">@drawable/ic_expand_more_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="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="separatorColor">@color/dark_separator_color</item>
<item name="colorControlHighlight">@color/dark_ripple_color</item> <item name="colorControlHighlight">@color/dark_ripple_color</item>
</style> </style>

View File

@ -12,6 +12,7 @@
<CheckBoxPreference <CheckBoxPreference
android:key="@string/use_external_video_player_key" android:key="@string/use_external_video_player_key"
android:title="@string/use_external_video_player_title" android:title="@string/use_external_video_player_title"
android:summary="@string/use_external_video_player_summary"
android:defaultValue="false"/> android:defaultValue="false"/>
<CheckBoxPreference <CheckBoxPreference