Topshiriq Radiobutton bilan ishlash
Har doimgidek biz Android studioni ishga tushirib bizga kerakli dizayni hosil qilib olamiz va
Men bu ishlarni ko’rsatib o’tmadim
Siz bu yerda tayyorlangan dizayni ko’ishingiz mumkin endi esa bu dizaynni xml kodini ko’rsataman.
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"
tools:context=".MainActivity"
android:orientation="vertical">
<TextView
android:id="@+id/current_pick"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="#AC26C3"
android:gravity="center"
android:text="@string/current_pick"
android:textColor="#ffffff"
/>