make the whole storage analyzer scrollable

This commit is contained in:
tibbi 2021-10-13 11:12:34 +02:00
parent cc58ea1b87
commit 7c02fe8e90
2 changed files with 260 additions and 249 deletions

View File

@ -18,7 +18,6 @@ import kotlinx.android.synthetic.main.storage_fragment.view.*
import java.util.*
import kotlin.collections.HashMap
class StorageFragment(context: Context, attributeSet: AttributeSet) : MyViewPagerFragment(context, attributeSet) {
private val IMAGES = "images"
private val VIDEOS = "videos"

View File

@ -4,7 +4,17 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/storage_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="match_parent">
<ScrollView
android:id="@+id/storage_scrollview"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/storage_holder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:ignore="RelativeOverlap">
<RelativeLayout
@ -284,4 +294,6 @@
android:max="100"
app:trackThickness="2dp" />
</RelativeLayout>
</RelativeLayout>
</ScrollView>
</com.simplemobiletools.filemanager.pro.fragments.StorageFragment>