Files
AnabasisChatManager-android/app/src/main/res/layout/dialog_about.xml
benya 6b65ec1bc4 feat: Добавить диалоговое окно "О приложении"
Реализует новый пункт меню "О приложении", который открывает диалоговое окно с информацией о программе.

- В `main_menu.xml` добавлен пункт "About".
- Создан макет `dialog_about.xml` для отображения информации.
- В `MainActivity` добавлена логика для показа диалога, включая динамическое получение версии приложения из `PackageInfo`.
- В `strings.xml` (для en и ru локалей) добавлены строки, содержащие описание, имя создателя и формат версии.
2026-01-17 02:57:26 +03:00

40 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="24dp"
android:gravity="center_horizontal">
<ImageView
android:id="@+id/app_icon"
android:layout_width="72dp"
android:layout_height="72dp"
android:src="@mipmap/ic_launcher_round"
android:contentDescription="@string/app_name" />
<TextView
android:id="@+id/app_name_version"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:textAppearance="?attr/textAppearanceTitleLarge"
tools:text="VK Chat Manager v1.0" />
<TextView
android:id="@+id/app_description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:gravity="center"
android:textAppearance="?attr/textAppearanceBodyMedium" />
<TextView
android:id="@+id/app_creator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:textAppearance="?attr/textAppearanceBodySmall" />
</LinearLayout>