forked from thijooree/android
added margin between icon and edge of selection in login list
This commit is contained in:
@@ -436,7 +436,7 @@ class SettingsLoginsFragment : Fragment() {
|
||||
val row = LinearLayout(ctx).apply {
|
||||
orientation = LinearLayout.HORIZONTAL
|
||||
gravity = Gravity.CENTER_VERTICAL
|
||||
setPadding(0, (12 * dp).toInt(), 0, (12 * dp).toInt())
|
||||
setPadding((12 * dp).toInt(), (12 * dp).toInt(), (12 * dp).toInt(), (12 * dp).toInt())
|
||||
isClickable = true; isFocusable = true
|
||||
val ta = ctx.obtainStyledAttributes(intArrayOf(android.R.attr.selectableItemBackground))
|
||||
background = ta.getDrawable(0); ta.recycle()
|
||||
|
||||
Reference in New Issue
Block a user