Answer the question
In order to leave comments, you need to log in
How to remove focus from button when opening activity?
Hello. I have a question. There is such a template for activity:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/gtvBgNormal"
android:orientation="vertical">
<LinearLayout
android:id="@+id/hf_header_fragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:orientation="vertical" />
<LinearLayout
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/hf_header_fragment"
android:layout_above="@+id/hf_footer_fragment"
android:orientation="vertical" />
<LinearLayout
android:id="@+id/hf_footer_fragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:orientation="vertical" />
</RelativeLayout>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question