وبلاگ انجمن برنامه نویسی اندروید

p30droid.com
برنامه نویسی اندروید|آموزش برنامه نویسی اندروید|اندروید استودیو

۱ مطلب با کلمه‌ی کلیدی «آموزش استفاده از spinner» ثبت شده است

سه شنبه, ۳۱ مرداد ۱۳۹۶، ۰۱:۴۳ ب.ظ

آموزش استفاده از spinner

ابتدا از یک اس‍‍پینر در فایل ایکس ام ال خود استفاده می کنیم.

main.xml:

 

<?xml version="1.0" encoding="utf-8"?>

android:layout_width="fill_parent"

android:layout_height="fill_parent"

android:orientation="vertical" >

android:id="@+id/osversions"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_marginTop="10dp" />

android:id="@+id/selVersion"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_marginLeft="10dp"

android:layout_marginTop="20dp" />

 

۰ نظر موافقین ۰ مخالفین ۰ ۳۱ مرداد ۹۶ ، ۱۳:۴۳
اندروید ایران