• RelativeLayoutxmlns:android="http://schemas.android.com/ apk/res/android" xmlns_tools="http://schemas.android.com/tools "android:layout_width="match_parent"
  • ___android_layout_width="orash_kontent"">"vositalar:context=".Asosiy faoliyat" > android_layout_width="orash_kontent"
  • manifestxmlns:android="http://schemas.android.com/apk/




    Download 318,74 Kb.
    bet6/8
    Sana16.01.2024
    Hajmi318,74 Kb.
    #138880
    1   2   3   4   5   6   7   8
    Bog'liq
    Diyorbek kurs ishi

    manifestxmlns:android="http://schemas.android.com/apk/
    res/android"
    package="com.example.vipul.filedemo">

    <ilova
    android_allowBackup="to'g'ri"
    android_icon="@mipmap/ic_launcher"
    android_label="@string/app_name"
    android_theme="@style/AppTheme">
    <faoliyat
    android_name=".MainActivity"
    android_label="@string/app_name">
    <niyat-filtr>
    <actionandroid:name=
    "android.intent.action.MAIN"/>
    <categoryandroid:name=
    "android.intent.category.LAUNCHER"/>
    niyat-filtr>
    faoliyat>
    ilova>
    <uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    manifest>
    Biz faqat oldingi deklaratsiyani tashqi xotiraga yozish uchun zarur bo'lgan narsalarni qanday e'lon qilish kerakligini ko'rsatish uchun qilamiz. Endi biz ichki xotiradagi fayl bilan ishlashga o'tamiz.
    Dizayn ko'rinishiga o'ting va quyidagi kodda ko'rsatilganidek, ikkita tugmachani qo'shing.
    <RelativeLayoutxmlns:android="http://schemas.android.com/
    apk/res/android"
    xmlns_tools="http://schemas.android.com/tools
    "android:layout_width="match_parent"
    android_paddingRight="@dimen/activity_horizontal_margin"
    android_paddingTop="@dimen/activity_vertical_margin"
    android_paddingBottom="@dimen/activity_vertical_margin
    "vositalar:context=".Asosiy faoliyat">

    <TextViewandroid:text="@string/hello_world"
    android_layout_width="o'rash_kontent"
    android_layout_height="o'rash_kontent"
    android_id="@+id/textView"/>

    <tugma
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" ;
    android:text="Fayl yaratish"
    android:id="@+id/buttonCreateFile"

    Download 318,74 Kb.
    1   2   3   4   5   6   7   8




    Download 318,74 Kb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    manifestxmlns:android="http://schemas.android.com/apk/

    Download 318,74 Kb.