IT-Academy

XML Linear Vahy Android

Jul 4th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.64 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3.     xmlns:android="http://schemas.android.com/apk/res/android"
  4.     android:orientation="vertical"
  5.     android:layout_width="fill_parent"
  6.     android:layout_height="fill_parent"
  7.     >
  8.     <Button
  9.         android:text="50%"
  10.         android:layout_width="fill_parent"
  11.         android:layout_height="0dip"
  12.         android:layout_weight="50"
  13.     />
  14.     <Button
  15.         android:text="30%"
  16.         android:layout_width="fill_parent"
  17.         android:layout_height="0dip"
  18.         android:layout_weight="30"
  19.     />
  20.     <Button
  21.         android:text="20%"
  22.         android:layout_width="fill_parent"
  23.         android:layout_height="0dip"
  24.         android:layout_weight="20"
  25.     />
  26. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment