Share rpan post url and rpan url. Show rpan post title in ViewRPANBroadcastFragment.

This commit is contained in:
Alex Ning
2021-07-08 09:00:49 +08:00
parent 6eecaaccfa
commit 61d907308c
7 changed files with 90 additions and 3 deletions

View File

@@ -7,6 +7,17 @@
android:focusableInTouchMode="true"
xmlns:app="http://schemas.android.com/apk/res-auto">
<TextView
android:id="@+id/title_text_view_exo_rpan_broadcast_playback_control_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:textColor="#FFFFFF"
android:textSize="20sp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@id/control_linear_layout"
app:layout_constraintVertical_bias="1" />
<LinearLayout
android:id="@+id/control_linear_layout"
android:layout_width="match_parent"

View File

@@ -3,7 +3,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:paddingBottom="8dp">
android:layout_marginBottom="8dp">
<ImageView
android:id="@+id/icon_image_view_item_rpan_comment"

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_share_rpan_link_rpan_activity"
android:orderInCategory="1"
android:title="@string/action_share_rpan_link"
app:showAsAction="never" />
<item
android:id="@+id/action_share_post_link_rpan_activity"
android:orderInCategory="1"
android:title="@string/action_share_post_link"
app:showAsAction="never" />
</menu>

View File

@@ -84,6 +84,8 @@
<string name="action_copy_link">Copy Link</string>
<string name="action_add_to_post_filter">Add to Post Filter</string>
<string name="action_delete_logs">Delete Logs</string>
<string name="action_share_rpan_link">Share RPAN Link</string>
<string name="action_share_post_link">Share Post Link</string>
<string name="parse_json_response_error">Error occurred when parsing the JSON response</string>
<string name="retrieve_token_error">Error Retrieving the token</string>