tpbolon

activity_main_checkbox

Jun 21st, 2020
947
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools"
  3.    android:id="@+id/LinearLayout1"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:background="@drawable/dicodingproject"
  7.    android:orientation="vertical"
  8.    android:paddingBottom="@dimen/activity_vertical_margin"
  9.    android:paddingLeft="@dimen/activity_horizontal_margin"
  10.    android:paddingRight="@dimen/activity_horizontal_margin"
  11.    android:paddingTop="@dimen/activity_vertical_margin"
  12.    tools:context=".MainActivity" >
  13.  
  14.     <TextView
  15.        android:id="@+id/textView1"
  16.        android:layout_width="wrap_content"
  17.        android:layout_height="wrap_content"
  18.        android:text="List Menu : " />
  19.  
  20.     <CheckBox
  21.        android:id="@+id/cbnasi"
  22.        android:layout_width="wrap_content"
  23.        android:layout_height="wrap_content"
  24.        android:text="Nasi Goreng" />
  25.  
  26.     <CheckBox
  27.        android:id="@+id/cbminuman"
  28.        android:layout_width="wrap_content"
  29.        android:layout_height="wrap_content"
  30.        android:text="Minuman Dingin" />
  31.  
  32.     <CheckBox
  33.        android:id="@+id/cbcemilan"
  34.        android:layout_width="wrap_content"
  35.        android:layout_height="wrap_content"
  36.        android:text="Cemilan" />
  37.  
  38.     <Button
  39.        android:id="@+id/btpesan"
  40.        android:layout_width="wrap_content"
  41.        android:layout_height="wrap_content"
  42.        android:text="Pesan" />
  43.  
  44. </LinearLayout>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×