mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
remove unused emoji attrs and layouts
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="2dp"
|
||||
android:background="?selectableItemBackground">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/emoji_image"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:paddingTop="6dp"
|
||||
android:paddingEnd="6dp"
|
||||
android:paddingStart="6dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitCenter" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.emoji.AsciiEmojiView
|
||||
android:id="@+id/emoji_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="6dp"
|
||||
android:paddingEnd="6dp"
|
||||
android:paddingStart="6dp"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/emoji_variation_hint"
|
||||
android:layout_width="7dp"
|
||||
android:layout_height="7dp"
|
||||
android:layout_gravity="bottom|right|end"
|
||||
app:srcCompat="@drawable/triangle_bottom_right_corner"
|
||||
android:tint="@color/gray50"/>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/emoji"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false"
|
||||
android:paddingBottom="8dp"/>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/media_keyboard_provider_icon_margin"
|
||||
android:layout_marginRight="@dimen/media_keyboard_provider_icon_margin"
|
||||
android:padding="@dimen/media_keyboard_provider_icon_padding">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/ic_emoji_filled" />
|
||||
|
||||
</FrameLayout>
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/media_keyboard_provider_icon_margin"
|
||||
android:layout_marginRight="@dimen/media_keyboard_provider_icon_margin"
|
||||
android:padding="@dimen/media_keyboard_provider_icon_padding"
|
||||
android:background="@drawable/media_keyboard_selected_background_dark">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/ic_emoji_filled" />
|
||||
|
||||
</FrameLayout>
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/media_keyboard_provider_icon_margin"
|
||||
android:layout_marginRight="@dimen/media_keyboard_provider_icon_margin"
|
||||
android:padding="@dimen/media_keyboard_provider_icon_padding">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/ic_emoji_outline" />
|
||||
|
||||
</FrameLayout>
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/media_keyboard_provider_icon_margin"
|
||||
android:layout_marginRight="@dimen/media_keyboard_provider_icon_margin"
|
||||
android:padding="@dimen/media_keyboard_provider_icon_padding"
|
||||
android:background="@drawable/media_keyboard_selected_background_light">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/ic_emoji_outline" />
|
||||
|
||||
</FrameLayout>
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<HorizontalScrollView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/emoji_variation_container"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/emoji_variation_selector_background" />
|
||||
|
||||
</HorizontalScrollView>
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ImageView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:padding="6dp">
|
||||
|
||||
</ImageView>
|
||||
@@ -38,25 +38,9 @@
|
||||
<attr name="conversation_number_picker_text_color_normal" format="reference|color"/>
|
||||
<attr name="conversation_number_picker_text_color_selected" format="reference|color"/>
|
||||
|
||||
<attr name="emoji_tab_strip_background" format="color" />
|
||||
<attr name="emoji_tab_indicator" format="color" />
|
||||
<attr name="emoji_tab_underline" format="color" />
|
||||
<attr name="emoji_tab_seperator" format="color" />
|
||||
<attr name="emoji_drawer_background" format="color" />
|
||||
<attr name="emoji_background" format="color" />
|
||||
<attr name="emoji_text_color" format="color" />
|
||||
|
||||
<attr name="emoji_category_recent" format="reference"/>
|
||||
<attr name="emoji_category_people" format="reference"/>
|
||||
<attr name="emoji_category_nature" format="reference"/>
|
||||
<attr name="emoji_category_foods" format="reference"/>
|
||||
<attr name="emoji_category_activity" format="reference"/>
|
||||
<attr name="emoji_category_places" format="reference"/>
|
||||
<attr name="emoji_category_objects" format="reference"/>
|
||||
<attr name="emoji_category_symbols" format="reference"/>
|
||||
<attr name="emoji_category_flags" format="reference"/>
|
||||
<attr name="emoji_category_emoticons" format="reference"/>
|
||||
<attr name="emoji_variation_selector_background" format="reference|color" />
|
||||
<attr name="quick_camera_icon" format="reference"/>
|
||||
<attr name="quick_mic_icon" format="reference"/>
|
||||
<attr name="recording_lock_background" format="reference"/>
|
||||
|
||||
@@ -88,25 +88,9 @@
|
||||
<item name="contact_list_divider">@drawable/contact_list_divider_light</item>
|
||||
<item name="contact_list_divider_color">@color/gray65</item>
|
||||
|
||||
<item name="emoji_tab_strip_background">@color/gray12</item>
|
||||
<item name="emoji_tab_indicator">#66555555</item>
|
||||
<item name="emoji_tab_underline">#44555555</item>
|
||||
<item name="emoji_tab_seperator">@color/gray20</item>
|
||||
<item name="emoji_text_color">@color/black</item>
|
||||
<item name="emoji_drawer_background">@color/grey_100</item>
|
||||
|
||||
<item name="emoji_category_recent">@drawable/ic_recent_light_20</item>
|
||||
<item name="emoji_category_people">@drawable/ic_emoji_people_light_20</item>
|
||||
<item name="emoji_category_nature">@drawable/ic_emoji_animal_light_20</item>
|
||||
<item name="emoji_category_foods">@drawable/ic_emoji_food_light_20</item>
|
||||
<item name="emoji_category_activity">@drawable/ic_emoji_activity_light_20</item>
|
||||
<item name="emoji_category_places">@drawable/ic_emoji_travel_light_20</item>
|
||||
<item name="emoji_category_objects">@drawable/ic_emoji_object_light_20</item>
|
||||
<item name="emoji_category_symbols">@drawable/ic_emoji_symbol_light_20</item>
|
||||
<item name="emoji_category_flags">@drawable/ic_emoji_flag_light_20</item>
|
||||
<item name="emoji_category_emoticons">@drawable/ic_emoji_emoticon_light_20</item>
|
||||
<item name="emoji_variation_selector_background">@drawable/emoji_variation_selector_background_light</item>
|
||||
|
||||
<!-- light theme -->
|
||||
<item name="conversation_item_incoming_bubble_color">@color/white</item>
|
||||
<!-- <item name="conversation_item_incoming_bubble_border_color">#33000000</item> -->
|
||||
@@ -241,27 +225,9 @@
|
||||
<item name="conversation_attach">@drawable/ic_attach_white_24dp</item>
|
||||
<item name="conversation_number_picker_text_color_normal">@color/gray13</item>
|
||||
<item name="conversation_number_picker_text_color_selected">@color/white</item>
|
||||
|
||||
<item name="emoji_tab_strip_background">@color/gray95</item>
|
||||
<item name="emoji_tab_indicator">@color/gray65</item>
|
||||
<item name="emoji_tab_underline">@color/gray78</item>
|
||||
<item name="emoji_tab_seperator">@color/gray70</item>
|
||||
<item name="emoji_background">@color/black</item>
|
||||
<item name="emoji_text_color">@color/white</item>
|
||||
<item name="emoji_drawer_background">@color/gray95</item>
|
||||
|
||||
<item name="emoji_category_recent">@drawable/ic_recent_dark_20</item>
|
||||
<item name="emoji_category_people">@drawable/ic_emoji_people_dark_20</item>
|
||||
<item name="emoji_category_nature">@drawable/ic_emoji_animal_dark_20</item>
|
||||
<item name="emoji_category_foods">@drawable/ic_emoji_food_dark_20</item>
|
||||
<item name="emoji_category_activity">@drawable/ic_emoji_activity_dark_20</item>
|
||||
<item name="emoji_category_places">@drawable/ic_emoji_travel_dark_20</item>
|
||||
<item name="emoji_category_objects">@drawable/ic_emoji_object_dark_20</item>
|
||||
<item name="emoji_category_symbols">@drawable/ic_emoji_symbol_dark_20</item>
|
||||
<item name="emoji_category_flags">@drawable/ic_emoji_flag_dark_20</item>
|
||||
<item name="emoji_category_emoticons">@drawable/ic_emoji_emoticon_dark_20</item>
|
||||
<item name="emoji_variation_selector_background">@drawable/emoji_variation_selector_background_dark</item>
|
||||
|
||||
<item name="quick_camera_icon">@drawable/quick_camera_dark</item>
|
||||
<item name="quick_mic_icon">@drawable/ic_mic_white_24dp</item>
|
||||
<item name="recording_lock_background">@drawable/recording_lock_background_dark</item>
|
||||
|
||||
Reference in New Issue
Block a user