// Path: bitframe/src/main/java/proj/me/bitframe/ImageClickHandler.java
//  public interface ImageClickHandler {
//     void onImageShadeClick(View view);
// }


import android.graphics.Bitmap;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import proj.me.bitframe.ImageClickHandler;
import proj.me.bitframe.R;

    public void setShouldCommentVisible(boolean shouldCommentVisible) {
        TextView textView = root.findViewById(R.id.comment_text);
        textView.setVisibility(shouldCommentVisible ? View.VISIBLE : View.INVISIBLE);
    }

    public void setCommentTextBackgroundColor(int commentTextBackgroundColor) {
        TextView textView = root.findViewById(R.id.comment_text);
        textView.setBackgroundColor(commentTextBackgroundColor);
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
       this.comment = comment;
        TextView textView = root.findViewById(R.id.comment_text);
        textView.setText(comment);
    }

    public static void setLayoutWidth(View view, int width){
        ViewGroup.LayoutParams params = view.getLayoutParams();
        params.width = width;
        view.setLayoutParams(params);
    }

    public static void setLayoutHeight(View view, int height){
        ViewGroup.LayoutParams params = view.getLayoutParams();
        params.height = height;
// Path: bitframe/src/main/java/proj/me/bitframe/ImageClickHandler.java
//  public interface ImageClickHandler {
//     void onImageShadeClick(View view);
// }


// Path: bitframe/src/main/java/proj/me/bitframe/shading_one/BindingShadeOne.java
import android.graphics.Bitmap;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import proj.me.bitframe.ImageClickHandler;
import proj.me.bitframe.R;


    public void setShouldCommentVisible(boolean shouldCommentVisible) {
        TextView textView = root.findViewById(R.id.comment_text);
        textView.setVisibility(shouldCommentVisible ? View.VISIBLE : View.INVISIBLE);
    }

    public void setCommentTextBackgroundColor(int commentTextBackgroundColor) {
        TextView textView = root.findViewById(R.id.comment_text);
        textView.setBackgroundColor(commentTextBackgroundColor);
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
       this.comment = comment;
        TextView textView = root.findViewById(R.id.comment_text);
        textView.setText(comment);
    }

    public static void setLayoutWidth(View view, int width){
        ViewGroup.LayoutParams params = view.getLayoutParams();
        params.width = width;
        view.setLayoutParams(params);
    }

    public static void setLayoutHeight(View view, int height){
        ViewGroup.LayoutParams params = view.getLayoutParams();
        params.height = height;
        view.setLayoutParams(params);