Android studio projects / прак
.docxТапсырма: View-элементтердің Layout параметрлері. Экран қасиеттерін және Layout параметрлерін зерттеу.
Дизайн:
XML:
Қосымша:
<?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:divider="@drawable/ic_launcher_background" android:focusable="auto" android:orientation="vertical"> <TableRow android:layout_width="match_parent" android:layout_height="match_parent"> <Button android:id="@+id/button17" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/app" tools:text="App Name" /> <TextView android:id="@+id/textView" android:layout_width="127dp" android:layout_height="wrap_content" android:text="@string/app_name" android:textAppearance="@style/TextAppearance.AppCompat.Medium" /> </TableRow> <TableRow android:layout_width="match_parent" android:layout_height="match_parent"> <Button android:id="@+id/button14" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/last_name" tools:text="Last Name" /> <TextView android:id="@+id/textView8" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/kuralov" android:textAppearance="@style/TextAppearance.AppCompat.Large" tools:text="Kuralov" /> </TableRow> <TableRow android:layout_width="match_parent" android:layout_height="match_parent"> <Button android:id="@+id/button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/name" tools:text="Name" /> <TextView android:id="@+id/textView9" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/serikbay" android:textAppearance="@style/TextAppearance.AppCompat.Large" tools:text="Serikbay" /> <TextView android:id="@+id/textView5" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </TableRow> <TableRow android:layout_width="match_parent" android:layout_height="93dp"> <Button android:id="@+id/button3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/phone" tools:text="Phone" /> <TextView android:id="@+id/textView10" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/_77478281105" android:textAppearance="@style/TextAppearance.AppCompat.Large" tools:text="+77478281105" /> <TextView android:id="@+id/textView7" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <TextView android:id="@+id/textView6" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </TableRow> <TableRow android:layout_width="match_parent" android:layout_height="match_parent"> <Button android:id="@+id/button7" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/email" tools:text="Email" /> <TextView android:id="@+id/textView2" android:layout_width="239dp" android:layout_height="wrap_content" android:text="@string/kuralovserikbai_mail_ru" android:textAppearance="@style/TextAppearance.AppCompat.Large" tools:text="kuralovserikbai@mail.ru" /> </TableRow> </TableLayout>