mirror of
				https://github.com/recloudstream/cloudstream.git
				synced 2024-08-15 01:53:11 +00:00 
			
		
		
		
	Changed home selection sheet to fully open and allow upwards scrolling :)
This commit is contained in:
		
							parent
							
								
									1228701f0e
								
							
						
					
					
						commit
						63c713fc68
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -23,6 +23,7 @@ import androidx.preference.PreferenceManager | |||
| import androidx.recyclerview.widget.LinearLayoutManager | ||||
| import androidx.recyclerview.widget.LinearSnapHelper | ||||
| import androidx.recyclerview.widget.RecyclerView | ||||
| import com.google.android.material.bottomsheet.BottomSheetBehavior | ||||
| import com.google.android.material.bottomsheet.BottomSheetDialog | ||||
| import com.google.android.material.button.MaterialButton | ||||
| import com.lagradost.cloudstream3.* | ||||
|  | @ -280,6 +281,7 @@ class HomeFragment : Fragment() { | |||
|             val builder = | ||||
|                 BottomSheetDialog(this) | ||||
| 
 | ||||
|             builder.behavior.state = BottomSheetBehavior.STATE_EXPANDED | ||||
|             builder.setContentView(R.layout.home_select_mainpage) | ||||
|             builder.show() | ||||
|             builder.let { dialog -> | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ | |||
|         android:id="@+id/listview1" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
| 
 | ||||
|         android:nestedScrollingEnabled="true" | ||||
|         android:layout_rowWeight="1" | ||||
|         android:layout_marginTop="10dp" | ||||
|         android:layout_marginBottom="60dp" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue