protected void refreshOldStyleRow() { TableViewRowProxy rp = getRowProxy(); if (!rp.hasProperty(TiC.PROPERTY_TOUCH_ENABLED)) { rp.setProperty(TiC.PROPERTY_TOUCH_ENABLED, false); } if (views == null) { views = new ArrayList<TiUIView>(); views.add(new TiUILabel(rp)); } TiUILabel t = (TiUILabel) views.get(0); t.setProxy(rp); t.processProperties(filterProperties(rp.getProperties())); View v = t.getNativeView(); if (v.getParent() == null) { TiCompositeLayout.LayoutParams params = (TiCompositeLayout.LayoutParams) t.getLayoutParams(); params.optionLeft = new TiDimension(5, TiDimension.TYPE_LEFT); params.optionRight = new TiDimension(5, TiDimension.TYPE_RIGHT); params.autoFillsWidth = true; content.addView(v, params); } }