mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-28 08:49:01 +03:00
Remove useless parent
This commit is contained in:
parent
817675b454
commit
bf4e005f39
2 changed files with 137 additions and 140 deletions
vector
|
@ -58,6 +58,9 @@
|
||||||
<!-- Manifest -->
|
<!-- Manifest -->
|
||||||
<issue id="PermissionImpliesUnsupportedChromeOsHardware" severity="error" />
|
<issue id="PermissionImpliesUnsupportedChromeOsHardware" severity="error" />
|
||||||
|
|
||||||
|
<!-- Performance -->
|
||||||
|
<issue id="UselessParent" severity="error" />
|
||||||
|
|
||||||
<!-- Dependencies -->
|
<!-- Dependencies -->
|
||||||
<issue id="KtxExtensionAvailable" severity="error" />
|
<issue id="KtxExtensionAvailable" severity="error" />
|
||||||
|
|
||||||
|
|
|
@ -1,168 +1,162 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="8dp"
|
||||||
|
android:layout_marginEnd="8dp"
|
||||||
|
android:background="@drawable/bg_attachment_type_selector"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:paddingTop="16dp"
|
||||||
|
android:paddingBottom="16dp">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_margin="16dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:baselineAligned="false"
|
||||||
android:background="@drawable/bg_attachment_type_selector"
|
android:orientation="horizontal"
|
||||||
android:orientation="vertical"
|
android:weightSum="3">
|
||||||
android:paddingTop="16dp"
|
|
||||||
android:paddingBottom="16dp">
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="16dp"
|
android:layout_weight="1"
|
||||||
android:baselineAligned="false"
|
android:gravity="center"
|
||||||
android:orientation="horizontal"
|
android:orientation="vertical">
|
||||||
android:weightSum="3">
|
|
||||||
|
|
||||||
<LinearLayout
|
<ImageButton
|
||||||
android:layout_width="match_parent"
|
android:id="@+id/attachmentCameraButton"
|
||||||
android:layout_height="wrap_content"
|
style="@style/AttachmentTypeSelectorButton"
|
||||||
android:layout_weight="1"
|
android:contentDescription="@string/attachment_type_camera"
|
||||||
android:gravity="center"
|
android:src="@drawable/ic_attachment_camera_white_24dp"
|
||||||
android:orientation="vertical">
|
tools:background="?colorPrimary" />
|
||||||
|
|
||||||
<ImageButton
|
<TextView
|
||||||
android:id="@+id/attachmentCameraButton"
|
style="@style/AttachmentTypeSelectorLabel"
|
||||||
style="@style/AttachmentTypeSelectorButton"
|
android:importantForAccessibility="no"
|
||||||
android:contentDescription="@string/attachment_type_camera"
|
android:text="@string/attachment_type_camera" />
|
||||||
android:src="@drawable/ic_attachment_camera_white_24dp"
|
|
||||||
tools:background="?colorPrimary" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/AttachmentTypeSelectorLabel"
|
|
||||||
android:importantForAccessibility="no"
|
|
||||||
android:text="@string/attachment_type_camera" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:gravity="center"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/attachmentGalleryButton"
|
|
||||||
style="@style/AttachmentTypeSelectorButton"
|
|
||||||
android:contentDescription="@string/attachment_type_gallery"
|
|
||||||
android:src="@drawable/ic_attachment_gallery_white_24dp"
|
|
||||||
tools:background="?colorPrimary" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/AttachmentTypeSelectorLabel"
|
|
||||||
android:importantForAccessibility="no"
|
|
||||||
android:text="@string/attachment_type_gallery" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:gravity="center"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/attachmentFileButton"
|
|
||||||
style="@style/AttachmentTypeSelectorButton"
|
|
||||||
android:contentDescription="@string/attachment_type_file"
|
|
||||||
android:src="@drawable/ic_attachment_file_white_24dp"
|
|
||||||
tools:background="?colorPrimary" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/AttachmentTypeSelectorLabel"
|
|
||||||
android:importantForAccessibility="no"
|
|
||||||
android:text="@string/attachment_type_file" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="16dp"
|
android:layout_weight="1"
|
||||||
android:baselineAligned="false"
|
android:gravity="center"
|
||||||
android:orientation="horizontal"
|
android:orientation="vertical">
|
||||||
android:weightSum="3">
|
|
||||||
|
|
||||||
<LinearLayout
|
<ImageButton
|
||||||
android:layout_width="match_parent"
|
android:id="@+id/attachmentGalleryButton"
|
||||||
android:layout_height="wrap_content"
|
style="@style/AttachmentTypeSelectorButton"
|
||||||
android:layout_weight="1"
|
android:contentDescription="@string/attachment_type_gallery"
|
||||||
android:gravity="center"
|
android:src="@drawable/ic_attachment_gallery_white_24dp"
|
||||||
android:orientation="vertical">
|
tools:background="?colorPrimary" />
|
||||||
|
|
||||||
<ImageButton
|
<TextView
|
||||||
android:id="@+id/attachmentAudioButton"
|
style="@style/AttachmentTypeSelectorLabel"
|
||||||
style="@style/AttachmentTypeSelectorButton"
|
android:importantForAccessibility="no"
|
||||||
android:contentDescription="@string/attachment_type_audio"
|
android:text="@string/attachment_type_gallery" />
|
||||||
android:src="@drawable/ic_attachment_audio_white_24dp"
|
|
||||||
tools:background="?colorPrimary" />
|
|
||||||
|
|
||||||
<TextView
|
</LinearLayout>
|
||||||
style="@style/AttachmentTypeSelectorLabel"
|
|
||||||
android:importantForAccessibility="no"
|
|
||||||
android:text="@string/attachment_type_audio" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/attachmentContactButton"
|
android:id="@+id/attachmentFileButton"
|
||||||
style="@style/AttachmentTypeSelectorButton"
|
style="@style/AttachmentTypeSelectorButton"
|
||||||
android:contentDescription="@string/attachment_type_contact"
|
android:contentDescription="@string/attachment_type_file"
|
||||||
android:src="@drawable/ic_attachment_contact_white_24dp"
|
android:src="@drawable/ic_attachment_file_white_24dp"
|
||||||
tools:background="?colorPrimary" />
|
tools:background="?colorPrimary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/AttachmentTypeSelectorLabel"
|
style="@style/AttachmentTypeSelectorLabel"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:text="@string/attachment_type_contact" />
|
android:text="@string/attachment_type_file" />
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:gravity="center"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/attachmentStickersButton"
|
|
||||||
style="@style/AttachmentTypeSelectorButton"
|
|
||||||
android:contentDescription="@string/attachment_type_sticker"
|
|
||||||
android:src="@drawable/ic_attachment_stickers_white_24dp"
|
|
||||||
tools:background="?colorPrimary" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/AttachmentTypeSelectorLabel"
|
|
||||||
android:importantForAccessibility="no"
|
|
||||||
android:text="@string/attachment_type_sticker" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</FrameLayout>
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_margin="16dp"
|
||||||
|
android:baselineAligned="false"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:weightSum="3">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<ImageButton
|
||||||
|
android:id="@+id/attachmentAudioButton"
|
||||||
|
style="@style/AttachmentTypeSelectorButton"
|
||||||
|
android:contentDescription="@string/attachment_type_audio"
|
||||||
|
android:src="@drawable/ic_attachment_audio_white_24dp"
|
||||||
|
tools:background="?colorPrimary" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
style="@style/AttachmentTypeSelectorLabel"
|
||||||
|
android:importantForAccessibility="no"
|
||||||
|
android:text="@string/attachment_type_audio" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<ImageButton
|
||||||
|
android:id="@+id/attachmentContactButton"
|
||||||
|
style="@style/AttachmentTypeSelectorButton"
|
||||||
|
android:contentDescription="@string/attachment_type_contact"
|
||||||
|
android:src="@drawable/ic_attachment_contact_white_24dp"
|
||||||
|
tools:background="?colorPrimary" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
style="@style/AttachmentTypeSelectorLabel"
|
||||||
|
android:importantForAccessibility="no"
|
||||||
|
android:text="@string/attachment_type_contact" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<ImageButton
|
||||||
|
android:id="@+id/attachmentStickersButton"
|
||||||
|
style="@style/AttachmentTypeSelectorButton"
|
||||||
|
android:contentDescription="@string/attachment_type_sticker"
|
||||||
|
android:src="@drawable/ic_attachment_stickers_white_24dp"
|
||||||
|
tools:background="?colorPrimary" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
style="@style/AttachmentTypeSelectorLabel"
|
||||||
|
android:importantForAccessibility="no"
|
||||||
|
android:text="@string/attachment_type_sticker" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
Loading…
Add table
Reference in a new issue