mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Tweaking widget grid to show more items
Change-Id: Ied035f6c01f062ac1b4b16ee0a5b9029c6da72a0
This commit is contained in:
@@ -111,8 +111,10 @@ public class PagedViewWidget extends LinearLayout implements Checkable {
|
||||
name.setText(info.label);
|
||||
name.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
||||
final TextView dims = (TextView) findViewById(R.id.widget_dims);
|
||||
dims.setText(String.format(mDimensionsFormatString, cellSpan[0], cellSpan[1]));
|
||||
dims.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
||||
if (dims != null) {
|
||||
dims.setText(String.format(mDimensionsFormatString, cellSpan[0], cellSpan[1]));
|
||||
dims.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
||||
}
|
||||
}
|
||||
|
||||
public void applyFromResolveInfo(PackageManager pm, ResolveInfo info,
|
||||
|
||||
Reference in New Issue
Block a user