摘要:
一般外层加个ScrollView.键盘弹出时默认滚动到最下面 清单文件里: android:windowSoftInputMode="adjustResize|stateHidden" 详细介绍: http://blog.csdn.net/feng88724/article/details/6186 阅读全文
摘要:
android:hint="搜索" android:paddingLeft="10dp"(设置padding,hint字在哪里,光标就在哪里)。 另外: android:textColorHint="#898989" //设置hint字体的颜色 阅读全文
摘要:
<pre class="java" name="code">java代码中如下设置间距 </pre> <pre></pre> <pre class="java" name="code">ImageView image1 = new ImageView(DetailActivity.this); Li 阅读全文