Advertisement
MarMar_IV

layouts

Jun 6th, 2014
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.35 KB | None | 0 0
  1. //SettingsForm
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:id="@+id/container"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    tools:context="cz.kpb.mmw.SettingsForm"
  8.    tools:ignore="MergeRootFrame" />
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. //Fragment layout
  23. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  24.   xmlns:tools="http://schemas.android.com/tools"
  25.   android:layout_width="match_parent"
  26.   android:layout_height="match_parent"
  27.   android:paddingLeft="@dimen/activity_horizontal_margin"
  28.   android:paddingRight="@dimen/activity_horizontal_margin"
  29.   android:paddingTop="@dimen/activity_vertical_margin"
  30.   android:paddingBottom="@dimen/activity_vertical_margin"
  31.   android:id="@+id/fragment_settings_form_page1"
  32.   tools:context="cz.kpb.mmw.SettingsForm$PlaceholderFragment">
  33.  
  34.     <TextView
  35.       android:text="@string/hello_world"
  36.       android:layout_width="wrap_content"
  37.       android:layout_height="wrap_content" />
  38.  
  39.     <Button
  40.       android:layout_width="wrap_content"
  41.       android:layout_height="wrap_content"
  42.       android:text="New Button"
  43.       android:id="@+id/button"
  44.       android:layout_centerVertical="true"
  45.       android:layout_centerHorizontal="true" />
  46.  
  47. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement