انجمن سایت کلیدستان


رتبه موضوع:
  • 0 رای - 0 میانگین
  • 1
  • 2
  • 3
  • 4
  • 5
مشکل نمایش view ها در صفحه نمایش های مختلف (در برنامه نویسی اندروید)

مشکل نمایش view ها در صفحه نمایش های مختلف (در برنامه نویسی اندروید)

#3
ببخشید یادم رفت !

کد پی‌اچ‌پی:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <LinearLayout
        android:orientation="horizontal"
        android:background="#006ad0"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="top">
        <EditText
            android:maxHeight="200dp"
            android:layout_marginStart="10dp"
            android:layout_marginLeft="10dp"
            android:hint="چیزی بنویسید . . ."
            android:layout_width="270dp"
            android:layout_height="wrap_content"
            android:id="@+id/et"/>
        <Button
            android:layout_marginStart="10dp"
            android:layout_marginLeft="10dp"
            android:layout_width="60dp"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:id="@+id/btn1"
            android:text="تایید"
            android:onClick="onClickBtn"
            android:background="#006ad0"/>
    </LinearLayout>
</LinearLayout> 
 
پاسخ


پیام‌های این موضوع
RE: مشکل نمایش view ها در صفحه نمایش های مختلف - توسط دیب دمینی - ۱۳۹۴/۰۶/۲۹, ۱۰:۳۱ ب.ظ

پرش به انجمن:


کاربران در حال بازدید این موضوع: 1 مهمان