me.imid.swipebacklayout.lib.Utils.convertActivityToTranslucent()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(4.1k)|赞(0)|评价(0)|浏览(91)

本文整理了Java中me.imid.swipebacklayout.lib.Utils.convertActivityToTranslucent()方法的一些代码示例,展示了Utils.convertActivityToTranslucent()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.convertActivityToTranslucent()方法的具体详情如下:
包路径:me.imid.swipebacklayout.lib.Utils
类名称:Utils
方法名:convertActivityToTranslucent

Utils.convertActivityToTranslucent介绍

[英]Convert a translucent themed Activity android.R.attr#windowIsTranslucent back from opaque to translucent following a call to #convertActivityFromTranslucent(android.app.Activity) .

Calling this allows the Activity behind this one to be seen again. Once all such Activities have been redrawn

This call has no effect on non-translucent activities or on activities with the android.R.attr#windowIsFloating attribute.
[中]将半透明主题活动转化为android。R.attr#在调用#ConvertActivityFromTransparent(android.app.Activity)后,Window从不透明变为半透明。
调用此命令可以再次看到此命令背后的活动。一旦所有这些活动都被重新规划
此通话对非半透明活动或安卓系统的活动没有影响。R.attr#windowIsFloating属性。

代码示例

代码示例来源:origin: liuling07/SimpleNews

@Override
public void onEdgeTouch(int edgeFlag) {
  Utils.convertActivityToTranslucent(mActivity);
}

代码示例来源:origin: liuling07/SimpleNews

@Override
  public void scrollToFinishActivity() {
    Utils.convertActivityToTranslucent(this);
    getSwipeBackLayout().scrollToFinishActivity();
  }
}

代码示例来源:origin: kaku2015/WeatherAlarmClock

@Override
public void onEdgeTouch(int edgeFlag) {
  Utils.convertActivityToTranslucent(mActivity);
}

代码示例来源:origin: naturs/StatusBarHelper

@Override
public void onEdgeTouch(int edgeFlag) {
  Utils.convertActivityToTranslucent(mActivity);
}

代码示例来源:origin: undownding/very-base-activity

@Override
public void onEdgeTouch(int edgeFlag) {
  Utils.convertActivityToTranslucent(mActivity);
}

代码示例来源:origin: xiaoyanger0825/CompatStatusBar

@Override
public void onEdgeTouch(int edgeFlag) {
  Utils.convertActivityToTranslucent(mActivity);
}

代码示例来源:origin: aishang5wpj/JuheNews

@Override
public void onEdgeTouch(int edgeFlag) {
  Utils.convertActivityToTranslucent(mActivity);
}

代码示例来源:origin: undownding/zhihu

@Override
  public void scrollToFinishActivity() {
    Utils.convertActivityToTranslucent(this);
    getSwipeBackLayout().scrollToFinishActivity();
  }
}

代码示例来源:origin: kaku2015/WeatherAlarmClock

@Override
  public void scrollToFinishActivity() {
    Utils.convertActivityToTranslucent(this);
    getSwipeBackLayout().scrollToFinishActivity();
  }
}

代码示例来源:origin: babylikebird/YinYueTai

@Override
public void scrollToFinishActivity() {
  Utils.convertActivityToTranslucent(this);
  getSwipeBackLayout().scrollToFinishActivity();
}
protected void setTranslucentStatus(int color) {

代码示例来源:origin: liuyanggithub/SuperMvp

@Override
  public void scrollToFinishActivity() {
    Utils.convertActivityToTranslucent(this);//将当前类转换为半透明效果(精髓所在)
    getSwipeBackLayout().scrollToFinishActivity();//关闭当前activity
  }
}

代码示例来源:origin: tangqi92/BuildingBlocks

@Override
public void scrollToFinishActivity() {
  Utils.convertActivityToTranslucent(this);
  getSwipeBackLayout().scrollToFinishActivity();
}

代码示例来源:origin: tangqi92/BuildingBlocks

@Override
public void scrollToFinishActivity() {
  Utils.convertActivityToTranslucent(this);
  getSwipeBackLayout().scrollToFinishActivity();
}

代码示例来源:origin: naturs/StatusBarHelper

@Override
  public void scrollToFinishActivity() {
    Utils.convertActivityToTranslucent(this);
    getSwipeBackLayout().scrollToFinishActivity();
  }
}

代码示例来源:origin: Jerey-Jobs/KeepGank

@Override
public void scrollToFinishActivity() {
  Utils.convertActivityToTranslucent(this);
  getSwipeBackLayout().scrollToFinishActivity();
}

代码示例来源:origin: xiaoyanger0825/CompatStatusBar

@Override
  public void scrollToFinishActivity() {
    Utils.convertActivityToTranslucent(this);
    getSwipeBackLayout().scrollToFinishActivity();
  }
}

代码示例来源:origin: kaku2015/WeatherAlarmClock

@Override
  public void scrollToFinishActivity() {
    Utils.convertActivityToTranslucent(this);
    getSwipeBackLayout().scrollToFinishActivity();
  }
}

代码示例来源:origin: aishang5wpj/JuheNews

@Override
  public void scrollToFinishActivity() {
    Utils.convertActivityToTranslucent(this);
    getSwipeBackLayout().scrollToFinishActivity();
  }
}

代码示例来源:origin: undownding/very-base-activity

@Override
  public void scrollToFinishActivity() {
    Utils.convertActivityToTranslucent(this);
    getSwipeBackLayout().scrollToFinishActivity();
  }
}

代码示例来源:origin: luhaoaimama1/zone-sdk

public void scrollToFinishActivity() {
  Utils.convertActivityToTranslucent(activity);
  getSwipeBackLayout().scrollToFinishActivity();
}

相关文章