mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Fixing small issue with widget divider showing in Phone UI and Shop text showing in other languages.
- Removing some unused assets Change-Id: I40dec108b35ed4fcc769405446664e8180cb6d41
This commit is contained in:
@@ -193,6 +193,11 @@ public class PagedViewWidget extends LinearLayout implements Checkable {
|
||||
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);
|
||||
|
||||
// Hide the divider in the Phone UI.
|
||||
if (!LauncherApplication.isScreenLarge()) {
|
||||
findViewById(R.id.divider).setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (createHolographicOutline) {
|
||||
mIconCache = cache;
|
||||
@@ -215,6 +220,11 @@ public class PagedViewWidget extends LinearLayout implements Checkable {
|
||||
dims.setText(String.format(mDimensionsFormatString, 1, 1));
|
||||
dims.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
||||
}
|
||||
|
||||
// Hide the divider in the Phone UI.
|
||||
if (!LauncherApplication.isScreenLarge()) {
|
||||
findViewById(R.id.divider).setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (createHolographicOutline) {
|
||||
mIconCache = cache;
|
||||
@@ -234,6 +244,11 @@ public class PagedViewWidget extends LinearLayout implements Checkable {
|
||||
TextView name = (TextView) findViewById(R.id.wallpaper_name);
|
||||
name.setText(info.loadLabel(packageManager));
|
||||
name.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
||||
|
||||
// Hide the divider in the Phone UI.
|
||||
if (!LauncherApplication.isScreenLarge()) {
|
||||
findViewById(R.id.divider).setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (createHolographicOutline) {
|
||||
mIconCache = cache;
|
||||
|
||||
Reference in New Issue
Block a user