// Path: sak-nop/src/main/java/com/wanjian/sak/converter/ISizeConverter.java
// public abstract class ISizeConverter {
//     public static ISizeConverter CONVERTER;
// 
//     public abstract String desc();
// 
//     public abstract Size convert(Context context, float length);
// 
//     public abstract int recovery(Context context, float length);
// 
// }
// 
// Path: saklib/src/main/java/com/wanjian/sak/layer/ISize.java
// public interface ISize {
//   void onSizeConvertChange(ISizeConverter converter);
// }


import android.graphics.drawable.Drawable;
import android.view.View;
import com.wanjian.sak.R;
import com.wanjian.sak.converter.ISizeConverter;
import com.wanjian.sak.layer.ISize;
package com.wanjian.sak.layer.impl;



/**
 *
 */

public class WidthHeightLayer extends LayerTxtAdapter implements ISize {


  @Override
  protected String getTxt(View view) {
    int w = view.getWidth();
    int h = view.getHeight();
// Path: sak-nop/src/main/java/com/wanjian/sak/converter/ISizeConverter.java
// public abstract class ISizeConverter {
//     public static ISizeConverter CONVERTER;
// 
//     public abstract String desc();
// 
//     public abstract Size convert(Context context, float length);
// 
//     public abstract int recovery(Context context, float length);
// 
// }
// 
// Path: saklib/src/main/java/com/wanjian/sak/layer/ISize.java
// public interface ISize {
//   void onSizeConvertChange(ISizeConverter converter);
// }


// Path: saklib/src/main/java/com/wanjian/sak/layer/impl/WidthHeightLayer.java
import android.graphics.drawable.Drawable;
import android.view.View;
import com.wanjian.sak.R;
import com.wanjian.sak.converter.ISizeConverter;
import com.wanjian.sak.layer.ISize;

package com.wanjian.sak.layer.impl;



/**
 *
 */

public class WidthHeightLayer extends LayerTxtAdapter implements ISize {


  @Override
  protected String getTxt(View view) {
    int w = view.getWidth();
    int h = view.getHeight();
    ISizeConverter converter = getSizeConverter();