~w-shackleton/droidpad-android/stable

« back to all changes in this revision

Viewing changes to src/uk/digitalsquid/droidpad/buttons/Layout.java

  • Committer: William Shackleton
  • Date: 2013-04-12 14:42:12 UTC
  • mfrom: (51.3.5 json)
  • mto: This revision was merged to the branch mainline in revision 52.
  • Revision ID: w.shackleton@gmail.com-20130412144212-4f7pueqwee0lc3yd
Imported code to load JSON layouts

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
                }
171
171
                getUiCallbacks().refreshScreen();
172
172
        }
 
173
        
 
174
        private boolean activityHorizontal = false;
 
175
        
 
176
        /**
 
177
         * If <code>true</code>, then the whole activity will be set to horizontal.
 
178
         * This is different to just drawing the widgets sideways.
 
179
         */
 
180
        public boolean isActivityHorizontal() {
 
181
                return activityHorizontal;
 
182
        }
 
183
        
 
184
        public void setActivityHorizontal(boolean horizontal) {
 
185
                activityHorizontal = horizontal;
 
186
        }
173
187
}