Skip to content

Commit

Permalink
Merge pull request #3845 from TeamAmaze/app-manager-package-name-update
Browse files Browse the repository at this point in the history
Minor change to app manager UI
  • Loading branch information
VishalNehra committed Jul 9, 2023
2 parents d3e4036 + e536f9f commit 3ba7c84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ import com.amaze.filemanager.utils.AnimUtils.marqueeAfterDelay
import com.amaze.filemanager.utils.Utils
import com.amaze.filemanager.utils.safeLet
import java.io.File
import kotlin.collections.ArrayList
import kotlin.math.roundToInt

class AppsRecyclerAdapter(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import androidx.core.view.marginTop
import androidx.recyclerview.widget.RecyclerView
import com.amaze.filemanager.R
import com.amaze.filemanager.ui.views.ThemedTextView
import com.amaze.filemanager.utils.Utils

class AppHolder(view: View) : RecyclerView.ViewHolder(view) {
@JvmField
Expand Down Expand Up @@ -60,7 +61,12 @@ class AppHolder(view: View) : RecyclerView.ViewHolder(view) {
packageName.visibility = View.VISIBLE

val layoutParams = txtDesc.layoutParams as ViewGroup.MarginLayoutParams
layoutParams.setMargins(txtDesc.marginLeft, txtDesc.marginTop, 8, txtDesc.marginBottom)
layoutParams.setMargins(
txtDesc.marginLeft,
txtDesc.marginTop,
Utils.dpToPx(view.context, 4),
txtDesc.marginBottom
)
txtDesc.layoutParams = layoutParams

view.findViewById<ImageView>(R.id.picture_icon).visibility = View.GONE
Expand Down

0 comments on commit 3ba7c84

Please sign in to comment.