Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- CHANGE LAYOUT WEIGHT ACCORDING TO YOUR NEED-->
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/LinearLayout"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="horizontal"
- android:weightSum="2"
- android:background="@color/white">
- <LinearLayout
- android:id="@+id/linearLayout1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:weightSum="10"
- android:orientation="vertical" >
- <fragment
- android:id="@+id/map"
- android:layout_marginTop="5dp"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="6"
- class="com.google.android.gms.maps.MapFragment"
- />
- <Button
- android:id="@+id/button3"
- android:layout_marginLeft="34dp"
- android:layout_marginTop="10dp"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:onClick="ClickTourismButton"
- android:text="@string/Tourism" />
- <Button
- android:id="@+id/button4"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:layout_marginLeft="34dp"
- android:text="@string/Nearby" />
- <Button
- android:id="@+id/button2"
- android:layout_marginLeft="34dp"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:text="@string/Favourites" />
- <Button
- android:id="@+id/button1"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:layout_marginLeft="34dp"
- android:text="@string/Map" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linearLayout2"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:weightSum="10"
- android:orientation="vertical" >
- <TextView
- android:layout_marginLeft="10dp"
- android:layout_marginTop="5dp"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:textIsSelectable="true"
- android:id="@+id/feedupdate1" />
- <ListView
- android:id="@android:id/list"
- android:background="@color/red"
- android:layout_marginTop="5dp"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="4"
- android:layout_marginLeft="10dp"/>
- <TextView
- android:id="@+id/empty"
- android:textIsSelectable="true"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:layout_marginLeft="10dp"
- android:layout_marginTop="5dp"/>
- <TextView
- android:id="@+id/feedupdate"
- android:layout_marginLeft="6dp"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:layout_marginTop="430dp"
- android:textIsSelectable="true"/>
- <ListView
- android:id="@+id/list1"
- android:background="@color/blue"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="3"
- android:layout_marginTop="430dp"
- android:layout_marginLeft="6dp" />
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement