Android implementation up and down swipe quiz record

Source: Internet
Author: User
<span id="Label3"></p><p><p>Layout most outsourced One-layer scroll bar</p></p> <table class="syntaxhighlighter java" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td class="gutter">12345678910111213</td> <td class="code"><code class="java spaces"><code class="java spaces"> </code></code><code class="java plain"><code class="java plain"><ScrollView</code></code><code class="java spaces"><code class="java spaces">        </code></code><code class="java plain"><code class="java plain">android:id=</code></code><code class="java string"><code class="java string">"@+id/scrollView1"</code></code><code class="java spaces"><code class="java spaces">        </code></code><code class="java plain"><code class="java plain">android:layout_width=</code></code><code class="java string"><code class="java string">"match_parent"</code></code><code class="java spaces"><code class="java spaces">        </code></code><code class="java plain"><code class="java plain">android:layout_height=</code></code><code class="java string"><code class="java string">"wrap_content"</code></code><code class="java plain"><code class="java plain">></code></code> <code class="java spaces"><code class="java spaces">        </code></code><code class="java plain"><code class="java plain"><LinearLayout</code></code><code class="java spaces"><code class="java spaces">            </code></code><code class="java plain"><code class="java plain">android:layout_width=</code></code><code class="java string"><code class="java string">"match_parent"</code></code><code class="java spaces"><code class="java spaces">            </code></code><code class="java plain"><code class="java plain">android:layout_height=</code></code><code class="java string"><code class="java string">"match_parent"</code></code><code class="java spaces"><code class="java spaces">            </code></code><code class="java plain"><code class="java plain">android:orientation=</code></code><code class="java string"><code class="java string">"vertical"</code></code><code class="java plain"><code class="java plain">></code></code><code class="java spaces"><code class="java spaces">        </code></code><code class="java plain"><code class="java plain"></LinearLayout></code></code><code class="java spaces"><code class="java spaces">    </code></code><code class="java plain"><code class="java plain"></ScrollView></code></code><code class="java spaces"><code class="java spaces">    </code></code><code class="java plain"><code class="java plain">强制横竖屏</code></code><code class="java spaces"><code class="java spaces">    </code></code><code class="java plain"><code class="java plain">在配置文件中对Activity节点添加android:screenOrientation属性(landscape是横向,portrait是纵向)</code></code></td> </tr> </tbody> </table>Ask:<pre><pre>Sliding down to be able to succeed, but placed under the first layout, put on the outermost error,<br><br>There is no implementation of the lock screen, my configuration file is not the activity of this node, is not this node in addition to the attributes of what attributes, whether it is placed under the manifest</pre></pre>Chase Answer: <table class="syntaxhighlighter java" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td class="gutter">12345678910</td> <td class="code"><code class="java plain"><code class="java plain"><activity</code></code><code class="java spaces"><code class="java spaces">            </code></code><code class="java plain"><code class="java plain">android:name=</code></code><code class="java string"><code class="java string">".MainActivity"</code></code><code class="java spaces"><code class="java spaces">            </code></code><code class="java plain"><code class="java plain">android:label=</code></code><code class="java string"><code class="java string">"@string/app_name"</code></code><code class="java spaces"><code class="java spaces">            </code></code><code class="java plain"><code class="java plain">android:screenOrientation = </code></code><code class="java string"><code class="java string">"landscape"</code></code><code class="java plain"><code class="java plain">></code></code><code class="java spaces"><code class="java spaces">            </code></code><code class="java plain"><code class="java plain"><intent-filter></code></code><code class="java spaces"><code class="java spaces">                </code></code><code class="java plain"><code class="java plain"><action android:name=</code></code><code class="java string"><code class="java string">"android.intent.action.MAIN"</code></code><code class="java plain"><code class="java plain">/></code></code><code class="java spaces"><code class="java spaces">                </code></code><code class="java plain"><code class="java plain"><category android:name=</code></code><code class="java string"><code class="java string">"android.intent.category.LAUNCHER"</code></code><code class="java plain"><code class="java plain">/></code></code><code class="java spaces"><code class="java spaces">            </code></code><code class="java plain"><code class="java plain"></intent-filter></code></code><code class="java spaces"><code class="java spaces">        </code></code><code class="java plain"><code class="java plain"></activity></code></code></td> </tr> </tbody> </table><p><p>The Android project cannot have no activity node</p></p><p><p>Android implementation up and down swipe quiz record</p></p></span>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.