android - Add a line after the fragment in the LinearLayout -


i trying add line after man fragment in linearlayout distinguish between map area , yellow area below map black line appear? how can add line after map fragment?

i appreciate helo.

map.xml

<linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     android:orientation="horizontal"     android:layout_width="fill_parent"     android:layout_height="fill_parent"     android:background="#ffff00">      <fragment     android:layout_width="match_parent"     android:layout_height="500dp"     android:id="@+id/map"     android:name="com.google.android.gms.maps.supportmapfragment"/>      <view     android:layout_width="fill_parent"     android:layout_height="2dp"     android:background="#181407"/>    </linearlayout> 

try setting android:orientation vertical. cause view appear below fragment, not right of it.


Comments

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -