mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-04-29 02:01:22 +00:00
This TextView class extends the AppCompatTextView class from androidx. These changes (only in XML ressources) allow us to share the selected text by using ShareUtils.shareText, which opens the Android system chooser instead of the Huawei system chooser on EMUI devices.
24 lines
918 B
XML
24 lines
918 B
XML
<?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:gravity="center"
|
|
android:minHeight="128dp"
|
|
android:orientation="vertical">
|
|
|
|
<org.schabi.newpipe.views.NewPipeTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="¯\\_(ツ)_/¯"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<org.schabi.newpipe.views.NewPipeTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="6dp"
|
|
android:text="@string/empty_subscription_feed_subtitle" />
|
|
</LinearLayout>
|