mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-12-05 20:55:19 +00:00
Merge pull request #7458 from litetex/rework-subscription-import-export-ui
Moved subscription import/export options to (overflow) menu
This commit is contained in:
23 files changed
+135
-339
No files matched your search
@@ -1,24 +1,24 @@
|
||||
package org.schabi.newpipe.local.subscription
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.BroadcastReceiver
|
||||
import android.content.Context
|
||||
import android.content.DialogInterface
|
||||
import android.content.Intent
|
||||
import android.content.IntentFilter
|
||||
import android.os.Bundle
|
||||
import android.os.Parcelable
|
||||
import android.view.LayoutInflater
|
||||
import android.view.Menu
|
||||
import android.view.MenuInflater
|
||||
import android.view.MenuItem
|
||||
import android.view.SubMenu
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.Toast
|
||||
import androidx.activity.result.ActivityResult
|
||||
import androidx.activity.result.contract.ActivityResultContracts.StartActivityForResult
|
||||
import androidx.annotation.StringRes
|
||||
import androidx.appcompat.app.AlertDialog
|
||||
import androidx.lifecycle.ViewModelProvider
|
||||
import androidx.localbroadcastmanager.content.LocalBroadcastManager
|
||||
import androidx.recyclerview.widget.GridLayoutManager
|
||||
import com.xwray.groupie.Group
|
||||
import com.xwray.groupie.GroupAdapter
|
||||
@@ -34,6 +34,7 @@ import org.schabi.newpipe.databinding.FeedItemCarouselBinding
|
||||
import org.schabi.newpipe.databinding.FragmentSubscriptionBinding
|
||||
import org.schabi.newpipe.error.ErrorInfo
|
||||
import org.schabi.newpipe.error.UserAction
|
||||
import org.schabi.newpipe.extractor.ServiceList
|
||||
import org.schabi.newpipe.extractor.channel.ChannelInfoItem
|
||||
import org.schabi.newpipe.fragments.BaseStateFragment
|
||||
import org.schabi.newpipe.ktx.animate
|
||||
@@ -45,13 +46,10 @@ import org.schabi.newpipe.local.subscription.item.EmptyPlaceholderItem
|
||||
import org.schabi.newpipe.local.subscription.item.FeedGroupAddItem
|
||||
import org.schabi.newpipe.local.subscription.item.FeedGroupCardItem
|
||||
import org.schabi.newpipe.local.subscription.item.FeedGroupCarouselItem
|
||||
import org.schabi.newpipe.local.subscription.item.FeedImportExportItem
|
||||
import org.schabi.newpipe.local.subscription.item.HeaderWithMenuItem
|
||||
import org.schabi.newpipe.local.subscription.item.HeaderWithMenuItem.Companion.PAYLOAD_UPDATE_VISIBILITY_MENU_ITEM
|
||||
import org.schabi.newpipe.local.subscription.services.SubscriptionsExportService
|
||||
import org.schabi.newpipe.local.subscription.services.SubscriptionsExportService.EXPORT_COMPLETE_ACTION
|
||||
import org.schabi.newpipe.local.subscription.services.SubscriptionsImportService
|
||||
import org.schabi.newpipe.local.subscription.services.SubscriptionsImportService.IMPORT_COMPLETE_ACTION
|
||||
import org.schabi.newpipe.local.subscription.services.SubscriptionsImportService.KEY_MODE
|
||||
import org.schabi.newpipe.local.subscription.services.SubscriptionsImportService.KEY_VALUE
|
||||
import org.schabi.newpipe.local.subscription.services.SubscriptionsImportService.PREVIOUS_EXPORT_MODE
|
||||
@@ -59,6 +57,7 @@ import org.schabi.newpipe.streams.io.NoFileManagerSafeGuard
|
||||
import org.schabi.newpipe.streams.io.StoredFileHelper
|
||||
import org.schabi.newpipe.util.NavigationHelper
|
||||
import org.schabi.newpipe.util.OnClickGesture
|
||||
import org.schabi.newpipe.util.ServiceHelper
|
||||
import org.schabi.newpipe.util.ThemeHelper.getGridSpanCountChannels
|
||||
import org.schabi.newpipe.util.ThemeHelper.shouldUseGridLayout
|
||||
import org.schabi.newpipe.util.external_communication.ShareUtils
|
||||
@@ -74,12 +73,9 @@ class SubscriptionFragment : BaseStateFragment<SubscriptionState>() {
|
||||
private lateinit var subscriptionManager: SubscriptionManager
|
||||
private val disposables: CompositeDisposable = CompositeDisposable()
|
||||
|
||||
private var subscriptionBroadcastReceiver: BroadcastReceiver? = null
|
||||
|
||||
private val groupAdapter = GroupAdapter<GroupieViewHolder<FeedItemCarouselBinding>>()
|
||||
private val feedGroupsSection = Section()
|
||||
private var feedGroupsCarousel: FeedGroupCarouselItem? = null
|
||||
private lateinit var importExportItem: FeedImportExportItem
|
||||
private lateinit var feedGroupsSortMenuItem: HeaderWithMenuItem
|
||||
private val subscriptionsSection = Section()
|
||||
|
||||
@@ -91,12 +87,10 @@ class SubscriptionFragment : BaseStateFragment<SubscriptionState>() {
|
||||
@State
|
||||
@JvmField
|
||||
var itemsListState: Parcelable? = null
|
||||
|
||||
@State
|
||||
@JvmField
|
||||
var feedGroupsListState: Parcelable? = null
|
||||
@State
|
||||
@JvmField
|
||||
var importExportItemExpandedState: Boolean? = null
|
||||
|
||||
init {
|
||||
setHasOptionsMenu(true)
|
||||
@@ -120,20 +114,10 @@ class SubscriptionFragment : BaseStateFragment<SubscriptionState>() {
|
||||
return inflater.inflate(R.layout.fragment_subscription, container, false)
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
setupBroadcastReceiver()
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
super.onPause()
|
||||
itemsListState = binding.itemsList.layoutManager?.onSaveInstanceState()
|
||||
feedGroupsListState = feedGroupsCarousel?.onSaveInstanceState()
|
||||
importExportItemExpandedState = importExportItem.isExpanded
|
||||
|
||||
if (subscriptionBroadcastReceiver != null && activity != null) {
|
||||
LocalBroadcastManager.getInstance(activity).unregisterReceiver(subscriptionBroadcastReceiver!!)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
@@ -150,28 +134,61 @@ class SubscriptionFragment : BaseStateFragment<SubscriptionState>() {
|
||||
|
||||
activity.supportActionBar?.setDisplayShowTitleEnabled(true)
|
||||
activity.supportActionBar?.setTitle(R.string.tab_subscriptions)
|
||||
|
||||
buildImportExportMenu(menu)
|
||||
}
|
||||
|
||||
private fun setupBroadcastReceiver() {
|
||||
if (activity == null) return
|
||||
private fun buildImportExportMenu(menu: Menu) {
|
||||
// -- Import --
|
||||
val importSubMenu = menu.addSubMenu(R.string.import_from)
|
||||
|
||||
if (subscriptionBroadcastReceiver != null) {
|
||||
LocalBroadcastManager.getInstance(activity).unregisterReceiver(subscriptionBroadcastReceiver!!)
|
||||
}
|
||||
addMenuItemToSubmenu(importSubMenu, R.string.previous_export) { onImportPreviousSelected() }
|
||||
.setIcon(R.drawable.ic_backup)
|
||||
|
||||
val filters = IntentFilter()
|
||||
filters.addAction(EXPORT_COMPLETE_ACTION)
|
||||
filters.addAction(IMPORT_COMPLETE_ACTION)
|
||||
subscriptionBroadcastReceiver = object : BroadcastReceiver() {
|
||||
override fun onReceive(context: Context, intent: Intent) {
|
||||
_binding?.itemsList?.post {
|
||||
importExportItem.isExpanded = false
|
||||
importExportItem.notifyChanged(FeedImportExportItem.REFRESH_EXPANDED_STATUS)
|
||||
}
|
||||
for (service in ServiceList.all()) {
|
||||
val subscriptionExtractor = service.subscriptionExtractor ?: continue
|
||||
|
||||
val supportedSources = subscriptionExtractor.supportedSources
|
||||
if (supportedSources.isEmpty()) continue
|
||||
|
||||
addMenuItemToSubmenu(importSubMenu, service.serviceInfo.name) {
|
||||
onImportFromServiceSelected(service.serviceId)
|
||||
}
|
||||
.setIcon(ServiceHelper.getIcon(service.serviceId))
|
||||
}
|
||||
|
||||
LocalBroadcastManager.getInstance(activity).registerReceiver(subscriptionBroadcastReceiver!!, filters)
|
||||
// -- Export --
|
||||
val exportSubMenu = menu.addSubMenu(R.string.export_to)
|
||||
|
||||
addMenuItemToSubmenu(exportSubMenu, R.string.file) { onExportSelected() }
|
||||
.setIcon(R.drawable.ic_save)
|
||||
}
|
||||
|
||||
private fun addMenuItemToSubmenu(
|
||||
subMenu: SubMenu,
|
||||
@StringRes title: Int,
|
||||
onClick: Runnable
|
||||
): MenuItem {
|
||||
return setClickListenerToMenuItem(subMenu.add(title), onClick)
|
||||
}
|
||||
|
||||
private fun addMenuItemToSubmenu(
|
||||
subMenu: SubMenu,
|
||||
title: String,
|
||||
onClick: Runnable
|
||||
): MenuItem {
|
||||
return setClickListenerToMenuItem(subMenu.add(title), onClick)
|
||||
}
|
||||
|
||||
private fun setClickListenerToMenuItem(
|
||||
menuItem: MenuItem,
|
||||
onClick: Runnable
|
||||
): MenuItem {
|
||||
menuItem.setOnMenuItemClickListener { _ ->
|
||||
onClick.run()
|
||||
true
|
||||
}
|
||||
return menuItem
|
||||
}
|
||||
|
||||
private fun onImportFromServiceSelected(serviceId: Int) {
|
||||
@@ -263,13 +280,14 @@ class SubscriptionFragment : BaseStateFragment<SubscriptionState>() {
|
||||
subscriptionsSection.setPlaceholder(EmptyPlaceholderItem())
|
||||
subscriptionsSection.setHideWhenEmpty(true)
|
||||
|
||||
importExportItem = FeedImportExportItem(
|
||||
{ onImportPreviousSelected() },
|
||||
{ onImportFromServiceSelected(it) },
|
||||
{ onExportSelected() },
|
||||
importExportItemExpandedState ?: false
|
||||
groupAdapter.add(
|
||||
Section(
|
||||
HeaderWithMenuItem(
|
||||
getString(R.string.tab_subscriptions)
|
||||
),
|
||||
listOf(subscriptionsSection)
|
||||
)
|
||||
)
|
||||
groupAdapter.add(Section(importExportItem, listOf(subscriptionsSection)))
|
||||
}
|
||||
|
||||
override fun initViews(rootView: View, savedInstanceState: Bundle?) {
|
||||
@@ -371,13 +389,6 @@ class SubscriptionFragment : BaseStateFragment<SubscriptionState>() {
|
||||
subscriptionsSection.update(result.subscriptions)
|
||||
subscriptionsSection.setHideWhenEmpty(false)
|
||||
|
||||
if (result.subscriptions.isEmpty() && importExportItemExpandedState == null) {
|
||||
binding.itemsList.post {
|
||||
importExportItem.isExpanded = true
|
||||
importExportItem.notifyChanged(FeedImportExportItem.REFRESH_EXPANDED_STATUS)
|
||||
}
|
||||
}
|
||||
|
||||
if (itemsListState != null) {
|
||||
binding.itemsList.layoutManager?.onRestoreInstanceState(itemsListState)
|
||||
itemsListState = null
|
||||
|
||||
@@ -1,122 +0,0 @@
|
||||
package org.schabi.newpipe.local.subscription.item
|
||||
|
||||
import android.graphics.Color
|
||||
import android.graphics.PorterDuff
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.ImageView
|
||||
import android.widget.TextView
|
||||
import androidx.annotation.DrawableRes
|
||||
import com.xwray.groupie.viewbinding.BindableItem
|
||||
import com.xwray.groupie.viewbinding.GroupieViewHolder
|
||||
import org.schabi.newpipe.R
|
||||
import org.schabi.newpipe.databinding.FeedImportExportGroupBinding
|
||||
import org.schabi.newpipe.extractor.NewPipe
|
||||
import org.schabi.newpipe.extractor.exceptions.ExtractionException
|
||||
import org.schabi.newpipe.ktx.animateRotation
|
||||
import org.schabi.newpipe.util.ServiceHelper
|
||||
import org.schabi.newpipe.util.ThemeHelper
|
||||
import org.schabi.newpipe.views.CollapsibleView
|
||||
|
||||
class FeedImportExportItem(
|
||||
val onImportPreviousSelected: () -> Unit,
|
||||
val onImportFromServiceSelected: (Int) -> Unit,
|
||||
val onExportSelected: () -> Unit,
|
||||
var isExpanded: Boolean = false
|
||||
) : BindableItem<FeedImportExportGroupBinding>() {
|
||||
companion object {
|
||||
const val REFRESH_EXPANDED_STATUS = 123
|
||||
}
|
||||
|
||||
override fun bind(viewBinding: FeedImportExportGroupBinding, position: Int, payloads: MutableList<Any>) {
|
||||
if (payloads.contains(REFRESH_EXPANDED_STATUS)) {
|
||||
viewBinding.importExportOptions.apply { if (isExpanded) expand() else collapse() }
|
||||
return
|
||||
}
|
||||
|
||||
super.bind(viewBinding, position, payloads)
|
||||
}
|
||||
|
||||
override fun getLayout(): Int = R.layout.feed_import_export_group
|
||||
|
||||
override fun bind(viewBinding: FeedImportExportGroupBinding, position: Int) {
|
||||
if (viewBinding.importFromOptions.childCount == 0) setupImportFromItems(viewBinding.importFromOptions)
|
||||
if (viewBinding.exportToOptions.childCount == 0) setupExportToItems(viewBinding.exportToOptions)
|
||||
|
||||
expandIconListener?.let { viewBinding.importExportOptions.removeListener(it) }
|
||||
expandIconListener = CollapsibleView.StateListener { newState ->
|
||||
viewBinding.importExportExpandIcon.animateRotation(
|
||||
250, if (newState == CollapsibleView.COLLAPSED) 0 else 180
|
||||
)
|
||||
}
|
||||
|
||||
viewBinding.importExportOptions.currentState = if (isExpanded) CollapsibleView.EXPANDED else CollapsibleView.COLLAPSED
|
||||
viewBinding.importExportExpandIcon.rotation = if (isExpanded) 180F else 0F
|
||||
viewBinding.importExportOptions.ready()
|
||||
|
||||
viewBinding.importExportOptions.addListener(expandIconListener)
|
||||
viewBinding.importExport.setOnClickListener {
|
||||
viewBinding.importExportOptions.switchState()
|
||||
isExpanded = viewBinding.importExportOptions.currentState == CollapsibleView.EXPANDED
|
||||
}
|
||||
}
|
||||
|
||||
override fun unbind(viewHolder: GroupieViewHolder<FeedImportExportGroupBinding>) {
|
||||
super.unbind(viewHolder)
|
||||
expandIconListener?.let { viewHolder.binding.importExportOptions.removeListener(it) }
|
||||
expandIconListener = null
|
||||
}
|
||||
|
||||
override fun initializeViewBinding(view: View) = FeedImportExportGroupBinding.bind(view)
|
||||
|
||||
private var expandIconListener: CollapsibleView.StateListener? = null
|
||||
|
||||
private fun addItemView(title: String, @DrawableRes icon: Int, container: ViewGroup): View {
|
||||
val itemRoot = View.inflate(container.context, R.layout.subscription_import_export_item, null)
|
||||
val titleView = itemRoot.findViewById<TextView>(android.R.id.text1)
|
||||
val iconView = itemRoot.findViewById<ImageView>(android.R.id.icon1)
|
||||
|
||||
titleView.text = title
|
||||
iconView.setImageResource(icon)
|
||||
|
||||
container.addView(itemRoot)
|
||||
return itemRoot
|
||||
}
|
||||
|
||||
private fun setupImportFromItems(listHolder: ViewGroup) {
|
||||
val previousBackupItem = addItemView(
|
||||
listHolder.context.getString(R.string.previous_export),
|
||||
R.drawable.ic_backup, listHolder
|
||||
)
|
||||
previousBackupItem.setOnClickListener { onImportPreviousSelected() }
|
||||
|
||||
val iconColor = if (ThemeHelper.isLightThemeSelected(listHolder.context)) Color.BLACK else Color.WHITE
|
||||
val services = listHolder.context.resources.getStringArray(R.array.service_list)
|
||||
for (serviceName in services) {
|
||||
try {
|
||||
val service = NewPipe.getService(serviceName)
|
||||
|
||||
val subscriptionExtractor = service.subscriptionExtractor ?: continue
|
||||
|
||||
val supportedSources = subscriptionExtractor.supportedSources
|
||||
if (supportedSources.isEmpty()) continue
|
||||
|
||||
val itemView = addItemView(serviceName, ServiceHelper.getIcon(service.serviceId), listHolder)
|
||||
val iconView = itemView.findViewById<ImageView>(android.R.id.icon1)
|
||||
iconView.setColorFilter(iconColor, PorterDuff.Mode.SRC_IN)
|
||||
|
||||
itemView.setOnClickListener { onImportFromServiceSelected(service.serviceId) }
|
||||
} catch (e: ExtractionException) {
|
||||
throw RuntimeException("Services array contains an entry that it's not a valid service name ($serviceName)", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun setupExportToItems(listHolder: ViewGroup) {
|
||||
val previousBackupItem = addItemView(
|
||||
listHolder.context.getString(R.string.file),
|
||||
R.drawable.ic_save, listHolder
|
||||
)
|
||||
previousBackupItem.setOnClickListener { onExportSelected() }
|
||||
}
|
||||
}
|
||||
@@ -207,7 +207,7 @@ public class PeertubeInstanceListFragment extends Fragment {
|
||||
|
||||
new AlertDialog.Builder(c)
|
||||
.setTitle(R.string.peertube_instance_add_title)
|
||||
.setIcon(R.drawable.place_holder_peertube)
|
||||
.setIcon(R.drawable.ic_placeholder_peertube)
|
||||
.setView(dialogBinding.getRoot())
|
||||
.setNegativeButton(R.string.cancel, null)
|
||||
.setPositiveButton(R.string.ok, (dialog1, which) -> {
|
||||
@@ -411,7 +411,7 @@ public class PeertubeInstanceListFragment extends Fragment {
|
||||
lastChecked = instanceRB;
|
||||
}
|
||||
});
|
||||
instanceIconView.setImageResource(R.drawable.place_holder_peertube);
|
||||
instanceIconView.setImageResource(R.drawable.ic_placeholder_peertube);
|
||||
}
|
||||
|
||||
@SuppressLint("ClickableViewAccessibility")
|
||||
|
||||
@@ -31,17 +31,17 @@ public final class ServiceHelper {
|
||||
public static int getIcon(final int serviceId) {
|
||||
switch (serviceId) {
|
||||
case 0:
|
||||
return R.drawable.place_holder_youtube;
|
||||
return R.drawable.ic_smart_display;
|
||||
case 1:
|
||||
return R.drawable.place_holder_cloud;
|
||||
return R.drawable.ic_cloud;
|
||||
case 2:
|
||||
return R.drawable.place_holder_gadse;
|
||||
return R.drawable.ic_placeholder_media_ccc;
|
||||
case 3:
|
||||
return R.drawable.place_holder_peertube;
|
||||
return R.drawable.ic_placeholder_peertube;
|
||||
case 4:
|
||||
return R.drawable.place_holder_bandcamp;
|
||||
return R.drawable.ic_placeholder_bandcamp;
|
||||
default:
|
||||
return R.drawable.place_holder_circle;
|
||||
return R.drawable.ic_circle;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 8.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 8.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportHeight="24"
|
||||
android:viewportWidth="24"
|
||||
android:tint="@color/defaultIconTint" >
|
||||
<path
|
||||
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10s10,-4.49 10,-10S17.52,2 12,2L12,2z"
|
||||
android:fillColor="#FF000000" />
|
||||
</vector>
|
||||
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="@color/defaultIconTint">
|
||||
<path
|
||||
android:pathData="M19.35,10.04C18.67,6.59 15.64,4 12,4 9.11,4 6.6,5.64 5.35,8.04 2.34,8.36 0,10.91 0,14c0,3.31 2.69,6 6,6h13c2.76,0 5,-2.24 5,-5 0,-2.64 -2.05,-4.78 -4.65,-4.96z"
|
||||
android:fillColor="#FF000000" />
|
||||
</vector>
|
||||
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportHeight="97.75"
|
||||
android:viewportWidth="97.75"
|
||||
android:tint="@color/defaultIconTint">
|
||||
<path
|
||||
android:pathData="M48.875,0C21.882,0 0,21.882 0,48.875S21.882,97.75 48.875,97.75 97.75,75.868 97.75,48.875 75.868,0 48.875,0zM64.835,70.857L12.593,70.857l20.32,-43.965h52.244L64.835,70.857z"
|
||||
android:fillColor="#FF000000" />
|
||||
</vector>
|
||||
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="26.458319"
|
||||
android:viewportHeight="26.458332"
|
||||
android:tint="@color/defaultIconTint">
|
||||
<path
|
||||
android:pathData="M13.23,0.302C6.07,0.302 0.264,6.107 0.264,13.267a12.965,12.965 0,0 0,0.847 4.595c0.19,-0.497 0.408,-0.982 0.682,-1.438 0.14,-0.232 0.294,-0.457 0.396,-0.707 0.103,-0.25 0.15,-0.533 0.072,-0.792a1.362,1.362 0,0 0,-0.22 -0.404c-0.092,-0.123 -0.192,-0.24 -0.275,-0.37a1.662,1.662 0,0 1,-0.255 -1.12,1.5 1.5,0 0,1 0.58,-0.987c0.28,-0.208 0.635,-0.3 0.985,-0.288a1.757,1.757 0,0 1,0.346 0.048c0.452,0.11 0.852,0.393 1.148,0.75 0.368,0.447 0.584,1.01 0.637,1.586a3.574,3.574 0,0 1,-0.275 1.693c-0.4,0.955 -1.15,1.725 -1.565,2.673 -0.338,0.775 -0.435,1.638 -0.39,2.483 0.007,0.077 0.018,0.155 0.025,0.234a12.965,12.965 0,0 0,3.62 3.18,17.63 17.63,0 0,1 -0.13,-2.11c0.002,-0.56 0.03,-1.12 0.085,-1.675 -0.34,-0.236 -0.65,-0.51 -0.87,-0.86 -0.392,-0.62 -0.466,-1.408 -0.305,-2.124 0.16,-0.717 0.54,-1.37 0.997,-1.945a7.833,7.833 0,0 1,2.835 -2.223,10.305 10.305,0 0,1 -0.09,-0.126 4.854,4.854 0,0 1,-0.702 -2.176c-0.06,-0.777 0.064,-1.554 0.115,-2.33 0.037,-0.543 0.04,-1.085 0.07,-1.627 0.038,-0.627 0.114,-1.255 0.29,-1.858a2.36,2.36 0,0 1,0.266 -0.63,1.4 1.4,0 0,1 0.594,-0.514c0.274,-0.108 0.51,-0.132 0.776,-0.087 0.22,0.046 0.425,0.156 0.604,0.294 0.18,0.138 0.335,0.304 0.48,0.477a7.298,7.298 0,0 1,1.04 1.617,3.57 3.57,0 0,1 1.09,0 7.287,7.287 0,0 1,1.04 -1.616,3.21 3.21,0 0,1 0.48,-0.476c0.18,-0.14 0.383,-0.248 0.604,-0.295a1.268,1.268 0,0 1,0.78 0.086,1.402 1.402,0 0,1 0.595,0.517c0.124,0.19 0.202,0.408 0.266,0.626 0.175,0.602 0.252,1.23 0.29,1.856 0.03,0.543 0.033,1.087 0.07,1.628 0.05,0.777 0.175,1.554 0.116,2.33a4.855,4.855 0,0 1,-0.705 2.178c-0.03,0.05 -0.07,0.096 -0.103,0.145 0.247,0.278 0.598,0.513 0.898,0.614a1.956,1.956 0,0 0,1.05 0.044,1.65 1.65,0 0,0 0.533,-0.226 1.253,1.253 0,0 0,0.397 -0.418c0.118,-0.21 0.166,-0.45 0.192,-0.687 0.067,-0.61 0,-1.224 -0.05,-1.835 -0.034,-0.396 -0.062,-0.8 0.027,-1.187 0.06,-0.26 0.177,-0.518 0.373,-0.7a1.106,1.106 0,0 1,0.465 -0.255,1.312 1.312,0 0,1 0.53,-0.03c0.38,0.057 0.736,0.274 0.948,0.594 0.12,0.18 0.194,0.39 0.238,0.604 0.044,0.213 0.06,0.43 0.072,0.648 0.04,0.76 0.04,1.522 0.018,2.284 -0.018,0.665 -0.055,1.348 -0.32,1.957 -0.343,0.782 -1.032,1.366 -1.775,1.786a7.052,7.052 0,0 1,-1.588 0.647c0.482,1.54 0.733,3.24 0.733,4.968a17.6,17.6 0,0 1,-0.135 2.125,12.964 12.964,0 0,0 6.384,-11.152c0,-7.16 -5.806,-12.965 -12.965,-12.965zM9.602,16.284v1.483a1.88,1.88 0,0 1,1.083 0.362,1.738 1.738,0 0,1 0.556,0.68c0.122,0.27 0.166,0.576 0.116,0.868a1.493,1.493 0,0 1,-0.332 0.708,1.647 1.647,0 0,1 -0.635,0.458 1.738,1.738 0,0 1,-0.787 0.122v3.73l7.762,-4.208 -7.762,-4.204z"
|
||||
android:fillColor="#FF000000" />
|
||||
</vector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="400"
|
||||
android:viewportHeight="400">
|
||||
<path android:fillColor="#747474" android:fillType="evenOdd" android:pathData="m62.497,198.29 l-1.302,0.161 0.102,90.941c0.057,50.018 0.228,91.066 0.38,91.218 0.3,0.3 2.723,-0.642 2.723,-1.059 0,-0.14 0.54,-0.478 1.2,-0.751 0.66,-0.273 1.2,-0.655 1.2,-0.849 0,-0.193 0.36,-0.351 0.8,-0.351 0.44,0 0.8,-0.18 0.8,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.193,-0.4 0.428,-0.4s1.213,-0.54 2.172,-1.2c0.959,-0.66 1.924,-1.2 2.143,-1.2 0.22,0 0.643,-0.225 0.941,-0.5 0.742,-0.686 2.767,-1.902 3.616,-2.171 0.385,-0.122 0.7,-0.381 0.7,-0.576 0,-0.194 0.27,-0.353 0.6,-0.353 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.159 0.6,-0.353 0,-0.195 0.315,-0.454 0.7,-0.576 0.687,-0.217 2.906,-1.476 3.3,-1.872 0.11,-0.11 0.692,-0.454 1.293,-0.764 0.602,-0.309 1.449,-0.894 1.884,-1.299 0.434,-0.405 0.985,-0.736 1.223,-0.736 0.238,0 0.82,-0.36 1.292,-0.8 0.472,-0.44 1.095,-0.8 1.383,-0.8 0.289,0 0.525,-0.18 0.525,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.136 0.6,-0.302 0,-0.167 0.585,-0.557 1.3,-0.868 0.715,-0.311 1.39,-0.67 1.5,-0.798 0.248,-0.287 2.057,-1.322 4.3,-2.459 0.935,-0.473 1.7,-1.021 1.7,-1.217 0,-0.196 0.255,-0.356 0.567,-0.356 0.311,0 0.626,-0.167 0.7,-0.37 0.073,-0.204 0.403,-0.429 0.733,-0.5 0.33,-0.072 0.87,-0.405 1.2,-0.741 0.33,-0.336 1.455,-1.055 2.5,-1.599s1.9,-1.124 1.9,-1.289c0,-0.166 0.36,-0.301 0.8,-0.301 0.44,0 0.8,-0.18 0.8,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.881,-0.315 1.317,-0.7 1.005,-0.888 2.949,-2.083 3.858,-2.371 0.385,-0.122 0.7,-0.381 0.7,-0.576 0,-0.194 0.36,-0.353 0.8,-0.353 0.44,0 0.8,-0.158 0.8,-0.351 0,-0.194 0.555,-0.582 1.234,-0.863 0.679,-0.281 1.444,-0.708 1.7,-0.949 0.256,-0.24 1.276,-0.878 2.266,-1.417s2.149,-1.304 2.575,-1.7c0.427,-0.396 1.012,-0.72 1.3,-0.72 0.289,0 0.525,-0.136 0.525,-0.302 0,-0.167 0.585,-0.562 1.3,-0.878 0.715,-0.317 1.649,-0.9 2.075,-1.298 0.427,-0.397 1.012,-0.722 1.3,-0.722 0.289,0 0.525,-0.168 0.525,-0.373s0.359,-0.487 0.798,-0.626c0.438,-0.139 1.023,-0.468 1.3,-0.729 0.276,-0.262 1.357,-0.909 2.402,-1.437 1.045,-0.529 1.9,-1.112 1.9,-1.298 0,-0.185 0.294,-0.337 0.653,-0.337 0.359,0 0.944,-0.324 1.3,-0.72 0.356,-0.397 1.314,-1.031 2.13,-1.411 0.816,-0.38 1.582,-0.85 1.702,-1.045 0.121,-0.195 1.073,-0.766 2.117,-1.269 1.044,-0.502 2.124,-1.136 2.4,-1.408 0.277,-0.272 0.862,-0.609 1.3,-0.748 0.439,-0.139 0.798,-0.421 0.798,-0.626 0,-0.205 0.36,-0.373 0.8,-0.373 0.44,0 0.8,-0.151 0.8,-0.336 0,-0.184 0.405,-0.546 0.9,-0.802 0.495,-0.257 1.62,-0.92 2.5,-1.473 0.88,-0.553 1.87,-1.124 2.2,-1.268 0.33,-0.145 0.69,-0.366 0.8,-0.492 0.358,-0.41 2.57,-1.826 3.8,-2.432 0.66,-0.325 1.491,-0.908 1.847,-1.294 0.356,-0.387 0.941,-0.703 1.3,-0.703 0.359,0 0.653,-0.18 0.653,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.136,-0.8 1.475,-0.8 0.339,0 0.617,-0.168 0.617,-0.373s0.359,-0.487 0.798,-0.626c0.438,-0.139 1.032,-0.467 1.319,-0.727 0.287,-0.261 1.323,-0.9 2.302,-1.42 2.232,-1.186 6.137,-3.755 6.314,-4.154 0.074,-0.165 0.479,-0.3 0.9,-0.3 0.422,0 0.767,-0.18 0.767,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.136,-0.8 1.475,-0.8 0.339,0 0.617,-0.142 0.617,-0.315 0,-0.174 1.035,-0.937 2.3,-1.697 1.265,-0.759 2.36,-1.517 2.433,-1.684 0.074,-0.167 0.479,-0.304 0.9,-0.304 0.422,0 0.767,-0.18 0.767,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.603,-0.135 0.606,-0.3 0.004,-0.165 0.904,-0.74 2,-1.279 2.097,-1.029 2.38,-1.387 1.394,-1.766 -0.33,-0.126 -0.6,-0.495 -0.6,-0.82 0,-0.324 -0.54,-0.909 -1.2,-1.299 -0.66,-0.39 -1.2,-0.85 -1.2,-1.022 0,-0.173 -0.19,-0.314 -0.422,-0.314 -0.232,0 -1.482,-0.72 -2.778,-1.6 -1.296,-0.88 -2.463,-1.6 -2.594,-1.6 -0.247,0 -2.653,-1.624 -3.006,-2.029 -0.11,-0.126 -0.47,-0.347 -0.8,-0.492 -0.33,-0.144 -1.32,-0.706 -2.2,-1.249 -3.131,-1.933 -5.106,-3.03 -5.45,-3.03 -0.193,0 -0.35,-0.18 -0.35,-0.4 0,-0.22 -0.27,-0.4 -0.6,-0.4 -0.33,0 -0.6,-0.159 -0.6,-0.353 0,-0.195 -0.315,-0.454 -0.7,-0.576 -0.843,-0.267 -2.872,-1.483 -3.606,-2.161 -0.292,-0.27 -1.198,-0.804 -2.013,-1.187 -0.814,-0.383 -1.83,-1.018 -2.256,-1.41 -0.427,-0.392 -1.012,-0.713 -1.3,-0.713 -0.289,0 -0.525,-0.158 -0.525,-0.351 0,-0.194 -0.54,-0.576 -1.2,-0.849 -0.66,-0.273 -1.2,-0.655 -1.2,-0.849 0,-0.193 -0.36,-0.351 -0.8,-0.351 -0.44,0 -0.8,-0.139 -0.8,-0.308 0,-0.17 -0.81,-0.751 -1.8,-1.292s-1.8,-1.122 -1.8,-1.292c0,-0.169 -0.194,-0.308 -0.432,-0.308s-1.363,-0.615 -2.5,-1.367 -2.563,-1.591 -3.168,-1.865c-0.605,-0.273 -1.1,-0.648 -1.1,-0.832 0,-0.185 -0.345,-0.336 -0.767,-0.336 -0.421,0 -0.826,-0.135 -0.9,-0.3 -0.167,-0.376 -2.297,-1.675 -3.233,-1.971 -0.385,-0.122 -0.7,-0.381 -0.7,-0.576 0,-0.194 -0.Line truncated
|
||||
<path android:fillColor="#241c24" android:fillType="evenOdd" android:pathData="M61.443,15.833c-0.134,0.348 -0.243,41.384 -0.243,91.192v90.56l0.9,0.183c2.602,0.53 3.145,0.527 2.936,-0.019 -0.13,-0.339 0.062,-0.549 0.501,-0.549 0.392,0 1.099,-0.36 1.571,-0.8 0.472,-0.44 1.124,-0.8 1.448,-0.8 0.325,0 0.704,-0.36 0.844,-0.8 0.162,-0.511 0.605,-0.8 1.227,-0.8 0.535,0 0.973,-0.18 0.973,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.251,-0.4 0.557,-0.4 0.307,0 0.648,-0.236 0.759,-0.524 0.11,-0.289 0.939,-0.746 1.842,-1.016 0.903,-0.271 1.642,-0.665 1.642,-0.876 0,-0.211 0.276,-0.384 0.613,-0.384 0.336,0 0.715,-0.269 0.841,-0.598 0.127,-0.328 0.391,-0.498 0.588,-0.376 0.197,0.122 0.358,0.031 0.358,-0.202s0.371,-0.424 0.824,-0.424c0.453,0 0.712,-0.18 0.576,-0.4 -0.136,-0.22 0.089,-0.4 0.501,-0.4 0.411,0 1.135,-0.36 1.607,-0.8 0.472,-0.44 1.136,-0.8 1.475,-0.8 0.339,0 0.617,-0.15 0.617,-0.332 0,-0.183 0.495,-0.588 1.1,-0.9 0.605,-0.313 1.335,-0.883 1.623,-1.268 0.287,-0.385 0.872,-0.7 1.3,-0.7 0.427,0 0.777,-0.18 0.777,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.32,-0.4 0.712,-0.4 0.391,0 0.971,-0.36 1.288,-0.8 0.317,-0.44 0.897,-0.8 1.288,-0.8 0.392,0 0.712,-0.18 0.712,-0.4 0,-0.22 0.225,-0.4 0.5,-0.4 0.275,-0.001 1.018,-0.447 1.652,-0.992 0.634,-0.545 1.276,-0.914 1.427,-0.821 0.152,0.094 0.528,-0.18 0.836,-0.608 0.309,-0.429 0.779,-0.779 1.045,-0.779 0.715,0 5.34,-2.832 5.34,-3.27 0,-0.208 0.165,-0.275 0.368,-0.15 0.202,0.125 0.639,-0.044 0.971,-0.376 0.332,-0.332 0.897,-0.604 1.256,-0.604s0.541,-0.18 0.405,-0.4c-0.136,-0.22 0.033,-0.4 0.376,-0.4 0.343,0 0.624,-0.18 0.624,-0.4 0,-0.22 0.36,-0.4 0.8,-0.4 0.44,0 0.8,-0.18 0.8,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.093,-0.8 1.379,-0.8 0.286,0 0.745,-0.36 1.02,-0.8 0.275,-0.44 0.869,-0.8 1.32,-0.8 0.451,0 0.709,-0.18 0.573,-0.4 -0.136,-0.22 0.078,-0.4 0.476,-0.4 0.398,-0.001 1.242,-0.447 1.876,-0.992 0.634,-0.545 1.29,-0.906 1.458,-0.802 0.169,0.104 0.414,-0.091 0.545,-0.434 0.132,-0.342 0.388,-0.531 0.569,-0.419 0.182,0.112 0.583,-0.146 0.891,-0.574 0.309,-0.429 0.842,-0.779 1.185,-0.779 0.343,0 0.883,-0.36 1.2,-0.8 0.317,-0.44 0.897,-0.8 1.288,-0.8 0.392,0 0.712,-0.18 0.712,-0.4 0,-0.22 0.349,-0.4 0.776,-0.4 0.427,0 0.881,-0.169 1.008,-0.375 0.128,-0.206 0.723,-0.631 1.324,-0.945 2.777,-1.451 3.262,-1.776 3.019,-2.019 -0.143,-0.144 0.096,-0.261 0.531,-0.261 0.435,0 1.14,-0.315 1.567,-0.7 0.426,-0.385 1.315,-0.97 1.975,-1.3 0.66,-0.33 1.549,-0.915 1.975,-1.3 0.427,-0.385 1.012,-0.7 1.3,-0.7 0.289,0 0.525,-0.18 0.525,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.147,-0.8 1.499,-0.8 0.352,0 0.529,-0.18 0.393,-0.4 -0.136,-0.22 0.033,-0.4 0.376,-0.4 0.343,0 0.624,-0.18 0.624,-0.4 0,-0.22 0.36,-0.4 0.8,-0.4 0.44,0 0.8,-0.18 0.8,-0.4 0,-0.22 0.32,-0.4 0.712,-0.4 0.391,0 0.971,-0.36 1.288,-0.8 0.317,-0.44 0.897,-0.8 1.288,-0.8 0.392,0 0.712,-0.18 0.712,-0.4 0,-0.22 0.281,-0.4 0.624,-0.4 0.343,0 0.512,-0.18 0.376,-0.4 -0.136,-0.22 0.123,-0.4 0.576,-0.4 0.453,0 0.824,-0.168 0.824,-0.373s0.375,-0.492 0.834,-0.638c1.035,-0.328 4.918,-2.681 5.099,-3.089 0.074,-0.165 0.396,-0.3 0.717,-0.3 0.321,0 0.97,-0.36 1.442,-0.8 0.472,-0.44 1.095,-0.8 1.383,-0.8 0.289,0 0.525,-0.18 0.525,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.117,-0.8 1.432,-0.8 0.316,0 0.682,-0.281 0.814,-0.625 0.132,-0.344 0.394,-0.531 0.583,-0.414 0.188,0.116 0.684,-0.097 1.102,-0.475 0.419,-0.377 1.25,-0.938 1.847,-1.246 0.598,-0.308 0.975,-0.741 0.839,-0.962 -0.137,-0.221 -0.052,-0.28 0.187,-0.132 0.24,0.148 0.89,-0.184 1.444,-0.738 0.554,-0.555 1.286,-1.008 1.626,-1.008 0.34,0 0.618,-0.18 0.618,-0.4 0,-0.22 0.36,-0.4 0.8,-0.4 0.44,0 0.8,-0.18 0.8,-0.4 0,-0.22 0.32,-0.4 0.712,-0.4 0.391,0 0.971,-0.36 1.288,-0.8 0.317,-0.44 0.897,-0.8 1.288,-0.8 0.392,0 0.712,-0.16 0.712,-0.357 0,-0.196 0.409,-0.459 0.908,-0.584 0.499,-0.125 1.309,-0.602 1.8,-1.059 0.491,-0.457 0.892,-0.706 0.892,-0.554 0,0.153 0.315,0.017 0.7,-0.301 0.385,-0.319 1.192,-0.826 1.793,-1.126 0.602,-0.301 1.449,-0.878 1.884,-1.283 0.434,-0.405 1.078,-0.736 1.43,-0.736 0.352,0 0.529,-0.18 0.393,-0.4 -0.136,-0.22 0.033,-0.4 0.376,-0.4 0.343,0 0.624,-0.18 0.624,-0.4 0,-0.22 0.36,-0.4 0.8,-0.4 0.44,0 0.8,-0.18 0.8,-0.4 0,-0.22 0.272,-0.4 0.604,-0.4 0.332,0 1.168,-0.54 1.859,-1.2 0.691,-0.66 1.555,-1.2 1.921,-1.2 0.366,0 1.052,-0.36 1.524,-0.8 0.472,-0.44 1.124,-0.8 1.448,-0.8 0.325,0 0.704,-0.36 0.844,-0.8 0.162,-0.511 0.605,-0.8 1.227,-0.8 0.535,0 0.973,-0.18 0.973,-0.4 0,-0.22 0.198,-0.4 0.44,-0.4 0.614,0 2.76,-2.365 2.76,-3.042 0,-0.307 0.27,-0.558 0.6,-0.558 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 -0.326,-0.4 -0.725,-0.4 -0.398,0 -1.111,-0.36 -1.583,-0.8 -0.472,-0.44 -1.147,-0.8 -1.499,-0.8 -0.352,0 -0.529,-0.18 -0.393,-0.4 0.136,-0.22 -0.018,-0.4 -0.343,-0.4s-0.653,-0.188 -0.73,-0.418c-0.076,-0.23 -0.541,-0.448 -1.033,-0.485 -0.492,-0.037 -0.996,-0.389 -1.121,-0.782s-0.492,-0.715 -0.817,-0.715c-0.32Line truncated
|
||||
<path android:fillColor="#f46c0c" android:fillType="evenOdd" android:pathData="m209.629,107.854 l-0.829,1.054v88.818c0,67.591 0.114,89.131 0.475,90.132 0.48,1.327 1.59,2.146 1.851,1.365 0.077,-0.233 0.325,-0.423 0.549,-0.423 0.225,0 1.209,-0.54 2.187,-1.2 0.978,-0.66 1.915,-1.2 2.083,-1.2 0.167,0 0.653,-0.315 1.08,-0.7 0.426,-0.385 1.315,-0.97 1.975,-1.3 0.66,-0.33 1.549,-0.915 1.975,-1.3 0.427,-0.385 1.012,-0.7 1.3,-0.7 0.289,0 0.525,-0.18 0.525,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.096,-0.8 1.387,-0.8 0.291,0 0.788,-0.36 1.105,-0.8 0.317,-0.44 0.897,-0.8 1.288,-0.8 0.392,0 0.712,-0.18 0.712,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.136,-0.8 1.475,-0.8 0.339,0 0.617,-0.18 0.617,-0.4 0,-0.22 0.177,-0.4 0.392,-0.4 0.216,0 1.377,-0.63 2.581,-1.4 1.204,-0.77 2.377,-1.4 2.608,-1.4 0.23,0 0.419,-0.158 0.419,-0.351 0,-0.194 0.54,-0.576 1.2,-0.849 0.66,-0.273 1.2,-0.655 1.2,-0.849 0,-0.193 0.236,-0.351 0.525,-0.351 0.288,0 0.88,-0.315 1.315,-0.7 0.435,-0.385 1.053,-0.759 1.372,-0.832 0.319,-0.073 0.672,-0.253 0.784,-0.401 0.112,-0.147 0.699,-0.523 1.304,-0.835 0.605,-0.312 1.1,-0.717 1.1,-0.9 0,-0.182 0.36,-0.332 0.8,-0.332 0.44,0 0.8,-0.18 0.8,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.15 0.6,-0.332 0,-0.183 0.495,-0.583 1.1,-0.888 0.605,-0.306 1.852,-1.056 2.772,-1.668 0.92,-0.611 1.825,-1.112 2.012,-1.112 0.187,0 0.599,-0.36 0.916,-0.8 0.317,-0.44 0.897,-0.8 1.288,-0.8 0.392,0 0.712,-0.18 0.712,-0.4 0,-0.22 0.345,-0.4 0.767,-0.4 0.421,0 0.826,-0.142 0.9,-0.315 0.073,-0.173 1.573,-1.171 3.333,-2.217 4.228,-2.513 4.506,-2.684 6.465,-3.968 0.924,-0.605 1.832,-1.1 2.019,-1.1 0.187,0 0.599,-0.36 0.916,-0.8 0.317,-0.44 0.897,-0.8 1.288,-0.8 0.392,0 0.712,-0.18 0.712,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.136,-0.8 1.475,-0.8 0.339,0 0.617,-0.18 0.617,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.096,-0.8 1.387,-0.8 0.291,0 0.788,-0.36 1.105,-0.8 0.317,-0.44 0.897,-0.8 1.288,-0.8 0.392,0 0.712,-0.18 0.712,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.602,-0.135 0.605,-0.3 0.002,-0.165 0.722,-0.644 1.6,-1.064 0.877,-0.421 1.595,-0.946 1.595,-1.167 0,-0.221 0.105,-0.298 0.233,-0.17 0.209,0.209 2.414,-1.055 3.65,-2.093 0.266,-0.223 0.761,-0.406 1.1,-0.406 0.339,0 0.617,-0.158 0.617,-0.351 0,-0.194 0.54,-0.576 1.2,-0.849 0.66,-0.273 1.2,-0.655 1.2,-0.849 0,-0.193 0.193,-0.351 0.428,-0.351s1.213,-0.54 2.172,-1.2c0.959,-0.66 1.937,-1.2 2.172,-1.2 0.235,0 0.428,-0.18 0.428,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.27,-0.4 0.6,-0.4 0.33,0 0.6,-0.18 0.6,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.136,-0.8 1.475,-0.8 0.339,0 0.617,-0.18 0.617,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.096,-0.8 1.387,-0.8 0.291,0 0.788,-0.36 1.105,-0.8 0.317,-0.44 0.802,-0.8 1.078,-0.8 0.43,0 6.356,-3.423 6.922,-3.998 0.11,-0.112 0.695,-0.458 1.3,-0.77 0.605,-0.312 1.1,-0.717 1.1,-0.9 0,-0.182 0.36,-0.332 0.8,-0.332 0.44,0 0.8,-0.18 0.8,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.911,-0.36 1.383,-0.8 0.472,-0.44 1.096,-0.8 1.387,-0.8 0.291,0 0.788,-0.36 1.105,-0.8 0.317,-0.44 0.897,-0.8 1.288,-0.8 0.392,0 0.712,-0.18 0.712,-0.4 0,-0.22 0.236,-0.4 0.525,-0.4 0.288,0 0.873,-0.315 1.3,-0.7 0.426,-0.385 1.315,-0.969 1.975,-1.297 0.66,-0.329 1.491,-0.914 1.847,-1.3 0.356,-0.387 0.941,-0.703 1.3,-0.703 0.359,0 0.654,-0.135 0.656,-0.3 0.002,-0.165 0.407,-0.501 0.9,-0.748 1.342,-0.669 3.106,-1.675 4.897,-2.79 0.88,-0.548 1.915,-1.099 2.3,-1.226 0.385,-0.126 0.7,-0.388 0.7,-0.583 0,-0.194 0.167,-0.353 0.371,-0.353 0.203,0 1.729,-0.9 3.39,-2s3.205,-2 3.43,-2c0.225,0 0.409,-0.611 0.409,-1.358 0,-1.231 -2.797,-3.842 -4.115,-3.842 -0.135,0 -1.045,-0.54 -2.023,-1.2 -0.978,-0.66 -2.027,-1.2 -2.332,-1.2 -0.304,0 -0.813,-0.36 -1.13,-0.8 -0.317,-0.44 -0.814,-0.8 -1.105,-0.8 -0.291,0 -0.915,-0.36 -1.387,-0.8 -0.472,-0.44 -1.095,-0.8 -1.383,-0.8 -0.289,0 -0.525,-0.18 -0.525,-0.4 0,-0.22 -0.32,-0.4 -0.712,-0.4 -0.391,0 -0.971,-0.36 -1.288,-0.8 -0.317,-0.44 -0.729,-0.8 -0.916,-0.8 -0.187,0 -1.125,-0.54 -2.084,-1.2 -0.959,-0.66 -1.937,-1.2 -2.172,-1.2 -0.235,0 -0.428,-0.159 -0.428,-0.353 0,-0.195 -0.315,-0.454 -0.7,-0.576 -0.909,-0.288 -2.853,-1.483 -3.858,-2.371 -0.436,-0.385 -1.029,-0.7 -1.317,-0.7 -0.289,0 -0.525,-0.18 -0.525,-0.4 0,-0.22 -0.36,-0.4 -0.8,-0.4 -0.44,0 -0.8,-0.167 -0.8,-0.371s-0.72,-0.689 -1.6,-1.077c-0.88,-0.388 -1.6,-0.829 -1.6,-0.98 0,-0.151 -0.585,-0.515 -1.3,-0.809 -0.715,-0.293 -1.649,-0.855 -2.075,-1.248 -0.427,-0.393 -1.012,-0.715 -1.3,-0.715 -0.289,0 -0.525,-0.18 -0.525,-0.4 0,-0.22 -0.371,-0.4 -0.824,-0.4 -0.453,0 -0.712,-0.18 -0.576,-0.4 0.136,-0.22 -0.033,-0.4 -0.376,-0.4 -0.343,0 -0.624,-0.18 -0.624,-0.4 0,-0.22 -0.278,-0.4 -0.617,-0.4 -0.339,0 -1.003,-0.36 -1.475,-0.8 -0.472,-0.44 -1.095,-0.8 -1.383,-0.8 -0.289,0 -0.525,-0.18 -0.525,-0.4 0,-0.22 -0.32,-0.4 -0.712,-0.4 -0.391,0 -0.971,Line truncated
|
||||
</vector>
|
||||
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportHeight="24"
|
||||
android:viewportWidth="24"
|
||||
android:tint="@color/defaultIconTint">
|
||||
<path
|
||||
android:pathData="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM9.5 16.5v-9l7 4.5-7 4.5z"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
||||
@@ -86,7 +86,7 @@
|
||||
android:scaleType="fitCenter"
|
||||
app:tint="@color/drawer_header_font_color"
|
||||
tools:ignore="ContentDescription"
|
||||
tools:srcCompat="@drawable/place_holder_youtube" />
|
||||
tools:srcCompat="@drawable/ic_smart_display" />
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
android:id="@+id/drawer_header_service_view"
|
||||
|
||||
@@ -1,114 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="14dp"
|
||||
android:background="?attr/contrast_background_color">
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:background="?attr/toolbar_shadow" />
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/separator_color" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/import_export"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingRight="16dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:text="@string/tab_subscriptions"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/import_export_expand_icon"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginRight="16dp"
|
||||
app:srcCompat="@drawable/ic_expand_more"
|
||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<org.schabi.newpipe.views.CollapsibleView
|
||||
android:id="@+id/import_export_options"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="6dp"
|
||||
tools:ignore="RtlSymmetry">
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/subscription_import_export_title_height"
|
||||
android:gravity="left|center"
|
||||
android:maxLines="1"
|
||||
android:paddingLeft="36dp"
|
||||
android:text="@string/import_from"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textSize="13sp"
|
||||
tools:ignore="RtlHardcoded" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/import_from_options"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="36dp"
|
||||
android:layout_marginLeft="36dp"
|
||||
android:orientation="vertical" />
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/subscription_import_export_title_height"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:gravity="left|center"
|
||||
android:maxLines="1"
|
||||
android:paddingLeft="36dp"
|
||||
android:text="@string/export_to"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textSize="13sp"
|
||||
tools:ignore="RtlHardcoded" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/export_to_options"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="36dp"
|
||||
android:orientation="vertical" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:background="?attr/separator_color" />
|
||||
</org.schabi.newpipe.views.CollapsibleView>
|
||||
</LinearLayout>
|
||||
@@ -26,7 +26,7 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
tools:ignore="ContentDescription,RtlHardcoded"
|
||||
tools:src="@drawable/place_holder_peertube" />
|
||||
tools:src="@drawable/ic_placeholder_peertube" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/instanceName"
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@android:id/icon1"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="@dimen/subscription_import_export_item_icon_size"
|
||||
android:layout_marginTop="@dimen/subscription_import_export_item_icon_margin"
|
||||
android:layout_marginBottom="@dimen/subscription_import_export_item_icon_margin"
|
||||
android:scaleType="fitCenter"
|
||||
tools:ignore="ContentDescription,RtlHardcoded"
|
||||
tools:src="@drawable/place_holder_youtube" />
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
android:id="@android:id/text1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/subscription_import_export_item_height"
|
||||
android:gravity="center_vertical"
|
||||
android:maxLines="1"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingRight="6dp"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textSize="13sp"
|
||||
tools:text="@string/youtube" />
|
||||
</LinearLayout>
|
||||
@@ -58,11 +58,6 @@
|
||||
<dimen name="popup_minimum_width">150dp</dimen>
|
||||
<dimen name="comment_item_avatar_right_margin">9dp</dimen>
|
||||
|
||||
<dimen name="subscription_import_export_title_height">32dp</dimen>
|
||||
<dimen name="subscription_import_export_item_height">42dp</dimen>
|
||||
<dimen name="subscription_import_export_item_icon_size">24dp</dimen>
|
||||
<!-- (item_height - item_icon_size) / 2-->
|
||||
<dimen name="subscription_import_export_item_icon_margin">9dp</dimen>
|
||||
<!-- Video Item Detail View Dimensions-->
|
||||
<!-- Text Size -->
|
||||
<dimen name="video_item_detail_title_text_size">15sp</dimen>
|
||||
|
||||
@@ -4,10 +4,6 @@
|
||||
<string name="last_used_preferences_version">last_used_preferences_version</string>
|
||||
|
||||
<!-- Service -->
|
||||
<string-array name="service_list">
|
||||
<item>@string/youtube</item>
|
||||
<item>@string/soundcloud</item>
|
||||
</string-array>
|
||||
<string name="current_service_key">service</string>
|
||||
<string name="default_service_value">@string/youtube</string>
|
||||
|
||||
|
||||
@@ -69,14 +69,17 @@
|
||||
<style name="DarkPopupMenu" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||
|
||||
<style name="ToolbarTheme" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
|
||||
<item name="popupTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
||||
<item name="popupTheme">@style/ToolbarPopupTheme</item>
|
||||
<item name="android:textColorPrimary">?attr/actionColor</item>
|
||||
<item name="android:textColorSecondary">?attr/actionColor</item>
|
||||
<item name="tint">?attr/actionColor</item>
|
||||
<item name="iconTint">?attr/actionColor</item>
|
||||
</style>
|
||||
<style name="ToolbarPopupTheme" parent="ThemeOverlay.AppCompat.DayNight.ActionBar">
|
||||
<item name="tint">@color/contrastColor</item>
|
||||
</style>
|
||||
<style name="ContrastToolbarTheme" parent="ThemeOverlay.AppCompat.DayNight.ActionBar">
|
||||
<item name="popupTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
||||
<item name="popupTheme">@style/ToolbarPopupTheme</item>
|
||||
<item name="android:textColorPrimary">@color/contrastColor</item>
|
||||
<item name="android:textColorSecondary">@color/contrastColor</item>
|
||||
<item name="tint">@color/contrastColor</item>
|
||||
|
||||
Reference in new issue
Block a user