Advertisement
Shishu

xml 2nd file for android database

Dec 13th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.78 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    tools:context=".Database2"
  8.    android:gravity="center"
  9.    android:orientation="vertical">
  10.  
  11.  
  12.  
  13.     <LinearLayout
  14.        android:layout_width="match_parent"
  15.        android:layout_height="wrap_content"
  16.        android:orientation="horizontal"
  17.        android:layout_marginTop="20dp"
  18.        android:layout_marginLeft="20dp">
  19.  
  20.         <TextView
  21.  
  22.            android:layout_width="wrap_content"
  23.            android:layout_height="wrap_content"
  24.            android:text="Name:"
  25.            android:textSize="25sp"/>
  26.         <TextView
  27.            android:id="@+id/tname"
  28.            android:layout_width="match_parent"
  29.            android:layout_height="wrap_content"
  30.            android:textSize="25sp"/>
  31.  
  32.  
  33.     </LinearLayout>
  34.  
  35.     <LinearLayout
  36.        android:layout_width="match_parent"
  37.        android:layout_height="wrap_content"
  38.        android:orientation="horizontal"
  39.        android:layout_marginTop="20dp"
  40.        android:layout_marginLeft="20dp">
  41.  
  42.         <TextView
  43.  
  44.            android:layout_width="wrap_content"
  45.            android:layout_height="wrap_content"
  46.            android:text="College:"
  47.            android:textSize="25sp"/>
  48.         <TextView
  49.            android:id="@+id/cname"
  50.            android:layout_width="match_parent"
  51.            android:layout_height="wrap_content"
  52.            android:textSize="25sp"/>
  53.  
  54.  
  55.     </LinearLayout>
  56.  
  57.     <LinearLayout
  58.        android:layout_width="match_parent"
  59.        android:layout_height="wrap_content"
  60.        android:orientation="horizontal"
  61.        android:layout_marginTop="40dp"
  62.        android:layout_marginLeft="20dp">
  63.  
  64.         <Button
  65.            android:id="@+id/bb1"
  66.            android:layout_width="wrap_content"
  67.            android:layout_height="wrap_content"
  68.            android:text="PREV"
  69.            android:textSize="25sp"
  70.            android:layout_marginRight="40dp"
  71.            android:layout_marginLeft="30dp"/>
  72.  
  73.         <Button
  74.            android:id="@+id/bb2"
  75.            android:layout_width="wrap_content"
  76.            android:layout_height="wrap_content"
  77.            android:text="NEXT"
  78.            android:textSize="25sp"
  79.            android:layout_marginLeft="80dp"
  80.            />
  81.  
  82.  
  83.     </LinearLayout>
  84.     <Button
  85.        android:id="@+id/bb3"
  86.        android:layout_width="wrap_content"
  87.        android:layout_height="wrap_content"
  88.        android:text="HOME"
  89.        android:layout_marginTop="20dp"
  90.        android:textSize="25sp"
  91.        />
  92. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement