All the textviews and seekbars that I dragged into the android screen in the Android ADK seem to be locked to the left side of the screen by default:
This is the xml file:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://ift.tt/nIICcg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/freqIndxTextView_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/freqIndxTextView_string" />
.
.
.
.
.
</LinearLayout>
I am supposing the problem is that I have not understood how Linearlayout works. I can move the textviews and seekbars up and down, but their left side seem to be stuck to the left edge of the screen. How do I remove this feature? Is it possible to drag and drop controls on the IDE like we can do in Visual C++?
No comments:
Post a Comment