@@ -0,0 +1,2449 @@
+package com.sometrik.framework;%0A%0Aimport android.content.Context;%0Aimport android.graphics.Bitmap.Config;%0Aimport android.view.View;%0Aimport android.widget.RelativeLayout;%0A%0Apublic class FWRelativeLayout extends RelativeLayout implements NativeCommandHandler %7B%0A%0A  private FrameWork frame;%0A  %0A  public FWRelativeLayout(FrameWork frame) %7B%0A    super(frame);%0A    this.frame = frame;%0A  %7D%0A%0A  @Override%0A  public void onScreenOrientationChange(boolean isLandscape) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void addChild(View view) %7B%0A    addView(view);%0A  %7D%0A%0A  @Override%0A  public void addOption(int optionId, String text) %7B%0A    for (int i = 0; i %3C getChildCount(); i++) %7B%0A      if (optionId == getChildAt(i).getId()) %7B%0A%09System.out.println(%22relative: child found%22);%0A%09View view = getChildAt(i);%0A%09LayoutParams params = (LayoutParams) view.getLayoutParams();%0A%09if (text.equals(%22parent-left%22)) %7B%0A%09  params.addRule(RelativeLayout.ALIGN_PARENT_LEFT);%0A%09%7D%0A      %7D%0A    %7D%0A  %7D%0A%0A  @Override%0A  public void addColumn(String text, int columnType) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void addData(String text, int row, int column, int sheet) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setValue(String v) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setImage(byte%5B%5D bytes, int width, int height, Config config) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setValue(int v) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void reshape(int value, int size) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void reshape(int size) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setViewEnabled(Boolean enabled) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setViewVisibility(boolean visible) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setStyle(String key, String value) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setError(boolean hasError, String errorText) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void clear() %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void flush() %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public int getElementId() %7B%0A    return getId();%0A  %7D%0A%0A%7D%0A

add FWRelativeLayout.java