Advertisement
Guest User

activity_main.xml

a guest
Nov 10th, 2016
20,998
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.32 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3.         xmlns:android="http://schemas.android.com/apk/res/android"
  4.         xmlns:tools="http://schemas.android.com/tools"
  5.         android:id="@+id/activity_main"
  6.         android:layout_width="match_parent"
  7.         android:layout_height="match_parent"
  8.         android:paddingLeft="@dimen/activity_horizontal_margin"
  9.         android:paddingRight="@dimen/activity_horizontal_margin"
  10.         android:paddingTop="@dimen/activity_vertical_margin"
  11.         android:paddingBottom="@dimen/activity_vertical_margin"
  12.         tools:context="com.okedroid.simplelistview.MainActivity">
  13.  
  14.     <!--List View -->
  15.     <ListView
  16.             android:layout_width="match_parent"
  17.             android:layout_height="match_parent"
  18.             android:layout_marginTop="17dp"
  19.             android:id="@+id/list_view"
  20.  
  21.             />
  22.  
  23.     <TextView
  24.             android:text="Pilih Bahasa Pemrograman :"
  25.             android:textStyle="bold"
  26.             android:layout_marginBottom="16dp"
  27.             android:layout_alignParentTop="true"
  28.             android:layout_width="wrap_content"
  29.             android:layout_height="wrap_content"
  30.             android:layout_alignParentBottom="true"
  31.             android:layout_alignParentStart="true"
  32.             android:id="@+id/textView"/>
  33. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement