SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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=".MainActivity">
  8.  
  9.     <androidx.constraintlayout.widget.Guideline
  10.         android:id="@+id/guidelineV01"
  11.         android:layout_width="wrap_content"
  12.         android:layout_height="wrap_content"
  13.         android:orientation="vertical"
  14.         app:layout_constraintGuide_percent="0.25" />
  15.     <androidx.constraintlayout.widget.Guideline
  16.         android:id="@+id/guidelineV02"
  17.         android:layout_width="wrap_content"
  18.         android:layout_height="wrap_content"
  19.         android:orientation="vertical"
  20.         app:layout_constraintGuide_percent="0.5" />
  21.     <androidx.constraintlayout.widget.Guideline
  22.         android:id="@+id/guidelineV03"
  23.         android:layout_width="wrap_content"
  24.         android:layout_height="wrap_content"
  25.         android:orientation="vertical"
  26.         app:layout_constraintGuide_percent="0.75" />
  27.     <androidx.constraintlayout.widget.Guideline
  28.         android:id="@+id/guidelineH01"
  29.         android:layout_width="wrap_content"
  30.         android:layout_height="wrap_content"
  31.         android:orientation="horizontal"
  32.         app:layout_constraintGuide_percent="0.28"/>
  33.     <androidx.constraintlayout.widget.Guideline
  34.         android:id="@+id/guidelineH02"
  35.         android:layout_width="wrap_content"
  36.         android:layout_height="wrap_content"
  37.         android:orientation="horizontal"
  38.         app:layout_constraintGuide_percent="0.4"/>
  39.     <androidx.constraintlayout.widget.Guideline
  40.         android:id="@+id/guidelineH03"
  41.         android:layout_width="wrap_content"
  42.         android:layout_height="wrap_content"
  43.         android:orientation="horizontal"
  44.         app:layout_constraintGuide_percent="0.52"/>
  45.     <androidx.constraintlayout.widget.Guideline
  46.         android:id="@+id/guidelineH04"
  47.         android:layout_width="wrap_content"
  48.         android:layout_height="wrap_content"
  49.         android:orientation="horizontal"
  50.         app:layout_constraintGuide_percent="0.64"/>
  51.     <androidx.constraintlayout.widget.Guideline
  52.         android:id="@+id/guidelineH05"
  53.         android:layout_width="wrap_content"
  54.         android:layout_height="wrap_content"
  55.         android:orientation="horizontal"
  56.         app:layout_constraintGuide_percent="0.76"/>
  57.     <androidx.constraintlayout.widget.Guideline
  58.         android:id="@+id/guidelineH06"
  59.         android:layout_width="wrap_content"
  60.         android:layout_height="wrap_content"
  61.         android:orientation="horizontal"
  62.         app:layout_constraintGuide_percent="0.88"/>
  63.  
  64.     <Button
  65.         android:id="@+id/buttonCE"
  66.         android:layout_width="0dp"
  67.         android:layout_height="0dp"
  68.         android:text="CE"
  69.         android:textSize="20pt"
  70.         app:layout_constraintLeft_toLeftOf="parent"
  71.         app:layout_constraintRight_toRightOf="@id/guidelineV02"
  72.         app:layout_constraintBottom_toBottomOf="@id/guidelineH02"
  73.         app:layout_constraintTop_toTopOf="@id/guidelineH01"
  74.         />
  75.     <Button
  76.         android:id="@+id/buttonX"
  77.         android:layout_width="0dp"
  78.         android:layout_height="0dp"
  79.         android:text="X"
  80.         android:textSize="20pt"
  81.         app:layout_constraintLeft_toLeftOf="@id/guidelineV02"
  82.         app:layout_constraintRight_toRightOf="@id/guidelineV03"
  83.         app:layout_constraintBottom_toBottomOf="@id/guidelineH02"
  84.         app:layout_constraintTop_toTopOf="@id/guidelineH01"
  85.         />
  86.     <Button
  87.         android:id="@+id/buttonDziel"
  88.         android:layout_width="0dp"
  89.         android:layout_height="0dp"
  90.         android:text="/"
  91.         android:textSize="20pt"
  92.         app:layout_constraintLeft_toLeftOf="@id/guidelineV03"
  93.         app:layout_constraintRight_toRightOf="parent"
  94.         app:layout_constraintBottom_toBottomOf="@id/guidelineH02"
  95.         app:layout_constraintTop_toTopOf="@id/guidelineH01"
  96.         />
  97.     <Button
  98.         android:id="@+id/buttonPercent"
  99.         android:layout_width="0dp"
  100.         android:layout_height="0dp"
  101.         android:text="%"
  102.         android:textSize="20pt"
  103.         app:layout_constraintLeft_toLeftOf="parent"
  104.         app:layout_constraintRight_toRightOf="@id/guidelineV01"
  105.         app:layout_constraintBottom_toBottomOf="@id/guidelineH03"
  106.         app:layout_constraintTop_toTopOf="@id/guidelineH02"
  107.         />
  108.     <Button
  109.     android:id="@+id/buttonSQRT"
  110.     android:layout_width="0dp"
  111.     android:layout_height="0dp"
  112.         android:text="SQRT"
  113.         android:textSize="10pt"
  114.     app:layout_constraintLeft_toLeftOf="@id/guidelineV01"
  115.     app:layout_constraintRight_toRightOf="@id/guidelineV02"
  116.     app:layout_constraintBottom_toBottomOf="@id/guidelineH03"
  117.     app:layout_constraintTop_toTopOf="@id/guidelineH02"
  118.     />
  119.     <Button
  120.         android:id="@+id/buttonSYR"
  121.         android:layout_width="0dp"
  122.         android:layout_height="0dp"
  123.         android:text="syr"
  124.         android:textSize="10pt"
  125.         app:layout_constraintLeft_toLeftOf="@id/guidelineV02"
  126.         app:layout_constraintRight_toRightOf="@id/guidelineV03"
  127.         app:layout_constraintBottom_toBottomOf="@id/guidelineH03"
  128.         app:layout_constraintTop_toTopOf="@id/guidelineH02"
  129.         />
  130.     <Button
  131.         android:id="@+id/buttonMnoz"
  132.         android:layout_width="0dp"
  133.         android:layout_height="0dp"
  134.         android:text="*"
  135.         android:textSize="20pt"
  136.         app:layout_constraintLeft_toLeftOf="@id/guidelineV03"
  137.         app:layout_constraintRight_toRightOf="parent"
  138.         app:layout_constraintBottom_toBottomOf="@id/guidelineH03"
  139.         app:layout_constraintTop_toTopOf="@id/guidelineH02"
  140.         />
  141.     <Button
  142.         android:id="@+id/button7"
  143.         android:layout_width="0dp"
  144.         android:layout_height="0dp"
  145.         android:text="7"
  146.         android:textSize="20pt"
  147.         app:layout_constraintLeft_toLeftOf="parent"
  148.         app:layout_constraintRight_toRightOf="@id/guidelineV01"
  149.         app:layout_constraintBottom_toBottomOf="@id/guidelineH04"
  150.         app:layout_constraintTop_toTopOf="@id/guidelineH03"
  151.         />
  152.     <Button
  153.         android:id="@+id/button8"
  154.         android:layout_width="0dp"
  155.         android:layout_height="0dp"
  156.         android:text="8"
  157.         android:textSize="20pt"
  158.         app:layout_constraintLeft_toLeftOf="@id/guidelineV01"
  159.         app:layout_constraintRight_toRightOf="@id/guidelineV02"
  160.         app:layout_constraintBottom_toBottomOf="@id/guidelineH04"
  161.         app:layout_constraintTop_toTopOf="@id/guidelineH03"
  162.         />
  163.     <Button
  164.         android:id="@+id/button9"
  165.         android:layout_width="0dp"
  166.         android:layout_height="0dp"
  167.         android:text="9"
  168.         android:textSize="20pt"
  169.         app:layout_constraintLeft_toLeftOf="@id/guidelineV02"
  170.         app:layout_constraintRight_toRightOf="@id/guidelineV03"
  171.         app:layout_constraintBottom_toBottomOf="@id/guidelineH04"
  172.         app:layout_constraintTop_toTopOf="@id/guidelineH03"
  173.         />
  174.     <Button
  175.         android:id="@+id/buttonMinus"
  176.         android:layout_width="0dp"
  177.         android:layout_height="0dp"
  178.         android:text="-"
  179.         android:textSize="20pt"
  180.         app:layout_constraintLeft_toLeftOf="@id/guidelineV03"
  181.         app:layout_constraintRight_toRightOf="parent"
  182.         app:layout_constraintBottom_toBottomOf="@id/guidelineH04"
  183.         app:layout_constraintTop_toTopOf="@id/guidelineH03"
  184.         />
  185.     <Button
  186.         android:id="@+id/button4"
  187.         android:layout_width="0dp"
  188.         android:layout_height="0dp"
  189.         android:text="4"
  190.         android:textSize="20pt"
  191.         app:layout_constraintLeft_toLeftOf="parent"
  192.         app:layout_constraintRight_toRightOf="@id/guidelineV01"
  193.         app:layout_constraintBottom_toBottomOf="@id/guidelineH05"
  194.         app:layout_constraintTop_toTopOf="@id/guidelineH04"
  195.         />
  196.     <Button
  197.         android:id="@+id/button5"
  198.         android:layout_width="0dp"
  199.         android:layout_height="0dp"
  200.         android:text="5"
  201.         android:textSize="20pt"
  202.         app:layout_constraintLeft_toLeftOf="@id/guidelineV01"
  203.         app:layout_constraintRight_toRightOf="@id/guidelineV02"
  204.         app:layout_constraintBottom_toBottomOf="@id/guidelineH05"
  205.         app:layout_constraintTop_toTopOf="@id/guidelineH04"
  206.         />
  207.     <Button
  208.         android:id="@+id/button6"
  209.         android:layout_width="0dp"
  210.         android:layout_height="0dp"
  211.         android:text="6"
  212.         android:textSize="20pt"
  213.         app:layout_constraintLeft_toLeftOf="@id/guidelineV02"
  214.         app:layout_constraintRight_toRightOf="@id/guidelineV03"
  215.         app:layout_constraintBottom_toBottomOf="@id/guidelineH05"
  216.         app:layout_constraintTop_toTopOf="@id/guidelineH04"
  217.         />
  218.     <Button
  219.         android:id="@+id/buttonPlus"
  220.         android:layout_width="0dp"
  221.         android:layout_height="0dp"
  222.         android:text="+"
  223.         android:textSize="20pt"
  224.         app:layout_constraintLeft_toLeftOf="@id/guidelineV03"
  225.         app:layout_constraintRight_toRightOf="parent"
  226.         app:layout_constraintBottom_toBottomOf="@id/guidelineH05"
  227.         app:layout_constraintTop_toTopOf="@id/guidelineH04"
  228.         />
  229.     <Button
  230.         android:id="@+id/button1"
  231.         android:layout_width="0dp"
  232.         android:layout_height="0dp"
  233.         android:text="1"
  234.         android:textSize="20pt"
  235.         app:layout_constraintLeft_toLeftOf="parent"
  236.         app:layout_constraintRight_toRightOf="@id/guidelineV01"
  237.         app:layout_constraintBottom_toBottomOf="@id/guidelineH06"
  238.         app:layout_constraintTop_toTopOf="@id/guidelineH05"
  239.         />
  240.     <Button
  241.         android:id="@+id/button2"
  242.         android:layout_width="0dp"
  243.         android:layout_height="0dp"
  244.         android:text="2"
  245.         android:textSize="20pt"
  246.         app:layout_constraintLeft_toLeftOf="@id/guidelineV01"
  247.         app:layout_constraintRight_toRightOf="@id/guidelineV02"
  248.         app:layout_constraintBottom_toBottomOf="@id/guidelineH06"
  249.         app:layout_constraintTop_toTopOf="@id/guidelineH05"
  250.         />
  251.     <Button
  252.         android:id="@+id/button3"
  253.         android:layout_width="0dp"
  254.         android:layout_height="0dp"
  255.         android:text="3"
  256.         android:textSize="20pt"
  257.         app:layout_constraintLeft_toLeftOf="@id/guidelineV02"
  258.         app:layout_constraintRight_toRightOf="@id/guidelineV03"
  259.         app:layout_constraintBottom_toBottomOf="@id/guidelineH06"
  260.         app:layout_constraintTop_toTopOf="@id/guidelineH05"
  261.         />
  262.     <Button
  263.         android:id="@+id/buttonWynik"
  264.         android:layout_width="0dp"
  265.         android:layout_height="0dp"
  266.         android:text="="
  267.         android:textSize="20pt"
  268.         app:layout_constraintLeft_toLeftOf="@id/guidelineV03"
  269.         app:layout_constraintRight_toRightOf="parent"
  270.         app:layout_constraintBottom_toBottomOf="parent"
  271.         app:layout_constraintTop_toTopOf="@id/guidelineH05"
  272.         />
  273.     <Button
  274.         android:id="@+id/buttonPlusMinus"
  275.         android:layout_width="0dp"
  276.         android:layout_height="0dp"
  277.         android:text="+/-"
  278.         android:textSize="20pt"
  279.         app:layout_constraintLeft_toLeftOf="parent"
  280.         app:layout_constraintRight_toRightOf="@id/guidelineV01"
  281.         app:layout_constraintBottom_toBottomOf="parent"
  282.         app:layout_constraintTop_toTopOf="@id/guidelineH06"
  283.         />
  284.     <Button
  285.         android:id="@+id/button0"
  286.         android:layout_width="0dp"
  287.         android:layout_height="0dp"
  288.         android:text="0"
  289.         android:textSize="20pt"
  290.         app:layout_constraintLeft_toLeftOf="@id/guidelineV01"
  291.         app:layout_constraintRight_toRightOf="@id/guidelineV02"
  292.         app:layout_constraintBottom_toBottomOf="parent"
  293.         app:layout_constraintTop_toTopOf="@id/guidelineH06"
  294.         />
  295.     <Button
  296.         android:id="@+id/buttonPrzecinek"
  297.         android:layout_width="0dp"
  298.         android:layout_height="0dp"
  299.         android:text=","
  300.         android:textSize="20pt"
  301.         app:layout_constraintLeft_toLeftOf="@id/guidelineV02"
  302.         app:layout_constraintRight_toRightOf="@id/guidelineV03"
  303.         app:layout_constraintBottom_toBottomOf="parent"
  304.         app:layout_constraintTop_toTopOf="@id/guidelineH06"
  305.         />
  306.     <TextView
  307.         android:id="@+id/textView01"
  308.         android:layout_width="0dp"
  309.         android:layout_height="0dp"
  310.         android:textAlignment="gravity"
  311.         android:gravity="right|center"
  312.         android:paddingRight="20dp"
  313.         android:text="000000"
  314.         android:textSize="30pt"
  315.         app:layout_constraintBottom_toBottomOf="@id/guidelineH01"
  316.         app:layout_constraintLeft_toLeftOf="parent"
  317.         app:layout_constraintRight_toRightOf="parent"
  318.         app:layout_constraintTop_toTopOf="parent"
  319.         />
  320. </androidx.constraintlayout.widget.ConstraintLayout>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top