从对角考虑 package my_basic.class_3; /** * 从对角开始 */ public class Code_09_FindNumInSortedMatrix { public static boolean isContain(int[][] matrix,int k) { int endR = matrix.length-1; int endC = matrix[0].length - 1; int row = endR; int column = 0; while (ro…
AnimationDrawabl主要通过xml实现逐帧动画,SDK实例如下: An AnimationDrawable defined in XML consists of a single <animation-list> element, and a series of nested <item> tags. Each item defines a frame of the animation. See the example below. spin_animation.xml…