Sunday, April 8, 2012

android


<?xml version="1.0" encoding="utf-8"?>
<TableLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">


  <TableRow>
    <TextView android:text="@string/idLbl"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
               />
    <TextView android:text=""
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:id="@+id/itemidv" />
  </TableRow>
  <TableRow>
    <TextView android:text="@string/nameLbl"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" />
    <TextView android:text=""
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:id="@+id/namev" />
  </TableRow>
  <TableRow>
    <TextView android:text="@string/amountLbl"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" />
    <TextView android:text=""
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:id="@+id/amountv" />
  </TableRow>
  <TableRow>
    <TextView android:text="@string/unitLbl"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" />
    <TextView android:text=""
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:id="@+id/unitv" />
  </TableRow>
  <TableRow>
    <TextView android:text="@string/ppuLbl"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" />
    <TextView android:text=""
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:id="@+id/ppuv" />
  </TableRow>
  <TableRow>
    <TextView android:text="@string/totalLbl"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" />
    <TextView android:text=""
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:id="@+id/totalv" />
  </TableRow>
  <TableRow>
    <TextView android:text="@string/commentLbl"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" />
    <TextView android:text=""
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:id="@+id/commentv" />
  </TableRow>
   <TableRow>
    <TextView android:text="@string/enterqrLbl"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" />
    <TextView android:text=""
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:id="@+id/qrcodev" />
  </TableRow>
   <Button android:text="@string/delete"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:id="@+id/deleteItemBtn"
           android:layout_marginTop="20dp"
           android:onClick="btnListener" />
</TableLayout>

<TableLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:stretchColumns="0">

No comments:

Post a Comment