write equations align equations to left To only align one equation, you can \begin{flalign} &\text{your equation}& \end{flalign} To align several equations, you can \begin{flalign} \begin{split} your equation (1)\\ your equation (2) \end{split}&am
系统自带的Gallery选中的item总是在组件的中间.但是有些时候我们需要把选中的元素放在左边或者是Gallery一出来就要放在左边.修改Gallery靠左对齐的思路:1.Gellary总是对center进行锁定的,所以可以考虑修改它的center的位置,把center改成在left的位置就可以了.Gallery中有个方法: /** *@return The center of this Gallery. */ private int getCenterOfGallery() { return