Project

General

Profile

« Previous | Next » 

Revision 337f4660

Added by Leszek Koltunski 8 months ago

remove 'MESH_NICE'

View differences:

src/main/java/org/distorted/dialogs/RubikDialogPatternSingle.java
85 85
    android.util.Log.e("D", "prepareBody: object "+mArgument);
86 86

  
87 87
    final PatternActivity pact = (PatternActivity)getContext();
88
    int height = pact!=null ? pact.getScreenHeightInPixels() : 100;
88
    int width = pact!=null ? pact.getScreenWidthInPixels() : 100;
89 89
    final ObjectControl control = pact!=null ? pact.getControl() : null;
90 90

  
91 91
    RubikPattern pattern = RubikPattern.getInstance();
92 92
    mExpandedGroup = pattern.recallExpanded(mPatternOrdinal);
93 93

  
94 94
    mListView = view.findViewById(R.id.patternListView);
95
    RubikDialogPatternListAdapter listAdapter = new RubikDialogPatternListAdapter(act,mPatternOrdinal,height);
95
    RubikDialogPatternListAdapter listAdapter = new RubikDialogPatternListAdapter(act,mPatternOrdinal,width);
96 96
    mListView.setAdapter(listAdapter);
97 97

  
98 98
    if( mExpandedGroup>=0 ) mListView.expandGroup(mExpandedGroup);

Also available in: Unified diff