var img = System.Drawing.Image.FromStream(ms); int width = img.Width; int height = img.Height; var x = img.HorizontalResolution; var y = img.VerticalResolution; var tempHeight = height * 300 / y; var tempWidth = width * 300 / y; Bitmap bmpTemp = new…
Jeff Lee blog: http://www.cnblogs.com/Alandre/ (泥沙砖瓦浆木匠),retain the url when reproduced ! Thanks 今天我们来Android UI第一讲:实现Layout 背景局部Shape圆角设计 效果图: 第一步:定义一个shape res/drawable/shape_to_corner_no_bottom_line.xml <?xml version="1.0" encoding=&quo…