Advertisement
Guest User

Untitled

a guest
May 19th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.95 KB | None | 0 0
  1. <TableLayout
  2.    xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:id="@+id/TableLayout1"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:paddingBottom="@dimen/activity_vertical_margin"
  8.    android:paddingLeft="@dimen/activity_horizontal_margin"
  9.    android:paddingRight="@dimen/activity_horizontal_margin"
  10.    android:paddingTop="@dimen/activity_vertical_margin"
  11.    android:shrinkColumns="*"
  12.    android:stretchColumns="2"
  13.    tools:context=".EditActivity" >
  14.  
  15.     <TableRow
  16.        android:id="@+id/tableRow1"
  17.        android:layout_width="wrap_content"
  18.        android:layout_height="wrap_content">
  19.  
  20.         <TextView
  21.            android:id="@+id/textView1"
  22.            android:layout_width="wrap_content"
  23.            android:layout_height="wrap_content"
  24.            android:text="@string/producent_napis"/>
  25.  
  26.         <EditText
  27.            android:id="@+id/producentEdycja"
  28.            android:layout_width="wrap_content"
  29.            android:layout_height="wrap_content"
  30.            android:layout_span="3" >
  31.             <requestFocus />
  32.         </EditText>
  33.  
  34.     </TableRow>
  35.  
  36.  
  37.     <TableRow
  38.        android:id="@+id/tableRow2"
  39.        android:layout_width="wrap_content"
  40.        android:layout_height="wrap_content">
  41.  
  42.         <TextView
  43.            android:id="@+id/textView2"
  44.            android:layout_width="wrap_content"
  45.            android:layout_height="wrap_content"
  46.            android:text="@string/model_napis" />
  47.  
  48.         <EditText
  49.            android:id="@+id/modelEdycja"
  50.            android:layout_width="wrap_content"
  51.            android:layout_height="wrap_content"
  52.            android:layout_span="2" />
  53.  
  54.     </TableRow>
  55.  
  56.     <TableRow
  57.        android:id="@+id/tableRow3"
  58.        android:layout_width="wrap_content"
  59.        android:layout_height="wrap_content">
  60.  
  61.         <TextView
  62.            android:id="@+id/textView3"
  63.            android:layout_width="wrap_content"
  64.            android:layout_height="wrap_content"
  65.            android:text="@string/android_napis" />
  66.  
  67.         <EditText
  68.            android:id="@+id/androidEdycja"
  69.            android:layout_width="wrap_content"
  70.            android:layout_height="wrap_content"
  71.            android:layout_span="2" />
  72.  
  73.     </TableRow>
  74.  
  75.     <TableRow
  76.        android:id="@+id/tableRow4"
  77.        android:layout_width="wrap_content"
  78.        android:layout_height="wrap_content">
  79.  
  80.         <TextView
  81.            android:id="@+id/textView4"
  82.            android:layout_width="wrap_content"
  83.            android:layout_height="wrap_content"
  84.            android:text="@string/www_napis" />
  85.  
  86.         <EditText
  87.            android:id="@+id/wwwEdycja"
  88.            android:layout_width="wrap_content"
  89.            android:layout_height="wrap_content"
  90.            android:layout_span="2" />
  91.  
  92.     </TableRow>
  93.  
  94.     <TableRow
  95.        android:layout_width="match_parent"
  96.        android:layout_height="match_parent">
  97.  
  98.         <Button
  99.            style="?android:attr/buttonStyleSmall"
  100.            android:text="@string/www_napis"
  101.            android:id="@+id/wwwPrzycisk"
  102.            android:onClick="www"
  103.            android:layout_column="0" />
  104.  
  105.         <Button
  106.            style="?android:attr/buttonStyleSmall"
  107.            android:layout_width="wrap_content"
  108.            android:layout_height="wrap_content"
  109.            android:text="@string/anuluj_przycisk"
  110.            android:id="@+id/anulujPrzycisk"
  111.            android:onClick="anuluj"
  112.            android:layout_column="1" />
  113.  
  114.         <Button
  115.            style="?android:attr/buttonStyleSmall"
  116.            android:layout_width="wrap_content"
  117.            android:layout_height="wrap_content"
  118.            android:text="@string/zapisz_przycisk"
  119.            android:id="@+id/zapiszPrzycisk"
  120.            android:onClick="zapisz"
  121.            android:layout_column="1" />
  122.     </TableRow>
  123.  
  124. </TableLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement