Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:padding="10dp"
- android:background="#6D45C4B6"
- tools:context=".MainActivity">
- <EditText
- android:id="@+id/edtNomor"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:padding="10dp"
- android:inputType="number"
- android:background="#ffffff"
- android:textColor="#000000"/>
- <Button
- android:id="@+id/btnKonversi"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="Konversi"
- android:padding="10dp"
- android:textColor="#000000"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_marginTop="30dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="#000000"
- android:gravity="center"
- android:text="BIN:"
- android:textSize="25dp"
- android:layout_weight="3"/>
- <TextView
- android:id="@+id/txtBin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="#7A7979"
- android:textColor="#FFFFFF"
- android:padding="10dp"
- android:layout_weight="1"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_marginTop="30dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="#000000"
- android:gravity="center"
- android:text="OCT:"
- android:textSize="25dp"
- android:layout_weight="3"/>
- <TextView
- android:id="@+id/txtOct"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="#7A7979"
- android:textColor="#FFFFFF"
- android:padding="10dp"
- android:layout_weight="1"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_marginTop="30dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="#000000"
- android:gravity="center"
- android:text="HEX:"
- android:textSize="25dp"
- android:layout_weight="3"/>
- <TextView
- android:id="@+id/txtHex"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="#7A7979"
- android:textColor="#FFFFFF"
- android:padding="10dp"
- android:layout_weight="1"/>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement