通知默认保持扩展状态

时间:2018-08-29 14:13:07

标签: android android-notifications android-notification-bar

public class MStringReverse { static String getReverse(String input) { System.out.println("Input length is " + input.length()); String reverse = ""; for(int i = input.length() - 1; i >= 0; i--) { System.out.println("accessing index " + i + " of \"input\""); reverse = reverse + input.charAt(i); System.out.println("last index of \"reverse\" is now " + (reverse.length() - 1)); } return reverse; } public static void main(String[] args) { String result = getReverse("Achilis"); System.out.println(result); } } 是否可以默认保持扩展状态? 当我使用setCustomBigContentView方法时,即使默认大小小于默认通知高度,它也会默认折叠。

setCustomBigContentView

注意:有些用户盲目搜索相似的标题,而不是了解代码和情况。我为他们感到抱歉。

0 个答案:

没有答案