Skip to content

Commit

Permalink
Merge pull request #1486 from Infomaniak/add-marginTop-in-gallery
Browse files Browse the repository at this point in the history
enhance: Add some top margin in Gallery
  • Loading branch information
KevinBoulongne authored Nov 11, 2024
2 parents c7a31e8 + 305c28e commit b23b199
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,17 @@ import androidx.core.view.isGone
import androidx.core.view.marginBottom
import androidx.core.view.marginTop
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import com.infomaniak.drive.R
import com.infomaniak.drive.databinding.FragmentMenuGalleryBinding
import com.infomaniak.drive.databinding.MultiSelectLayoutBinding
import com.infomaniak.drive.ui.MainActivity
import com.infomaniak.drive.ui.MainViewModel
import com.infomaniak.drive.ui.fileList.multiSelect.GalleryMultiSelectActionsBottomSheetDialog
import com.infomaniak.lib.core.utils.safeBinding
import com.infomaniak.lib.core.utils.toPx

class MenuGalleryFragment : Fragment() {

private var binding: FragmentMenuGalleryBinding by safeBinding()
private val mainViewModel: MainViewModel by activityViewModels()

override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
return FragmentMenuGalleryBinding.inflate(inflater, container, false).also { binding = it }.root
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/fragment_menu_gallery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/marginStandardSmall"
app:layout_behavior="@string/appbar_scrolling_view_behavior">

<androidx.fragment.app.FragmentContainerView
Expand Down

0 comments on commit b23b199

Please sign in to comment.