全屏播放活动

时间:2016-12-20 13:37:16

标签: android android-activity fullscreen android-theme

我有一项活动,我希望全屏。我试图改变主题。但它不起作用。然后我以编程方式尝试,但我既不工作。知道我做错了吗?

<form method="post" action="contact-form.php" name="contactform" id="contactform">
    <fieldset>
        <input name="name" type="text" id="name" placeholder="Name"/> 
        <input name="email" type="text" id="email" placeholder="Email"/>  
        <input name="subject" type="text" id="subject" placeholder="Subject"/> 
    </fieldset>
    <fieldset> 
        <textarea name="comments" cols="40" rows="3" id="comments" placeholder="Message"></textarea>
    </fieldset>
    <input type="submit" class="submit" id="submit" value="Send Message" />
</form>

enter image description here

我怎么说“NoTitlebar THeme”对我没用。

1 个答案:

答案 0 :(得分:0)

转到值,然后转到enter并更改第一行,如下所示:

.settings-controls { overflow: hidden; height: 100%; max-height: 999px; transition: all 1s; } .settings-enter { max-height: 1px !important; opacity: 0 !important; } .settings-enter-active { max-height: 999px; opacity: 1; transition: all 1s; }

然后转到styles.xml并在aplication的主题添加:

<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">