Overlapping A Screen In Android
In the below layout i have a text view named as scanning device.In that am displaying a device name But my device list was displaying above the screen . can any one please help me
Solution 1:
change this things.. used both wrap_content. i hope you also remove default action bar.
<LinearLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_marginTop="?attr/actionBarSize"android:orientation="vertical"><TextViewandroid:id="@+id/scan_status"android:layout_width="match_parent"android:layout_height="wrap_content"android:layout_gravity="center"android:layout_marginTop="18dp"android:gravity="center"android:visibility="gone"tools:visibility="visible" /><android.support.v7.widget.RecyclerViewandroid:id="@+id/deviceListView"android:layout_width="match_parent"android:layout_height="wrap_content" /></LinearLayout>
Post a Comment for "Overlapping A Screen In Android"