mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-06-24 22:23:19 +00:00
![TiA4f8R](/assets/img/avatar_default.png)
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.
25 lines
831 B
XML
25 lines
831 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
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>
|
|
|
|
<org.schabi.newpipe.views.NewPipeTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/separator_color" />
|
|
|
|
<include layout="@layout/settings_category_header_title" />
|
|
</LinearLayout>
|