Make the icon spacing a lot easier
This commit is contained in:
parent
91aa4610a1
commit
ed54b028a9
@ -14,6 +14,8 @@
|
|||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
android:layout_width="50dp"
|
android:layout_width="50dp"
|
||||||
android:layout_height="50dp"
|
android:layout_height="50dp"
|
||||||
|
android:layout_marginRight="2dp"
|
||||||
|
android:layout_marginEnd="2dp"
|
||||||
android:padding="4dp"/>
|
android:padding="4dp"/>
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/status_icons"
|
<LinearLayout android:id="@+id/status_icons"
|
||||||
@ -51,9 +53,7 @@
|
|||||||
android:layout_toLeftOf="@id/status_icons"
|
android:layout_toLeftOf="@id/status_icons"
|
||||||
android:layout_toStartOf="@id/status_icons"
|
android:layout_toStartOf="@id/status_icons"
|
||||||
android:paddingTop="4dp"
|
android:paddingTop="4dp"
|
||||||
android:paddingBottom="2dp"
|
android:paddingBottom="2dp" />
|
||||||
android:paddingLeft="1dp"
|
|
||||||
android:paddingStart="1dp"/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/license"
|
<TextView android:id="@+id/license"
|
||||||
android:textSize="12sp"
|
android:textSize="12sp"
|
||||||
|
@ -115,7 +115,7 @@ abstract public class AppListAdapter extends BaseAdapter {
|
|||||||
else
|
else
|
||||||
summaryLayout.addRule(RelativeLayout.RIGHT_OF, R.id.icon);
|
summaryLayout.addRule(RelativeLayout.RIGHT_OF, R.id.icon);
|
||||||
summary.setLayoutParams(summaryLayout);
|
summary.setLayoutParams(summaryLayout);
|
||||||
summary.setPadding ((int)(mContext.getResources().getDisplayMetrics().density + 0.5f),0,0,0);
|
summary.setPadding(0,0,0,0);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user