mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	Merge pull request #6965 from ktprograms/indication-content-main-page
Add how to remove tab from main page text
This commit is contained in:
		| @@ -1,31 +1,49 @@ | |||||||
| <?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||||
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" |     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||||
|     xmlns:tools="http://schemas.android.com/tools" |     xmlns:tools="http://schemas.android.com/tools" | ||||||
|     android:layout_width="match_parent" |     android:layout_width="match_parent" | ||||||
|     android:layout_height="match_parent" |     android:layout_height="match_parent" | ||||||
|     android:orientation="vertical"> |     android:orientation="vertical"> | ||||||
|  |  | ||||||
|  |     <TextView | ||||||
|  |         android:id="@+id/helpTextView" | ||||||
|  |         android:layout_width="wrap_content" | ||||||
|  |         android:layout_height="wrap_content" | ||||||
|  |         android:layout_marginTop="16dp" | ||||||
|  |         android:gravity="center" | ||||||
|  |         android:paddingStart="8dp" | ||||||
|  |         android:paddingEnd="8dp" | ||||||
|  |         android:text="@string/main_page_content_swipe_remove" | ||||||
|  |         app:layout_constraintEnd_toEndOf="parent" | ||||||
|  |         app:layout_constraintStart_toStartOf="parent" | ||||||
|  |         app:layout_constraintTop_toTopOf="parent" /> | ||||||
|  |  | ||||||
|     <androidx.recyclerview.widget.RecyclerView |     <androidx.recyclerview.widget.RecyclerView | ||||||
|         android:id="@+id/selectedTabs" |         android:id="@+id/selectedTabs" | ||||||
|         android:layout_width="match_parent" |         android:layout_width="match_parent" | ||||||
|         android:layout_height="match_parent" |         android:layout_height="0dp" | ||||||
|  |         android:layout_marginTop="16dp" | ||||||
|  |         app:layout_constraintBottom_toBottomOf="parent" | ||||||
|  |         app:layout_constraintEnd_toEndOf="parent" | ||||||
|  |         app:layout_constraintHorizontal_bias="0.0" | ||||||
|  |         app:layout_constraintStart_toStartOf="parent" | ||||||
|  |         app:layout_constraintTop_toBottomOf="@+id/helpTextView" | ||||||
|  |         app:layout_constraintVertical_bias="1.0" | ||||||
|         tools:listitem="@layout/list_choose_tabs" /> |         tools:listitem="@layout/list_choose_tabs" /> | ||||||
|  |  | ||||||
|     <com.google.android.material.floatingactionbutton.FloatingActionButton |     <com.google.android.material.floatingactionbutton.FloatingActionButton | ||||||
|         android:id="@+id/addTabsButton" |         android:id="@+id/addTabsButton" | ||||||
|         android:layout_width="wrap_content" |         android:layout_width="wrap_content" | ||||||
|         android:layout_height="wrap_content" |         android:layout_height="wrap_content" | ||||||
|         android:layout_alignParentEnd="true" |  | ||||||
|         android:layout_alignParentRight="true" |  | ||||||
|         android:layout_alignParentBottom="true" |  | ||||||
|         android:layout_marginEnd="16dp" |         android:layout_marginEnd="16dp" | ||||||
|         android:layout_marginRight="16dp" |  | ||||||
|         android:layout_marginBottom="16dp" |         android:layout_marginBottom="16dp" | ||||||
|         android:clickable="true" |         android:clickable="true" | ||||||
|         android:focusable="true" |         android:focusable="true" | ||||||
|         app:backgroundTint="?attr/colorPrimary" |         app:backgroundTint="?attr/colorPrimary" | ||||||
|         app:fabSize="auto" |         app:fabSize="auto" | ||||||
|  |         app:layout_constraintBottom_toBottomOf="parent" | ||||||
|  |         app:layout_constraintEnd_toEndOf="parent" | ||||||
|         app:srcCompat="@drawable/ic_add" /> |         app:srcCompat="@drawable/ic_add" /> | ||||||
|  |  | ||||||
| </RelativeLayout> | </androidx.constraintlayout.widget.ConstraintLayout> | ||||||
|   | |||||||
| @@ -434,6 +434,7 @@ | |||||||
|     <!-- Content --> |     <!-- Content --> | ||||||
|     <string name="main_page_content">Content of main page</string> |     <string name="main_page_content">Content of main page</string> | ||||||
|     <string name="main_page_content_summary">What tabs are shown on the main page</string> |     <string name="main_page_content_summary">What tabs are shown on the main page</string> | ||||||
|  |     <string name="main_page_content_swipe_remove">Swipe items to remove them</string> | ||||||
|     <string name="selection">Selection</string> |     <string name="selection">Selection</string> | ||||||
|     <string name="blank_page_summary">Blank Page</string> |     <string name="blank_page_summary">Blank Page</string> | ||||||
|     <string name="kiosk_page_summary">Kiosk Page</string> |     <string name="kiosk_page_summary">Kiosk Page</string> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Stypox
					Stypox