Advertisement
Ankhwatcher

About Page Layout

Nov 28th, 2012
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.09 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="fill_parent"
  4.    android:layout_height="fill_parent"
  5.    android:orientation="vertical" >
  6.  
  7.     <ScrollView
  8.        android:layout_width="match_parent"
  9.        android:layout_height="0dip"
  10.        android:layout_weight="4" >
  11.  
  12.         <LinearLayout
  13.            android:layout_width="match_parent"
  14.            android:layout_height="wrap_content"
  15.            android:orientation="vertical"
  16.            android:paddingLeft="16dip"
  17.            android:paddingRight="16dip" >
  18.  
  19.             <TextView
  20.                android:layout_width="wrap_content"
  21.                android:layout_height="wrap_content"
  22.                android:text="@string/about_text"
  23.                android:textAppearance="?android:attr/textAppearanceMedium" />
  24.         </LinearLayout>
  25.     </ScrollView>
  26.  
  27.     <LinearLayout
  28.        android:layout_width="fill_parent"
  29.        android:layout_height="0dip"
  30.        android:layout_weight="1"
  31.        android:orientation="horizontal" >
  32.  
  33.         <TextView
  34.            android:id="@+id/aboutReport"
  35.            android:layout_width="0dip"
  36.            android:layout_height="match_parent"
  37.            android:layout_margin="8dip"
  38.            android:layout_weight="1"
  39.            android:background="@color/translucent_red"
  40.            android:clickable="true"
  41.            android:gravity="center"
  42.            android:text="@string/about_report"
  43.            android:textAppearance="?android:attr/textAppearanceLarge" />
  44.  
  45.         <TextView
  46.            android:id="@+id/aboutRequest"
  47.            android:layout_width="0dip"
  48.            android:layout_height="match_parent"
  49.            android:layout_margin="8dip"
  50.            android:layout_weight="1"
  51.            android:background="@color/translucent_cyan"
  52.            android:clickable="true"
  53.            android:gravity="center"
  54.            android:text="@string/about_request"
  55.            android:textAppearance="?android:attr/textAppearanceLarge" />
  56.     </LinearLayout>
  57.  
  58. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement