<img>
tag inside a <div>
tag and text-align
to center
.<!-- html elems -->
<div class="wrapper-img">
<img src="images/pic.png">
</div>
/* css */Example of a centre aligned image using the above snippets:
.wrapper-img {
text-align: center;
}
<img>
tag inside a <div>
tag and text-align
to center
.<!-- html elems -->
<div class="wrapper-img">
<img src="images/pic.png">
</div>
/* css */Example of a centre aligned image using the above snippets:
.wrapper-img {
text-align: center;
}
-webkit-transform: translate3d(0, 0, 0);
.windowSoftInputMode="adjustPan"
in the activity
tag.activity
tag will look like:<activity
android:name=".ProjectNameActivity"
android:configChanges="orientation|keyboardHidden"
android:windowSoftInputMode="adjustPan"
android:label="@string/app_name">
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
com.springsource.sts.ide
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
384M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xmn128m
-Xms1024m
-Xmx1024m
-Xss2m
-XX:PermSize=256m
-XX:MaxPermSize=512m
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=50
-XX:+UseConcMarkSweepGC
-XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing
-XX:+UserParallelGC
JAVA_OPTS
environment variable value:-Xms512m -Xmx1g