apkfuckery/com.discord/res/layout/widget_channel_topic.xml
2020-03-14 05:13:36 +01:00

16 lines
No EOL
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<com.discord.utilities.view.scroll.MaxHeightScrollView android:id="@id/channel_topic" android:background="?colorBackgroundSecondary" android:paddingTop="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_large" android:maxHeight="75.0dip" app:max_height="200.0dip" style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:layout_width="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<com.facebook.drawee.view.SimpleDraweeView android:layout_gravity="center" android:id="@id/channel_topic_channel_icon" android:layout_width="24.0dip" android:layout_height="24.0dip" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:actualImageScaleType="fitCenter" app:placeholderImage="?ic_channel_text" app:roundAsCircle="true" />
<androidx.appcompat.widget.AppCompatTextView android:textAppearance="@style/UiKit.TextAppearance.Semibold" android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="?colorHeaderPrimary" android:id="@id/channel_topic_name" android:text="@string/form_label_channel_topic" app:drawableTint="?colorChannelsDefault" style="@style/UiKit.TextView" />
<View android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:layout_gravity="center" android:id="@id/channel_topic_more_icon" android:visibility="gone" android:src="?ic_overflow" android:contentDescription="@string/settings" style="@style/UiKit.ImageView" />
</LinearLayout>
<LinearLayout android:id="@id/channel_topic_details_container" android:layout_width="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textColor="?colorHeaderSecondary" android:id="@id/channel_topic_aka" android:visibility="gone" android:text="@string/aka" android:layout_marginEnd="@dimen/uikit_spacing_small" style="@style/UiKit.TextView" />
<com.discord.utilities.view.text.LinkifiedTextView android:textAppearance="@style/UiKit.TextAppearance.Semibold" android:textColor="?colorHeaderSecondary" android:autoLink="all" android:id="@id/channel_topic_title" style="@style/UiKit.TextView" />
</LinearLayout>
</LinearLayout>
</com.discord.utilities.view.scroll.MaxHeightScrollView>