MyBlogShare

Tampilan Spinner / Dropdown list

Jul 4th, 2021
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.80 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.    android:padding="25dp"
  9.    tools:context=".MainActivity">
  10.    
  11.     <TextView
  12.        android:layout_width="match_parent"
  13.        android:layout_height="wrap_content"
  14.        android:id="@+id/textview"
  15.        android:text="Pilih Salah Satu Bahasa"/>
  16.    
  17.     <Spinner
  18.        android:layout_width="match_parent"
  19.        android:layout_height="wrap_content"
  20.        android:id="@+id/listBahasa"
  21.        android:layout_marginTop="10dp"/>
  22.    
  23. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment