Currently, in my android project. I am using a couple Activities and presenting them as if they are dialogs. I basically in my AndroidManifest do this
<activity
android:name=".view.common.activity.message.TextMessageActivity"
android:screenOrientation="portrait"
android:theme="@style/MessageDialog" />
And in my styles.xml
<style name="MessageDialog" parent="@style/Theme.AppCompat.Light.Dialog">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:windowNoTitle">true</item>
</style>
Now, i notice that the width and height are almost covering the whole screen. Are there anyway for me to tweak the height so that it doesn't do that? Perhaps setting a fixed height of 300dp or set height by having a really wide padding to top and bottom.