Advertisement
Shishu

Activity prime

Oct 18th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.16 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.     android:orientation="vertical"
  8.     tools:context="com.example.user.main.prime">
  9.     <LinearLayout
  10.         android:layout_width="wrap_content"
  11.         android:layout_height="wrap_content"
  12.  
  13.         android:orientation="horizontal">
  14.  
  15.  
  16.         <TextView
  17.             android:id="@+id/t1"
  18.             android:layout_width="wrap_content"
  19.             android:layout_height="wrap_content"
  20.             android:text="num:"
  21.             android:textSize="30dp"/>
  22.         <EditText
  23.             android:id="@+id/e1"
  24.             android:layout_width="match_parent"
  25.             android:layout_height="wrap_content"/>
  26.     </LinearLayout>
  27.  
  28.     <Button
  29.         android:id="@+id/b5"
  30.         android:layout_width="wrap_content"
  31.         android:layout_height="wrap_content"
  32.         android:gravity="center"
  33.         android:text="Check for prime" />
  34.  
  35.  
  36. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement