Changes of com.discord v986
This commit is contained in:
parent
8f4cf7370b
commit
4f9eb81121
8484 changed files with 280941 additions and 219031 deletions
|
@ -3,7 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<LinearLayout android:gravity="start|center" android:orientation="horizontal" android:id="@id/title_template" android:paddingLeft="?dialogPreferredPadding" android:paddingTop="@dimen/abc_dialog_padding_top_material" android:paddingRight="?dialogPreferredPadding" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<ImageView android:id="@android:id/icon" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_marginRight="8.0dip" android:src="@null" android:scaleType="fitCenter" />
|
||||
<androidx.appcompat.widget.DialogTitle android:ellipsize="end" android:id="@id/alertTitle" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" style="?android:windowTitleStyle" />
|
||||
<androidx.appcompat.widget.DialogTitle android:ellipsize="end" android:layout_gravity="start" android:id="@id/alertTitle" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" style="?android:windowTitleStyle" />
|
||||
</LinearLayout>
|
||||
<android.widget.Space android:id="@id/titleDividerNoCustom" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/abc_dialog_title_divider_material" />
|
||||
</LinearLayout>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.FitWindowsLinearLayout android:orientation="vertical" android:fitsSystemWindows="true" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:ellipsize="end" android:id="@id/title" android:paddingLeft="?dialogPreferredPadding" android:paddingTop="@dimen/abc_dialog_padding_top_material" android:paddingRight="?dialogPreferredPadding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" style="?android:windowTitleStyle" />
|
||||
<TextView android:ellipsize="end" android:layout_gravity="start" android:id="@id/title" android:paddingLeft="?dialogPreferredPadding" android:paddingTop="@dimen/abc_dialog_padding_top_material" android:paddingRight="?dialogPreferredPadding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" style="?android:windowTitleStyle" />
|
||||
<include android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" layout="@layout/abc_screen_content_include" />
|
||||
</androidx.appcompat.widget.FitWindowsLinearLayout>
|
|
@ -1,3 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<view android:id="@id/select_dialog_listview" android:scrollbars="vertical" android:fadingEdge="none" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:cacheColorHint="@null" android:divider="?listDividerAlertDialog" android:overScrollMode="ifContentScrolls" app:paddingBottomNoButtons="@dimen/abc_dialog_list_padding_bottom_no_buttons" app:paddingTopNoTitle="@dimen/abc_dialog_list_padding_top_no_title" class="androidx.appcompat.app.AlertController$RecycleListView" style="@style/Widget.AppCompat.ListView"
|
||||
<view android:layout_gravity="start" android:id="@id/select_dialog_listview" android:scrollbars="vertical" android:fadingEdge="none" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:cacheColorHint="@null" android:divider="?listDividerAlertDialog" android:overScrollMode="ifContentScrolls" app:paddingBottomNoButtons="@dimen/abc_dialog_list_padding_bottom_no_buttons" app:paddingTopNoTitle="@dimen/abc_dialog_list_padding_top_no_title" class="androidx.appcompat.app.AlertController$RecycleListView" style="@style/Widget.AppCompat.ListView"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" />
|
9
com.discord/res/layout/expand_button.xml
Normal file
9
com.discord/res/layout/expand_button.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_vertical" android:background="?android:selectableItemBackground" android:paddingLeft="?android:listPreferredItemPaddingLeft" android:paddingRight="?android:listPreferredItemPaddingRight" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false" android:minHeight="?android:listPreferredItemHeightSmall"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<include layout="@layout/image_frame" />
|
||||
<RelativeLayout android:paddingTop="16.0dip" android:paddingBottom="16.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
|
||||
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="?android:textColorPrimary" android:ellipsize="marquee" android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
|
||||
<TextView android:textColor="?android:textColorSecondary" android:ellipsize="marquee" android:id="@android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@android:id/title" android:layout_alignLeft="@android:id/title" style="@style/PreferenceSummaryTextStyle" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
5
com.discord/res/layout/image_frame.xml
Normal file
5
com.discord/res/layout/image_frame.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="start|center" android:orientation="horizontal" android:id="@id/icon_frame" android:paddingLeft="0.0dip" android:paddingTop="4.0dip" android:paddingRight="8.0dip" android:paddingBottom="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minWidth="56.0dip"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<androidx.preference.internal.PreferenceImageView android:id="@android:id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" app:maxHeight="48.0dip" app:maxWidth="48.0dip" />
|
||||
</LinearLayout>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.google.android.material.appbar.AppBarLayout android:background="?colorPrimaryDark" style="@style/AppTheme.AppBarLayout"
|
||||
<com.google.android.material.appbar.AppBarLayout android:background="?colorBackgroundSecondary" style="@style/AppTheme.AppBarLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<include layout="@layout/layout_search" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
12
com.discord/res/layout/preference.xml
Normal file
12
com.discord/res/layout/preference.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_vertical" android:background="?android:selectableItemBackground" android:paddingRight="?android:scrollbarSize" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="?android:listPreferredItemHeight"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<FrameLayout android:id="@id/icon_frame" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
||||
<androidx.preference.internal.PreferenceImageView android:id="@android:id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" app:maxHeight="48.0dip" app:maxWidth="48.0dip" />
|
||||
</FrameLayout>
|
||||
<RelativeLayout android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginTop="6.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="6.0dip" android:layout_weight="1.0">
|
||||
<TextView android:textAppearance="?android:textAppearanceLarge" android:textColor="?android:textColorPrimary" android:ellipsize="marquee" android:id="@android:id/title" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
|
||||
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="?android:textColorSecondary" android:id="@android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="4" android:layout_below="@android:id/title" android:layout_alignLeft="@android:id/title" />
|
||||
</RelativeLayout>
|
||||
<LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:id="@android:id/widget_frame" android:layout_width="wrap_content" android:layout_height="fill_parent" />
|
||||
</LinearLayout>
|
3
com.discord/res/layout/preference_category.xml
Normal file
3
com.discord/res/layout/preference_category.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView android:id="@android:id/title" android:layout_width="fill_parent" android:layout_height="wrap_content" style="?android:listSeparatorTextViewStyle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
9
com.discord/res/layout/preference_category_material.xml
Normal file
9
com.discord/res/layout/preference_category_material.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_vertical" android:background="?android:selectableItemBackground" android:paddingLeft="?android:listPreferredItemPaddingLeft" android:paddingRight="?android:listPreferredItemPaddingRight" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:baselineAligned="false"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<include layout="@layout/image_frame" />
|
||||
<RelativeLayout android:paddingTop="8.0dip" android:paddingBottom="8.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
|
||||
<TextView android:layout_gravity="start" android:id="@android:id/title" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/PreferenceCategoryTitleTextStyle" />
|
||||
<TextView android:textColor="?android:textColorSecondary" android:ellipsize="end" android:layout_gravity="start" android:id="@android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="10" android:singleLine="true" android:layout_below="@android:id/title" android:layout_alignLeft="@android:id/title" style="@style/PreferenceSummaryTextStyle" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
8
com.discord/res/layout/preference_dialog_edittext.xml
Normal file
8
com.discord/res/layout/preference_dialog_edittext.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="48.0dip" android:layout_marginBottom="48.0dip" android:overScrollMode="ifContentScrolls"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<TextView android:textColor="?android:textColorSecondary" android:id="@android:id/message" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="48.0dip" style="?android:textAppearanceSmall" />
|
||||
<EditText android:id="@android:id/edit" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginRight="20.0dip" />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
13
com.discord/res/layout/preference_dropdown.xml
Normal file
13
com.discord/res/layout/preference_dropdown.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_vertical" android:background="?android:selectableItemBackground" android:paddingRight="?android:scrollbarSize" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="?android:listPreferredItemHeight"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<Spinner android:id="@id/spinner" android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="0.0" />
|
||||
<FrameLayout android:id="@id/icon_frame" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
||||
<androidx.preference.internal.PreferenceImageView android:id="@android:id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" app:maxHeight="48.0dip" app:maxWidth="48.0dip" />
|
||||
</FrameLayout>
|
||||
<RelativeLayout android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginTop="6.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="6.0dip" android:layout_weight="1.0">
|
||||
<TextView android:textAppearance="?android:textAppearanceLarge" android:textColor="?android:textColorPrimary" android:ellipsize="marquee" android:id="@android:id/title" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
|
||||
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="?android:textColorSecondary" android:id="@android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="4" android:layout_below="@android:id/title" android:layout_alignLeft="@android:id/title" />
|
||||
</RelativeLayout>
|
||||
<LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:id="@android:id/widget_frame" android:layout_width="wrap_content" android:layout_height="fill_parent" />
|
||||
</LinearLayout>
|
6
com.discord/res/layout/preference_dropdown_material.xml
Normal file
6
com.discord/res/layout/preference_dropdown_material.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<Spinner android:id="@id/spinner" android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/preference_dropdown_padding_start" />
|
||||
<include layout="@layout/preference_material" />
|
||||
</FrameLayout>
|
9
com.discord/res/layout/preference_information.xml
Normal file
9
com.discord/res/layout/preference_information.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_vertical" android:paddingRight="?android:scrollbarSize" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="?android:listPreferredItemHeight"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<RelativeLayout android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="16.0sp" android:layout_marginTop="6.0sp" android:layout_marginRight="6.0sp" android:layout_marginBottom="6.0sp" android:layout_weight="1.0">
|
||||
<TextView android:textAppearance="?android:textAppearanceLarge" android:textColor="?android:textColorSecondary" android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
|
||||
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="?android:textColorSecondary" android:id="@android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="2" android:layout_below="@android:id/title" android:layout_alignLeft="@android:id/title" />
|
||||
</RelativeLayout>
|
||||
<LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:id="@android:id/widget_frame" android:layout_width="wrap_content" android:layout_height="fill_parent" />
|
||||
</LinearLayout>
|
12
com.discord/res/layout/preference_information_material.xml
Normal file
12
com.discord/res/layout/preference_information_material.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_vertical" android:paddingLeft="?android:listPreferredItemPaddingLeft" android:paddingRight="?android:listPreferredItemPaddingRight" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="?android:listPreferredItemHeightSmall"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<LinearLayout android:gravity="start|center" android:orientation="horizontal" android:id="@id/icon_frame" android:layout_width="wrap_content" android:layout_height="fill_parent" android:minWidth="58.0dip">
|
||||
<ImageView android:id="@android:id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="8.0dip" />
|
||||
</LinearLayout>
|
||||
<RelativeLayout android:paddingTop="16.0dip" android:paddingBottom="16.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
|
||||
<TextView android:textAppearance="?android:textAppearanceListItem" android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
|
||||
<TextView android:textColor="?android:textColorSecondary" android:id="@android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="10" android:layout_below="@android:id/title" android:layout_alignLeft="@android:id/title" style="@style/PreferenceSummaryTextStyle" />
|
||||
</RelativeLayout>
|
||||
<LinearLayout android:gravity="end|center" android:orientation="vertical" android:id="@android:id/widget_frame" android:layout_width="wrap_content" android:layout_height="fill_parent" android:minWidth="58.0dip" />
|
||||
</LinearLayout>
|
6
com.discord/res/layout/preference_list_fragment.xml
Normal file
6
com.discord/res/layout/preference_list_fragment.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<FrameLayout android:id="@android:id/list_container" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0" />
|
||||
<TextView android:gravity="center" android:id="@android:id/empty" android:padding="8.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||||
</LinearLayout>
|
10
com.discord/res/layout/preference_material.xml
Normal file
10
com.discord/res/layout/preference_material.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_vertical" android:background="?android:selectableItemBackground" android:paddingLeft="?android:listPreferredItemPaddingLeft" android:paddingRight="?android:listPreferredItemPaddingRight" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false" android:minHeight="?android:listPreferredItemHeightSmall"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<include layout="@layout/image_frame" />
|
||||
<RelativeLayout android:paddingTop="16.0dip" android:paddingBottom="16.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
|
||||
<TextView android:textAppearance="?android:textAppearanceListItem" android:ellipsize="marquee" android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
|
||||
<TextView android:textColor="?android:textColorSecondary" android:layout_gravity="start" android:id="@android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="10" android:layout_below="@android:id/title" android:layout_alignLeft="@android:id/title" style="@style/PreferenceSummaryTextStyle" />
|
||||
</RelativeLayout>
|
||||
<LinearLayout android:gravity="end|center" android:orientation="vertical" android:id="@android:id/widget_frame" android:paddingLeft="16.0dip" android:paddingRight="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
|
||||
</LinearLayout>
|
3
com.discord/res/layout/preference_recyclerview.xml
Normal file
3
com.discord/res/layout/preference_recyclerview.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/recycler_view" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?preferenceFragmentListStyle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
3
com.discord/res/layout/preference_widget_checkbox.xml
Normal file
3
com.discord/res/layout/preference_widget_checkbox.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<CheckBox android:id="@android:id/checkbox" android:background="@null" android:focusable="false" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
13
com.discord/res/layout/preference_widget_seekbar.xml
Normal file
13
com.discord/res/layout/preference_widget_seekbar.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_vertical" android:paddingRight="?android:scrollbarSize" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="?android:listPreferredItemHeight"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:layout_gravity="center" android:id="@android:id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minWidth="@dimen/preference_icon_minWidth" />
|
||||
<RelativeLayout android:clipChildren="false" android:clipToPadding="false" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginTop="6.0dip" android:layout_marginRight="8.0dip" android:layout_marginBottom="6.0dip" android:layout_weight="1.0">
|
||||
<TextView android:textAppearance="?android:textAppearanceMedium" android:ellipsize="marquee" android:id="@android:id/title" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
|
||||
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="?android:textColorSecondary" android:id="@android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="4" android:layout_below="@android:id/title" android:layout_alignLeft="@android:id/title" />
|
||||
<androidx.preference.UnPressableLinearLayout android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@android:id/summary" android:layout_alignLeft="@android:id/title">
|
||||
<SeekBar android:id="@id/seekbar" android:background="@null" android:paddingLeft="@dimen/preference_seekbar_padding_horizontal" android:paddingRight="22.0dip" android:focusable="false" android:clickable="false" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" />
|
||||
<TextView android:textAppearance="?android:textAppearanceMedium" android:ellipsize="marquee" android:gravity="center|right" android:id="@id/seekbar_value" android:fadingEdge="horizontal" android:layout_width="@dimen/preference_seekbar_value_minWidth" android:layout_height="fill_parent" android:singleLine="true" android:fontFamily="sans-serif-condensed" />
|
||||
</androidx.preference.UnPressableLinearLayout>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_vertical" android:background="?android:selectableItemBackground" android:paddingLeft="?android:listPreferredItemPaddingLeft" android:paddingRight="?android:listPreferredItemPaddingRight" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false" android:minHeight="?android:listPreferredItemHeightSmall"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<include layout="@layout/image_frame" />
|
||||
<LinearLayout android:orientation="vertical" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="8.0dip" android:layout_marginBottom="8.0dip">
|
||||
<RelativeLayout android:layout_width="wrap_content" android:layout_height="0.0dip" android:layout_weight="1.0">
|
||||
<TextView android:textAppearance="?android:textAppearanceListItem" android:ellipsize="marquee" android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
|
||||
<TextView android:textColor="?android:textColorSecondary" android:layout_gravity="start" android:id="@android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="4" android:layout_below="@android:id/title" android:layout_alignLeft="@android:id/title" style="@style/PreferenceSummaryTextStyle" />
|
||||
</RelativeLayout>
|
||||
<androidx.preference.UnPressableLinearLayout android:gravity="center_vertical" android:paddingLeft="0.0dip" android:paddingRight="16.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<SeekBar android:id="@id/seekbar" android:background="@null" android:paddingLeft="@dimen/preference_seekbar_padding_horizontal" android:paddingTop="@dimen/preference_seekbar_padding_vertical" android:paddingRight="@dimen/preference_seekbar_padding_horizontal" android:paddingBottom="@dimen/preference_seekbar_padding_vertical" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" />
|
||||
<TextView android:textAppearance="?android:textAppearanceListItem" android:ellipsize="marquee" android:gravity="right" android:id="@id/seekbar_value" android:paddingLeft="8.0dip" android:paddingRight="0.0dip" android:scrollbars="none" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minWidth="@dimen/preference_seekbar_value_minWidth" android:singleLine="true" />
|
||||
</androidx.preference.UnPressableLinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
3
com.discord/res/layout/preference_widget_switch.xml
Normal file
3
com.discord/res/layout/preference_widget_switch.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Switch android:id="@android:id/switch_widget" android:background="@null" android:focusable="false" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.SwitchCompat android:id="@id/switchWidget" android:background="@null" android:focusable="false" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
11
com.discord/res/layout/view_code_verification.xml
Normal file
11
com.discord/res/layout/view_code_verification.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center" style="@style/UiKit.User.Phone.Verify.Digits"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:id="@id/verify_char_1" style="@style/UiKit.User.Verify.Char" />
|
||||
<TextView android:id="@id/verify_char_2" style="@style/UiKit.User.Verify.Char" />
|
||||
<TextView android:id="@id/verify_char_3" style="@style/UiKit.User.Verify.Char" />
|
||||
<Space android:layout_width="@dimen/uikit_spacing_large" android:layout_height="0.0dip" />
|
||||
<TextView android:id="@id/verify_char_4" style="@style/UiKit.User.Verify.Char" />
|
||||
<TextView android:id="@id/verify_char_5" style="@style/UiKit.User.Verify.Char" />
|
||||
<TextView android:id="@id/verify_char_6" style="@style/UiKit.User.Verify.Char" />
|
||||
</LinearLayout>
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center" style="@style/UiKit.User.Phone.Verify.Digits"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<EditText android:id="@id/verify_digit_1" style="@style/UiKit.User.Phone.Verify.Digit" />
|
||||
<EditText android:id="@id/verify_digit_2" style="@style/UiKit.User.Phone.Verify.Digit" />
|
||||
<EditText android:id="@id/verify_digit_3" style="@style/UiKit.User.Phone.Verify.Digit" />
|
||||
<EditText android:id="@id/verify_digit_4" style="@style/UiKit.User.Phone.Verify.Digit.Left" />
|
||||
<EditText android:id="@id/verify_digit_5" style="@style/UiKit.User.Phone.Verify.Digit.Left" />
|
||||
<EditText android:id="@id/verify_digit_6" style="@style/UiKit.User.Phone.Verify.Digit.Left" />
|
||||
</LinearLayout>
|
|
@ -2,7 +2,7 @@
|
|||
<merge android:background="?primary_630" style="@style/UiKit.ViewGroup.LinearLayout.BottomSheet"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout android:background="?primary_630" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<LinearLayout android:background="?colorPrimary" android:padding="16.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<LinearLayout android:background="?colorBackgroundPrimary" android:padding="16.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textColor="?primary_300" android:text="@string/form_label_instant_invite_channel" android:textAllCaps="true" style="@style/UiKit.TextView" />
|
||||
<Spinner android:id="@id/guild_invite_channel_spinner" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:popupBackground="?colorPrimary" />
|
||||
<View android:background="?primary_400" android:layout_width="fill_parent" android:layout_height="0.25dip" />
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView android:id="@id/toolbar_title" android:layout_width="wrap_content" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/toolbar_title_subtext" app:layout_constraintEnd_toStartOf="@id/toolbar_presence" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/toolbar_presence" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.Toolbar.TextAppearance.Title" />
|
||||
<TextView android:id="@id/toolbar_title" android:layout_width="wrap_content" android:drawablePadding="@dimen/uikit_spacing_small" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/toolbar_title_subtext" app:layout_constraintEnd_toStartOf="@id/toolbar_presence" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/toolbar_presence" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.Toolbar.TextAppearance.Title" />
|
||||
<TextView android:id="@id/toolbar_title_subtext" android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="@id/toolbar_title" app:layout_constraintStart_toStartOf="@id/toolbar_title" app:layout_constraintTop_toBottomOf="@id/toolbar_title" style="@style/UiKit.Toolbar.TextAppearance.Subtitle" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/toolbar_presence" android:visibility="gone" android:layout_width="10.5dip" android:layout_height="10.5dip" android:layout_marginLeft="@dimen/uikit_spacing_small" android:baselineAlignBottom="true" app:layout_constraintBaseline_toBaselineOf="@id/toolbar_title" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/toolbar_title" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/toolbar_title" app:placeholderImage="@color/status_grey_500" app:roundAsCircle="true" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -11,7 +11,7 @@
|
|||
<LinearLayout android:gravity="center" android:padding="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:text="@string/verify_by_recaptcha" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/verify_by_recaptcha_description" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="@color/link_500" android:id="@id/auth_captcha_help" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/captcha_issues" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?colorTextLink" android:id="@id/auth_captcha_help" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/captcha_issues" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?auth_ptrn" style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<include layout="@layout/widget_auth_header" />
|
||||
<RelativeLayout android:background="?auth_bg_card" android:layout_margin="8.0dip" style="@style/AppTheme.AppBarScrollingViewBehavior">
|
||||
<ImageView android:contentDescription="@string/sample_empty_string" style="@style/UiKit.Auth.Spots.Bot.Left" />
|
||||
|
@ -11,7 +11,7 @@
|
|||
<TextView android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/two_fa" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:layout_marginBottom="8.0dip" android:text="@string/two_fa_enter_token_label" style="@style/UiKit.TextView.Subtext" />
|
||||
</LinearLayout>
|
||||
<com.discord.views.DigitVerificationView android:id="@id/auth_mfa_verification" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="20.0dip" />
|
||||
<com.discord.views.CodeVerificationView android:id="@id/auth_mfa_verification" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="20.0dip" />
|
||||
<TextView android:textSize="11.0sp" android:gravity="center" android:id="@id/auth_login_forgot_password" android:padding="8.0dip" android:maxWidth="320.0dip" android:text="@string/two_fa_enter_token_body" style="@style/UiKit.TextView.Subtext" />
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<com.discord.app.AppTextView android:id="@id/change_log_body" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:text="@string/change_log_md_body" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
<LinearLayout android:background="?colorPrimaryDark" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="0.0dip" android:paddingBottom="@dimen/uikit_spacing_small" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<LinearLayout android:background="?colorBackgroundSecondary" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="0.0dip" android:paddingBottom="@dimen/uikit_spacing_small" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/change_log_twitter" android:padding="@dimen/uikit_spacing_medium" android:layout_margin="@dimen/uikit_spacing_xsmall" android:src="@drawable/ic_twitter_white_18dp" android:scaleType="fitCenter" android:tint="?primary_100" style="@style/UiKit.ImageView.Clickable" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/change_log_facebook" android:padding="@dimen/uikit_spacing_medium" android:layout_margin="@dimen/uikit_spacing_xsmall" android:src="@drawable/ic_facebook_white_18dp" android:scaleType="fitCenter" android:tint="?primary_100" style="@style/UiKit.ImageView.Clickable" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/change_log_instagram" android:padding="@dimen/uikit_spacing_medium" android:layout_margin="@dimen/uikit_spacing_xsmall" android:src="@drawable/ic_instagram_white_18dp" android:scaleType="fitCenter" android:tint="?primary_100" style="@style/UiKit.ImageView.Clickable" />
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.recyclerview.widget.RecyclerView android:background="?primary_630" android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/connected_list_header" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
||||
<androidx.recyclerview.widget.RecyclerView android:background="?colorBackgroundPrimary" android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/connected_list_header" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" />
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:background="?primary_630" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="@dimen/channel_list_row_height"
|
||||
<FrameLayout android:background="?colorBackgroundPrimary" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="@dimen/channel_list_row_height"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?primary_400" android:gravity="bottom" android:id="@id/channel_members_list_item_header_text" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
|
||||
<View android:layout_gravity="bottom" android:id="@id/channel_members_list_item_header_placeholder" android:background="@drawable/drawable_empty_text_placeholder_dark" android:visibility="gone" android:layout_width="150.0dip" android:layout_height="@dimen/channel_list_placeholder_height" />
|
||||
|
|
|
@ -12,5 +12,4 @@
|
|||
<ImageView android:id="@id/channel_members_list_item_rich_presence_iv" android:src="@drawable/ic_rich_presence_grey_16dp" android:contentDescription="@string/user_activity_header_playing" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="@id/channel_members_list_item_game" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_group_owner_indicator" app:layout_constraintLeft_toRightOf="@id/channel_members_list_item_game" app:layout_constraintRight_toLeftOf="@id/channel_members_list_item_group_owner_indicator" app:layout_constraintStart_toEndOf="@id/channel_members_list_item_game" app:layout_constraintTop_toTopOf="@id/channel_members_list_item_game" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/channel_members_list_item_group_owner_indicator" android:src="@drawable/ic_crown_24dp" android:contentDescription="@string/user_activity_header_playing" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_boosted_indicator" app:layout_constraintRight_toLeftOf="@id/channel_members_list_item_boosted_indicator" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/channel_members_list_item_boosted_indicator" android:src="@drawable/ic_member_list_boosted_badge_24dp" android:contentDescription="@string/user_activity_header_playing" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.ImageView" />
|
||||
<View android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="@id/channel_members_list_item_name" app:layout_constraintStart_toStartOf="@id/channel_members_list_item_name" style="@style/UiKit.Settings.Divider" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -1,3 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView android:id="@id/item_header_tv" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/search_recent" android:singleLine="true" style="@style/UiKit.Search.Header"
|
||||
<TextView android:id="@id/item_header_tv" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/search_newest" android:singleLine="true" style="@style/UiKit.Search.Header"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.discord.utilities.view.scroll.MaxHeightScrollView android:id="@id/channel_topic" android:paddingTop="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_medium" android:maxHeight="75.0dip" app:max_height="200.0dip" style="@style/UiKit.ViewGroup"
|
||||
<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_medium" 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_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:gravity="center" android:text="@string/form_label_channel_topic" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorHeadingPrimary" android:gravity="center" android:text="@string/form_label_channel_topic" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:autoLink="all" android:id="@id/channel_topic_title" style="@style/UiKit.TextView.Subtext" />
|
||||
</LinearLayout>
|
||||
</com.discord.utilities.view.scroll.MaxHeightScrollView>
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView android:textColor="@color/white" android:layout_gravity="center_horizontal" android:background="@color/status_grey_500" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/youre_viewing_older_messages" android:drawableLeft="@drawable/ic_message_white_18dp" android:drawableRight="@drawable/ic_arrow_drop_down_white_18dp" android:drawablePadding="@dimen/uikit_spacing_large" android:drawableStart="@drawable/ic_message_white_18dp" android:drawableEnd="@drawable/ic_arrow_drop_down_white_18dp" style="@style/UiKit.TextView"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<include android:id="@id/emoji_search_bar" layout="@layout/layout_search_actionbar" />
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/chat_input_emoji_picker_recycler" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:clipToPadding="false" android:layout_above="@id/emoji_picker_bottom_bar" android:layout_below="@id/emoji_search_bar" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
<RelativeLayout android:id="@id/emoji_picker_bottom_bar" android:background="?colorPrimary" android:layout_width="fill_parent" android:layout_height="48.0dip" android:layout_alignParentBottom="true">
|
||||
<RelativeLayout android:id="@id/emoji_picker_bottom_bar" android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="48.0dip" android:layout_alignParentBottom="true">
|
||||
<ImageView android:id="@id/emoji_picker_search_icon" android:src="?theme_search_menu_icon" android:layout_alignParentLeft="true" android:contentDescription="@string/search" style="@style/EmojiPickerButtonIcon" />
|
||||
<com.google.android.material.tabs.TabLayout android:id="@id/emoji_picker_tab_layout" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_toLeftOf="@id/emoji_picker_backspace_icon" android:layout_toRightOf="@id/emoji_picker_search_icon" android:layout_alignParentBottom="true" android:layout_alignWithParentIfMissing="true" app:tabMaxWidth="@dimen/uikit_spacing_xxxlarge" app:tabMode="scrollable" app:tabPaddingEnd="@dimen/uikit_spacing_small" app:tabPaddingStart="@dimen/uikit_spacing_small" />
|
||||
<ImageView android:id="@id/emoji_picker_backspace_icon" android:src="?theme_backspace_icon" android:layout_alignParentRight="true" android:contentDescription="@string/delete" style="@style/EmojiPickerButtonIcon" />
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</RelativeLayout>
|
||||
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:textSize="@dimen/uikit_textsize_small" android:id="@id/chat_input_item_emoji" android:layout_width="@dimen/avatar_size_small" android:layout_height="@dimen/avatar_size_small" android:layout_marginLeft="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?theme_chat_text" android:id="@id/chat_input_item_name" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:singleLine="true" android:layout_toLeftOf="@id/chat_input_item_name_right" android:layout_toRightOf="@id/chat_input_item_icon_container" android:layout_centerVertical="true" android:layout_alignWithParentIfMissing="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?theme_chat_timestamp" android:id="@id/chat_input_item_name_right" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:maxWidth="@dimen/chat_input_autocomplete_name_max_width" android:singleLine="true" android:layout_alignParentRight="true" android:layout_centerVertical="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorTextNormal" android:id="@id/chat_input_item_name" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:singleLine="true" android:layout_toLeftOf="@id/chat_input_item_name_right" android:layout_toRightOf="@id/chat_input_item_icon_container" android:layout_centerVertical="true" android:layout_alignWithParentIfMissing="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorTextMuted" android:id="@id/chat_input_item_name_right" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:maxWidth="@dimen/chat_input_autocomplete_name_max_width" android:singleLine="true" android:layout_alignParentRight="true" android:layout_centerVertical="true" style="@style/UiKit.TextView" />
|
||||
<View android:layout_alignLeft="@id/chat_input_item_icon_container" android:layout_alignParentBottom="true" style="@style/UiKit.Divider" />
|
||||
</RelativeLayout>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center" android:id="@id/chat_input_verification" android:background="?primary_700_bg" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="@dimen/uikit_spacing_medium" android:visibility="gone" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textColor="?theme_chat_text" android:gravity="center" android:id="@id/chat_input_verification_text" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textColor="?colorTextNormal" android:gravity="center" android:id="@id/chat_input_verification_text" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:id="@id/chat_input_verification_action" android:text="@string/resend_verification_email" style="@style/UiKit.Button" />
|
||||
</LinearLayout>
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.discord.utilities.view.scroll.MaxHeightScrollView android:background="?primary_630" style="@style/UiKit.ViewGroup.NestedScrollView"
|
||||
<com.discord.utilities.view.scroll.MaxHeightScrollView android:background="?colorBackgroundSecondary" style="@style/UiKit.ViewGroup.NestedScrollView"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/dialog_chat_action_header" style="@style/UiKit.Sheet.Header">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/dialog_chat_actions_avatar" app:roundWithOverlayColor="?primary_630" style="@style/UiKit.Sheet.Header.Icon" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/dialog_chat_actions_avatar" app:roundWithOverlayColor="?colorBackgroundSecondary" style="@style/UiKit.Sheet.Header.Icon" />
|
||||
<androidx.constraintlayout.widget.Guideline style="@style/UiKit.Sheet.Guideline" />
|
||||
<LinearLayout android:orientation="vertical" style="@style/UiKit.Sheet.Header.Contents">
|
||||
<TextView android:id="@id/dialog_chat_actions_title" android:layout_width="fill_parent" style="@style/UiKit.TextView.H1.Bold" />
|
||||
|
@ -22,6 +22,7 @@
|
|||
<TextView android:id="@id/dialog_chat_actions_pin" android:text="@string/pin" android:drawableLeft="?ic_pins_a60" android:drawableStart="?ic_pins_a60" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<TextView android:id="@id/dialog_chat_actions_delete" android:text="@string/delete" android:drawableLeft="?ic_delete" android:drawableStart="?ic_delete" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<TextView android:id="@id/dialog_chat_actions_resend" android:text="@string/resend_message" android:drawableLeft="?ic_refresh" android:drawableStart="?ic_refresh" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<TextView android:id="@id/dialog_chat_actions_mark_unread" android:text="@string/mark_unread" android:drawableLeft="?ic_refresh" android:drawableStart="?ic_refresh" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<TextView android:gravity="center_vertical" android:id="@id/dialog_chat_actions_profile" android:text="@string/profile" android:drawableLeft="?ic_account" android:drawableStart="?ic_account" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<TextView android:id="@id/dialog_chat_actions_copy_id" android:visibility="gone" android:text="@string/copy_id" android:drawableLeft="?ic_copy" android:drawableStart="?ic_copy" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<TextView android:id="@id/dialog_chat_actions_share" android:visibility="gone" android:text="@string/share" android:drawableLeft="?ic_share" android:drawableStart="?ic_share" style="@style/UiKit.Settings.Item.Icon" />
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" style="@style/UiKit.ViewGroup"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<androidx.constraintlayout.widget.Guideline android:id="@id/uikit_chat_guideline" style="@style/UiKit.Chat.Guideline" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_attachment_image" android:maxHeight="500.0dip" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHeight_min="@dimen/embed_thumbnail_max_size" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toEndOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_min="@dimen/embed_thumbnail_max_size" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_attachment_image" android:maxHeight="500.0dip" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHeight_min="@dimen/embed_thumbnail_max_size" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toEndOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_min="@dimen/embed_thumbnail_max_size" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?colorBackgroundPrimary" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/chat_list_item_attachment_image_overlay" android:background="@drawable/drawable_overlay_image_rect" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:src="@drawable/ic_play_arrow_white_24dp" android:contentDescription="@string/play_full_video" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_attachment_image" app:layout_constraintEnd_toEndOf="@id/chat_list_item_attachment_image" app:layout_constraintStart_toStartOf="@id/chat_list_item_attachment_image" app:layout_constraintTop_toTopOf="@id/chat_list_item_attachment_image" style="@style/UiKit.ImageView" />
|
||||
<com.google.android.material.card.MaterialCardView android:id="@id/chat_list_item_attachment_card" android:visibility="gone" android:layout_width="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.Chat.Embed.CardView">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:padding="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.ConstraintLayout">
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<View android:background="?theme_chat_divider" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_marginTop="@dimen/chat_cell_vertical_spacing_padding" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding"
|
||||
<View android:background="?colorBackgroundModifierAccent" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_marginTop="@dimen/chat_cell_vertical_spacing_padding" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
|
@ -2,22 +2,22 @@
|
|||
<com.google.android.material.card.MaterialCardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_guideline_chat" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_padding" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding" style="@style/UiKit.Chat.Embed.CardView"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UiKit.ViewGroup.ConstraintLayout">
|
||||
<View android:id="@id/chat_list_item_embed_divider" android:background="?theme_chat_divider_embed" android:layout_width="3.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image_thumbnail" android:visibility="gone" android:layout_margin="@dimen/uikit_spacing_small" android:layout_marginLeft="@dimen/uikit_spacing_medium" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
|
||||
<View android:id="@id/chat_list_item_embed_divider" android:background="?colorBackgroundModifierAccent" android:layout_width="3.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image_thumbnail" android:visibility="gone" android:layout_margin="@dimen/uikit_spacing_small" android:layout_marginLeft="@dimen/uikit_spacing_medium" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?colorBackgroundPrimary" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/chat_list_item_embed_content" android:paddingLeft="@dimen/uikit_spacing_small" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_small" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constrainedWidth="true" app:layout_constraintEnd_toStartOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_divider" app:layout_constraintTop_toTopOf="parent">
|
||||
<TextView android:textSize="9.5sp" android:textColor="@color/grey_1" android:id="@id/chat_list_item_embed_provider" android:background="?selectableItemBackground" android:visibility="gone" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_author_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_author_text" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_author_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
|
||||
<TextView android:textColor="?theme_chat_name" android:id="@id/chat_list_item_embed_author_text" android:visibility="gone" android:layout_marginLeft="@dimen/embed_item_margin" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_author_icon" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_provider" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" app:layout_goneMarginTop="0.0dip" style="@style/UiKit.TextView.Semibold" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_author_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_author_text" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_author_text" app:placeholderImage="?colorBackgroundPrimary" app:roundedCornerRadius="2.0dip" />
|
||||
<TextView android:textColor="?colorHeadingPrimary" android:id="@id/chat_list_item_embed_author_text" android:visibility="gone" android:layout_marginLeft="@dimen/embed_item_margin" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_author_icon" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_provider" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" app:layout_goneMarginTop="0.0dip" style="@style/UiKit.TextView.Semibold" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textColor="?primary_100" android:id="@id/chat_list_item_embed_title" android:background="?selectableItemBackground" android:lineSpacingMultiplier="1.0" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_author_text" style="@style/UiKit.TextView.Semibold" />
|
||||
<androidx.constraintlayout.widget.Barrier android:id="@id/chat_list_item_embed_barrier_header" android:layout_width="0.0dip" android:layout_height="0.0dip" app:barrierDirection="bottom" app:constraint_referenced_ids="chat_list_item_embed_title, chat_list_item_embed_author_text, chat_list_item_embed_provider" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/chat_list_item_embed_description" android:background="?selectableItemBackground" android:layout_width="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_small" android:text="@string/sample_channel_message" android:lineSpacingMultiplier="1.0" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_barrier_header" style="@style/UiKit.TextView" />
|
||||
<LinearLayout android:id="@id/chat_list_item_embed_fields" android:layout_width="fill_parent" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_description" style="@style/UiKit.ViewGroup.LinearLayout" />
|
||||
<androidx.constraintlayout.widget.Barrier android:id="@id/chat_list_item_embed_barrier_data" android:layout_width="0.0dip" android:layout_height="0.0dip" app:barrierDirection="bottom" app:constraint_referenced_ids="chat_list_item_embed_barrier_header, chat_list_item_embed_description, chat_list_item_embed_fields" />
|
||||
<RelativeLayout android:id="@id/embed_image_container" android:visibility="gone" android:layout_width="wrap_content" android:layout_margin="@dimen/uikit_spacing_small" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_barrier_data" style="@style/UiKit.ViewGroup">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?colorBackgroundPrimary" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/chat_list_item_embed_image_icons" android:background="@drawable/drawable_overlay_image_rect" android:padding="@dimen/uikit_spacing_medium" android:src="@drawable/ic_play_arrow_white_24dp" android:layout_centerInParent="true" android:contentDescription="@string/sample_empty_string" style="@style/UiKit.ImageView" />
|
||||
</RelativeLayout>
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_footer_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" android:layout_marginRight="@dimen/embed_item_margin" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_footer_text" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_footer_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_footer_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" android:layout_marginRight="@dimen/embed_item_margin" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_footer_text" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_footer_text" app:placeholderImage="?colorBackgroundPrimary" app:roundedCornerRadius="2.0dip" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:id="@id/chat_list_item_embed_footer_text" android:visibility="gone" android:layout_width="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_toRightOf="@id/chat_list_item_embed_footer_icon" android:lineSpacingMultiplier="1.0" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintTop_toBottomOf="@id/embed_image_container" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.TextView.Semibold" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<FrameLayout android:id="@id/chat_list_item_embed_spoiler" android:background="?theme_chat_spoiler_bg" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_divider" app:layout_constraintTop_toTopOf="parent">
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
<RelativeLayout android:gravity="center" android:layout_gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:id="@id/chat_list_empty_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="?theme_chat_empty_pins" android:layout_above="@id/chat_list_empty_pins_text" android:layout_centerHorizontal="true" />
|
||||
<TextView android:textSize="15.0sp" android:textColor="?theme_chat_text" android:gravity="center" android:id="@id/chat_list_empty_pins_text" android:layout_marginTop="10.0dip" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="15.0sp" android:textColor="?colorTextNormal" android:gravity="center" android:id="@id/chat_list_empty_pins_text" android:layout_marginTop="10.0dip" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
|
@ -4,9 +4,9 @@
|
|||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_adapter_item_text_avatar" android:layout_marginTop="4.0dip" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:importantForAccessibility="no" style="@style/Avatar.Standard" />
|
||||
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/chat_list_adapter_item_text_avatar">
|
||||
<RelativeLayout android:layout_gravity="bottom" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="18.0dip" android:layout_marginBottom="4.0dip">
|
||||
<TextView android:textSize="13.75sp" android:textColor="?theme_chat_name" android:id="@id/chat_list_adapter_item_text_name" android:maxWidth="150.0dip" android:text="@string/sample_user_name" android:singleLine="true" android:layout_alignParentBottom="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="13.75sp" android:textColor="?colorHeadingPrimary" android:id="@id/chat_list_adapter_item_text_name" android:maxWidth="150.0dip" android:text="@string/sample_user_name" android:singleLine="true" android:layout_alignParentBottom="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="@color/status_red_500" android:textColorLink="@color/link_500" android:id="@id/chat_list_adapter_item_text" android:layout_width="fill_parent" style="@style/UiKit.TextView" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="@color/status_red_500" android:textColorLink="?colorTextLink" android:id="@id/chat_list_adapter_item_text" android:layout_width="fill_parent" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="11.0sp" android:textColor="@color/status_red_500_alpha_60" android:layout_width="fill_parent" android:layout_marginTop="6.0dip" android:text="@string/send_message_failure" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
|
@ -2,8 +2,8 @@
|
|||
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="?selectableItemBackground" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<androidx.legacy.widget.Space android:layout_width="fill_parent" android:layout_height="@dimen/chat_cell_horizontal_spacing_padding" />
|
||||
<View android:id="@id/chat_list_item_mention_footer_divider" android:background="?theme_chat_divider" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_marginTop="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_horizontal_spacing_padding" />
|
||||
<TextView android:textSize="13.75sp" android:textColor="?theme_chat_timestamp" android:gravity="center" android:id="@id/chat_list_item_message_header_channel" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="16.0dip" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="16.0dip" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin" android:text="@string/no_recent_mentions" style="@style/UiKit.TextView.Semibold" />
|
||||
<View android:id="@id/chat_list_item_mention_footer_divider" android:background="?colorBackgroundModifierAccent" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_marginTop="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_horizontal_spacing_padding" />
|
||||
<TextView android:textSize="13.75sp" android:textColor="?colorTextMuted" android:gravity="center" android:id="@id/chat_list_item_message_header_channel" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="16.0dip" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="16.0dip" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin" android:text="@string/no_recent_mentions" style="@style/UiKit.TextView.Semibold" />
|
||||
<LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="198.0dip" android:layout_marginTop="32.0dip" android:layout_marginBottom="28.0dip">
|
||||
<View android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
|
||||
<ImageView android:id="@id/chat_list_item_mention_footer_hand" android:layout_width="wrap_content" android:layout_height="198.0dip" android:src="?theme_chat_empty_mentions_hand" />
|
||||
|
@ -11,6 +11,6 @@
|
|||
</LinearLayout>
|
||||
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:background="@drawable/drawable_button_theme_grey_channels" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_padding" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_padding" android:layout_marginBottom="@dimen/chat_cell_horizontal_spacing_padding">
|
||||
<TextView android:textSize="13.75sp" android:textColor="@color/status_green_500" android:gravity="center" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="15.0dip" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin" android:text="@string/pinned_messages_pro_tip" android:singleLine="true" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:gravity="center" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="15.0dip" android:layout_width="320.0dip" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin" android:text="@string/recent_mentions_pro_tip" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="13.75sp" android:textColor="?colorTextNormal" android:gravity="center" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="15.0dip" android:layout_width="320.0dip" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin" android:text="@string/recent_mentions_pro_tip" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
|
@ -2,7 +2,7 @@
|
|||
<RelativeLayout android:background="?selectableItemBackground" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<androidx.legacy.widget.Space android:id="@id/chat_list_item_message_header_spacer" android:layout_width="fill_parent" android:layout_height="@dimen/chat_cell_horizontal_spacing_padding" />
|
||||
<View android:id="@id/chat_list_item_message_header_divider" android:background="?theme_chat_divider" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_marginTop="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_horizontal_spacing_padding" android:layout_below="@id/chat_list_item_message_header_spacer" android:layout_alignWithParentIfMissing="true" />
|
||||
<TextView android:textSize="13.75sp" android:textColor="?theme_chat_name" android:id="@id/chat_list_item_message_header_channel" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_total" android:paddingRight="0.0dip" android:singleLine="true" android:layout_below="@id/chat_list_item_message_header_divider" android:layout_alignWithParentIfMissing="true" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_item_message_header_guild" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_total" android:singleLine="true" android:layout_toRightOf="@id/chat_list_item_message_header_channel" android:layout_alignTop="@id/chat_list_item_message_header_channel" android:layout_alignBottom="@id/chat_list_item_message_header_channel" android:layout_alignWithParentIfMissing="true" style="@style/UiKit.TextView" />
|
||||
<View android:id="@id/chat_list_item_message_header_divider" android:background="?colorBackgroundModifierAccent" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_marginTop="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_horizontal_spacing_padding" android:layout_below="@id/chat_list_item_message_header_spacer" android:layout_alignWithParentIfMissing="true" />
|
||||
<TextView android:textSize="13.75sp" android:textColor="?colorHeadingPrimary" android:id="@id/chat_list_item_message_header_channel" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_total" android:paddingRight="0.0dip" android:singleLine="true" android:layout_below="@id/chat_list_item_message_header_divider" android:layout_alignWithParentIfMissing="true" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorTextMuted" android:gravity="center_vertical" android:id="@id/chat_list_item_message_header_guild" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_total" android:singleLine="true" android:layout_toRightOf="@id/chat_list_item_message_header_channel" android:layout_alignTop="@id/chat_list_item_message_header_channel" android:layout_alignBottom="@id/chat_list_item_message_header_channel" android:layout_alignWithParentIfMissing="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
|
@ -2,5 +2,5 @@
|
|||
<RelativeLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="?theme_search_broken_results" android:layout_above="@id/chat_list_search_error_text" android:layout_centerHorizontal="true" />
|
||||
<TextView android:textSize="15.0sp" android:textColor="?theme_chat_text" android:gravity="center" android:id="@id/chat_list_search_error_text" android:layout_marginTop="10.0dip" android:text="@string/search_error" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="15.0sp" android:textColor="?colorTextNormal" android:gravity="center" android:id="@id/chat_list_search_error_text" android:layout_marginTop="10.0dip" android:text="@string/search_error" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
|
@ -2,5 +2,5 @@
|
|||
<RelativeLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.airbnb.lottie.LottieAnimationView android:id="@id/chat_list_search_indexing_animation" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@id/chat_list_search_indexing_text" android:layout_centerHorizontal="true" app:lottie_autoPlay="true" app:lottie_fileName="?theme_search_indexing_animation" app:lottie_loop="true" />
|
||||
<TextView android:textSize="15.0sp" android:textColor="?theme_chat_text" android:gravity="center" android:id="@id/chat_list_search_indexing_text" android:layout_marginTop="10.0dip" android:text="@string/search_guild_still_indexing" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="15.0sp" android:textColor="?colorTextNormal" android:gravity="center" android:id="@id/chat_list_search_indexing_text" android:layout_marginTop="10.0dip" android:text="@string/search_guild_still_indexing" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
|
@ -2,5 +2,5 @@
|
|||
<RelativeLayout android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:id="@id/chat_list_adapter_item_start_image" android:layout_width="98.0dip" android:layout_height="76.0dip" android:layout_marginTop="10.0dip" android:src="@drawable/asset_mascot_grey_left" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_centerInParent="true" android:contentDescription="@string/sample_empty_string" />
|
||||
<com.discord.app.AppTextView android:textColor="?theme_chat_text" android:id="@id/chat_list_adapter_item_start" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:text="@string/beginning_channel" android:layout_below="@id/chat_list_adapter_item_start_image" style="@style/UiKit.TextView" />
|
||||
<com.discord.app.AppTextView android:textColor="?colorTextNormal" android:id="@id/chat_list_adapter_item_start" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:text="@string/beginning_channel" android:layout_below="@id/chat_list_adapter_item_start_image" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:id="@id/chat_list_adapter_item_system_icon" android:layout_width="@dimen/avatar_size_small" android:layout_height="@dimen/avatar_size_small" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_centerVertical="true" android:importantForAccessibility="no" />
|
||||
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/chat_list_adapter_item_system_icon" android:layout_centerVertical="true">
|
||||
<TextView android:textColor="?theme_chat_text" android:id="@id/chat_list_adapter_item_system_text" android:layout_width="fill_parent" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Large" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_system_timestamp" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:text="@string/sample_time_pm" android:singleLine="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?colorTextNormal" android:id="@id/chat_list_adapter_item_system_text" android:layout_width="fill_parent" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Large" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorTextMuted" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_system_timestamp" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:text="@string/sample_time_pm" android:singleLine="true" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
|
@ -4,9 +4,9 @@
|
|||
<androidx.constraintlayout.widget.Guideline android:id="@id/uikit_chat_guideline" style="@style/UiKit.Chat.Guideline" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_adapter_item_text_avatar" android:layout_marginLeft="8.0dip" android:importantForAccessibility="no" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="@id/uikit_chat_guideline" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/uikit_chat_guideline" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@id/chat_list_adapter_item_text_header" style="@style/Avatar.Chat" />
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/chat_list_adapter_item_text_header" android:layout_width="wrap_content" android:layout_height="0.0dip" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_adapter_item_text_avatar">
|
||||
<TextView android:textColor="?theme_chat_name" android:id="@id/chat_list_adapter_item_text_name" android:lineSpacingMultiplier="1.0" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintEnd_toStartOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintStart_toStartOf="parent" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<TextView android:textColor="?colorHeadingPrimary" android:id="@id/chat_list_adapter_item_text_name" android:lineSpacingMultiplier="1.0" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintEnd_toStartOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintStart_toStartOf="parent" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<TextView android:textSize="9.5sp" android:textColor="@color/white" android:id="@id/chat_list_adapter_item_text_bot" android:background="@drawable/drawable_button_purple_neutral" android:paddingLeft="3.0dip" android:paddingTop="0.5dip" android:paddingRight="3.0dip" android:paddingBottom="0.5dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginBottom="1.0dip" android:text="BOT" android:singleLine="true" app:layout_constraintBottom_toBottomOf="@id/chat_list_adapter_item_text_name" app:layout_constraintEnd_toStartOf="@id/chat_list_adapter_item_text_timestamp" app:layout_constraintStart_toEndOf="@id/chat_list_adapter_item_text_name" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_text_timestamp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:singleLine="true" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_name" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_adapter_item_text_bot" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorTextMuted" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_text_timestamp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:singleLine="true" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_name" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_adapter_item_text_bot" style="@style/UiKit.TextView" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/chat_list_adapter_item_text" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_xsmall" android:layout_marginRight="@dimen/uikit_spacing_small" android:layout_marginBottom="2.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/uikit_chat_guideline" app:layout_constraintTop_toBottomOf="@id/chat_list_adapter_item_text_header" style="@style/UiKit.Chat.Text" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
10
com.discord/res/layout/widget_chat_overlay.xml
Normal file
10
com.discord/res/layout/widget_chat_overlay.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.google.android.material.chip.Chip android:textAppearance="@style/UiKit.TextView" android:textColor="@color/white" android:gravity="start" android:layout_gravity="center_horizontal" android:id="@id/chat_overlay_old_messages_chip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_medium" android:text="@string/youre_viewing_older_messages" app:chipBackgroundColor="@color/status_grey_500" app:chipIcon="@drawable/ic_message_white_18dp" app:chipIconEnabled="true" app:chipIconSize="18.0dip" app:chipIconVisible="true" app:closeIcon="@drawable/ic_arrow_drop_down_white_18dp" app:closeIconEnabled="true" app:closeIconEndPadding="@dimen/uikit_spacing_medium" app:closeIconSize="18.0dip" app:closeIconTint="@color/white" app:closeIconVisible="true" app:iconStartPadding="@dimen/uikit_spacing_medium" app:layout_constraintBottom_toTopOf="@id/chat_overlay_typing" style="@style/Widget.MaterialComponents.Chip.Action" />
|
||||
<RelativeLayout android:gravity="center_vertical" android:id="@id/chat_overlay_typing" android:background="?chat_typing_bg" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/uikit_typing_indicator_height" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" app:layout_constraintBottom_toBottomOf="parent" style="@style/UiKit.ViewGroup">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:ellipsize="end" android:gravity="center_vertical" android:id="@id/chat_typing_users_typing" android:layout_width="wrap_content" android:layout_height="@dimen/uikit_typing_indicator_height" android:maxLines="1" android:layout_alignParentLeft="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:ellipsize="end" android:gravity="end|center" android:id="@id/chat_typing_users_slowmode" android:layout_width="wrap_content" android:layout_height="@dimen/uikit_typing_indicator_height" android:maxLines="1" android:layout_toLeftOf="@id/chat_typing_users_slowmode_icon" android:layout_toRightOf="@id/chat_typing_users_typing" style="@style/UiKit.TextView" />
|
||||
<ImageView android:id="@id/chat_typing_users_slowmode_icon" android:layout_marginLeft="@dimen/uikit_spacing_small" android:src="?ic_slowmode_timer" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/channel_slowmode_desc" style="@style/UiKit.ImageView" />
|
||||
</RelativeLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout android:gravity="center_vertical" android:background="?chat_typing_bg" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="@dimen/uikit_typing_indicator_height" style="@style/UiKit.ViewGroup"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:ellipsize="end" android:gravity="center_vertical" android:id="@id/chat_typing_users_typing" android:layout_width="wrap_content" android:layout_height="@dimen/uikit_typing_indicator_height" android:maxLines="1" android:layout_alignParentLeft="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:ellipsize="end" android:gravity="end|center" android:id="@id/chat_typing_users_slowmode" android:layout_width="wrap_content" android:layout_height="@dimen/uikit_typing_indicator_height" android:maxLines="1" android:layout_toLeftOf="@id/chat_typing_users_slowmode_icon" android:layout_toRightOf="@id/chat_typing_users_typing" style="@style/UiKit.TextView" />
|
||||
<ImageView android:id="@id/chat_typing_users_slowmode_icon" android:layout_marginLeft="@dimen/uikit_spacing_small" android:src="?ic_slowmode_timer" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/channel_slowmode_desc" style="@style/UiKit.ImageView" />
|
||||
</RelativeLayout>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<TextView android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/xbox_authorization_title" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/connection_enter_code" style="@style/UiKit.TextView.Subtext" />
|
||||
</LinearLayout>
|
||||
<com.discord.views.DigitVerificationView android:id="@id/connections_xbox_digits" android:layout_marginTop="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup" />
|
||||
<com.discord.views.CodeVerificationView android:id="@id/connections_xbox_code" android:layout_marginTop="@dimen/uikit_spacing_large" app:cvv_character_input_type="alphanumeric" style="@style/UiKit.ViewGroup" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:gravity="center" android:id="@id/connections_xbox_login" android:background="?primary_500" android:padding="@dimen/uikit_spacing_medium" android:layout_margin="@dimen/uikit_spacing_medium" android:foreground="?selectableItemBackground" android:layout_alignParentBottom="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<TextView android:textColor="?primary_300" android:layout_marginRight="@dimen/uikit_spacing_medium" android:text="@string/connection_login_with" style="@style/UiKit.TextView" />
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/friends_list_item_presence" android:layout_width="12.0dip" android:layout_height="12.0dip" android:layout_centerInParent="true" app:placeholderImage="@color/status_grey_500" app:roundAsCircle="true" />
|
||||
</RelativeLayout>
|
||||
<LinearLayout android:id="@id/friends_list_item_text" android:layout_toLeftOf="@id/friends_list_item_mutual_wrap" android:layout_toRightOf="@id/friends_list_item_avatar" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textColor="?theme_chat_text" android:id="@id/friends_list_item_name" android:text="@string/sample_user_name" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:textColor="?theme_chat_timestamp" android:id="@id/friends_list_item_game" android:paddingTop="2.0dip" android:text="@string/sample_user_presence" android:singleLine="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?colorTextNormal" android:id="@id/friends_list_item_name" android:text="@string/sample_user_name" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:textColor="?colorTextMuted" android:id="@id/friends_list_item_game" android:paddingTop="2.0dip" android:text="@string/sample_user_presence" android:singleLine="true" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/friends_list_item_mutual_wrap" android:layout_width="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_alignParentRight="true" android:layout_centerVertical="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<FrameLayout android:id="@id/friends_list_item_mutual_1" android:layout_marginLeft="4.0dip" android:layout_marginRight="4.0dip" style="@style/Avatar.Standard">
|
||||
|
|
|
@ -3,23 +3,23 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<LinearLayout android:gravity="center" android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip">
|
||||
<ImageView android:id="@id/friends_list_item_empty_no_friends" android:layout_width="320.0dip" android:layout_height="0.0dip" android:src="?theme_friends_no_friends" android:scaleType="fitCenter" android:adjustViewBounds="true" android:layout_weight="1.0" android:contentDescription="@string/sample_empty_string" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?theme_chat_text" android:gravity="center" android:layout_width="320.0dip" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip" android:text="@string/friends_empty_state_all" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorTextNormal" android:gravity="center" android:layout_width="320.0dip" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip" android:text="@string/friends_empty_state_all" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white" android:gravity="center" android:id="@id/friends_list_item_empty_invite" android:background="@drawable/drawable_button_purple" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_height="36.0dip" android:text="@string/tip_instant_invite_title3" android:singleLine="true" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:gravity="center" android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip">
|
||||
<ImageView android:id="@id/friends_list_item_empty_no_online" android:layout_width="320.0dip" android:layout_height="0.0dip" android:src="?theme_friends_no_online" android:scaleType="fitCenter" android:adjustViewBounds="true" android:layout_weight="1.0" android:contentDescription="@string/sample_empty_string" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?theme_chat_text" android:gravity="center" android:layout_width="320.0dip" android:layout_marginTop="16.0dip" android:text="@string/friends_empty_state_online" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorTextNormal" android:gravity="center" android:layout_width="320.0dip" android:layout_marginTop="16.0dip" android:text="@string/friends_empty_state_online" style="@style/UiKit.TextView.Semibold" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:gravity="center" android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip">
|
||||
<ImageView android:id="@id/friends_list_item_empty_no_request" android:layout_width="320.0dip" android:layout_height="0.0dip" android:src="?theme_friends_no_request" android:scaleType="fitCenter" android:adjustViewBounds="true" android:layout_weight="1.0" android:contentDescription="@string/sample_empty_string" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?theme_chat_text" android:gravity="center" android:layout_width="320.0dip" android:layout_marginTop="16.0dip" android:text="@string/friends_empty_state_pending" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorTextNormal" android:gravity="center" android:layout_width="320.0dip" android:layout_marginTop="16.0dip" android:text="@string/friends_empty_state_pending" style="@style/UiKit.TextView.Semibold" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:gravity="center" android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip">
|
||||
<ImageView android:id="@id/friends_list_item_empty_no_suggestions" android:layout_width="320.0dip" android:layout_height="0.0dip" android:src="?theme_friends_no_suggestions" android:scaleType="fitCenter" android:adjustViewBounds="true" android:layout_weight="1.0" android:contentDescription="@string/sample_empty_string" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?theme_chat_text" android:gravity="center" android:layout_width="320.0dip" android:layout_marginTop="16.0dip" android:text="@string/friends_empty_state_all" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorTextNormal" android:gravity="center" android:layout_width="320.0dip" android:layout_marginTop="16.0dip" android:text="@string/friends_empty_state_all" style="@style/UiKit.TextView.Semibold" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:gravity="center" android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip">
|
||||
<ImageView android:id="@id/friends_list_item_empty_no_blocked" android:layout_width="320.0dip" android:layout_height="0.0dip" android:src="?theme_friends_no_block" android:scaleType="fitCenter" android:adjustViewBounds="true" android:layout_weight="1.0" android:contentDescription="@string/sample_empty_string" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?theme_chat_text" android:gravity="center" android:layout_width="340.0dip" android:layout_marginTop="16.0dip" android:text="@string/friends_empty_state_blocked" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorTextNormal" android:gravity="center" android:layout_width="340.0dip" android:layout_marginTop="16.0dip" android:text="@string/friends_empty_state_blocked" style="@style/UiKit.TextView.Semibold" />
|
||||
</LinearLayout>
|
||||
</com.discord.app.AppViewFlipper>
|
|
@ -5,7 +5,7 @@
|
|||
<include layout="@layout/layout_search" />
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/global_search_guild_list" style="@style/UiKit.GuildsList.Horiz" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<com.discord.app.AppViewFlipper android:id="@id/global_search_view_flipper" android:background="?colorPrimary" style="@style/AppTheme.AppBarScrollingViewBehavior">
|
||||
<com.discord.app.AppViewFlipper android:id="@id/global_search_view_flipper" android:background="?colorBackgroundPrimary" style="@style/AppTheme.AppBarScrollingViewBehavior">
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/global_search_recycler" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_xxxlarge" android:scrollbars="vertical" android:clipToPadding="false" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
<TextView android:textColor="?primary_400" android:gravity="center" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_xxxlarge" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/quickswitcher_tutorial_message_search" android:drawableTop="@drawable/img_quick_switcher_empty" android:drawablePadding="@dimen/uikit_spacing_large" style="@style/UiKit.TextView.H2" />
|
||||
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<RelativeLayout style="@style/UiKit.ViewGroup.RelativeLayout.AppBarScrollingViewBehavior">
|
||||
<com.discord.app.AppViewFlipper android:id="@id/guild_call_view_flipper" android:layout_width="fill_parent" android:layout_height="fill_parent" android:inAnimation="@anim/anim_fade_in" android:outAnimation="@anim/anim_fade_out" android:layout_above="@id/guild_call_controls" android:layout_alignWithParentIfMissing="true">
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/guild_call_participant_list" android:background="?colorPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/guild_call_participant_list" android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||||
<LinearLayout android:gravity="center" android:layout_gravity="center" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<ImageView android:src="?img_voice_no_connections" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textSize="13.75sp" android:gravity="center" android:layout_margin="16.0dip" android:text="@string/voice_channel_empty" style="@style/UiKit.TextView" />
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<TextView android:id="@id/guild_invite_empty_results" android:visibility="gone" style="@style/UiKit.TextView.NoResults" />
|
||||
</LinearLayout>
|
||||
</com.discord.app.AppViewFlipper>
|
||||
<View android:background="@color/colorPrimaryDark" style="@style/UiKit.Divider" />
|
||||
<View android:background="?colorBackgroundSecondary" style="@style/UiKit.Divider" />
|
||||
<LinearLayout android:background="?primary_630" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:layout_gravity="center" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/invite_footer_link_header" style="@style/UiKit.TextView.Subtext" />
|
||||
<LinearLayout android:background="@drawable/drawable_bg_outline_dark" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?colorPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.discord.widgets.main.WidgetMainDrawerLayout android:id="@id/main_drawer" android:fitsSystemWindows="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
<include layout="@layout/widget_main_panel_loading" />
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
<fragment android:name="com.discord.widgets.chat.list.WidgetChatList" android:id="@id/widget_chat_list" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_above="@id/widget_chat_input" android:layout_below="@id/action_bar_toolbar_layout" />
|
||||
<fragment android:name="com.discord.widgets.friends.WidgetFriendsList" android:id="@id/widget_friends_list" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/action_bar_toolbar_layout" />
|
||||
<fragment android:name="com.discord.widgets.status.WidgetStatus" android:id="@id/widget_status" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/action_bar_toolbar_layout" />
|
||||
<fragment android:name="com.discord.widgets.chat.typing.WidgetChatTypingUsers" android:id="@id/widget_chat_typing" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_above="@id/widget_chat_detached" />
|
||||
<fragment android:name="com.discord.widgets.chat.detached.WidgetChatDetached" android:id="@id/widget_chat_detached" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_above="@id/widget_chat_input" android:layout_centerHorizontal="true" />
|
||||
<fragment android:name="com.discord.widgets.chat.overlay.WidgetChatOverlay" android:id="@id/widget_chat_overlay_actions" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_above="@id/widget_chat_input" android:layout_centerHorizontal="true" />
|
||||
<fragment android:name="com.discord.widgets.chat.input.WidgetChatInput" android:id="@id/widget_chat_input" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_above="@id/widget_chat_voice" android:layout_alignWithParentIfMissing="true" />
|
||||
<fragment android:name="com.discord.widgets.voice.call.WidgetVoiceCallInline" android:id="@id/widget_chat_voice" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" />
|
||||
<ViewStub android:id="@id/main_panel_center_nsfw" android:layout="@layout/widget_main_panel_center_nsfw" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/action_bar_toolbar_layout" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout android:layout_gravity="end" android:id="@id/main_panel_right" android:background="?primary_600" android:fitsSystemWindows="true" android:layout_width="@dimen/right_panel_width" android:layout_height="fill_parent"
|
||||
<RelativeLayout android:layout_gravity="end" android:id="@id/main_panel_right" android:background="?colorBackgroundPrimary" android:fitsSystemWindows="true" android:layout_width="@dimen/right_panel_width" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<fragment android:name="com.discord.widgets.channels.WidgetChannelTopic" android:id="@id/widget_channel_topic" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
<fragment android:name="com.discord.widgets.channels.memberlist.WidgetChannelMembersList" android:id="@id/widget_connected_list" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/widget_channel_topic" />
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
<VideoView android:layout_gravity="center" android:id="@id/media_video" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||||
</FrameLayout>
|
||||
<com.facebook.samples.zoomable.ZoomableDraweeView android:id="@id/media_image" android:background="?colorPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent" app:failureImage="@drawable/asset_sadbot" app:failureImageScaleType="center" app:placeholderImage="@drawable/asset_image_loading" app:progressBarAutoRotateInterval="1000" app:progressBarImage="@drawable/asset_image_loading_spinner" />
|
||||
<com.facebook.samples.zoomable.ZoomableDraweeView android:id="@id/media_image" android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent" app:failureImage="@drawable/asset_sadbot" app:failureImageScaleType="center" app:placeholderImage="@drawable/asset_image_loading" app:progressBarAutoRotateInterval="1000" app:progressBarImage="@drawable/asset_image_loading_spinner" />
|
||||
</RelativeLayout>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
@ -2,24 +2,25 @@
|
|||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView android:id="@id/rich_presence_header" style="@style/UserProfile.Section.Header" />
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?primary_600" style="@style/UserProfile.Section.Body.Card">
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?colorBackgroundPrimary" style="@style/UserProfile.Section.Card">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UserProfile.PresenceSection.Body">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_large" android:layout_width="32.0dip" android:layout_height="32.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="?colorPrimaryDark" app:roundedCornerRadius="@dimen/uikit_spacing_small" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_large" android:layout_width="64.0dip" android:layout_height="64.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="?colorBackgroundSecondary" app:roundedCornerRadius="@dimen/uikit_spacing_small" />
|
||||
<androidx.legacy.widget.Space android:id="@id/image_bottom_guideline" android:layout_width="@dimen/uikit_image_border_size" android:layout_height="@dimen/uikit_image_border_size" android:layout_marginLeft="@dimen/uikit_image_border_size" android:layout_marginTop="@dimen/uikit_image_border_size" app:layout_constraintLeft_toRightOf="@id/rich_presence_image_large" app:layout_constraintStart_toEndOf="@id/rich_presence_image_large" app:layout_constraintTop_toBottomOf="@id/rich_presence_image_large" />
|
||||
<FrameLayout android:background="?primary_600_circle" android:padding="@dimen/uikit_image_border_size" android:layout_width="18.0dip" android:layout_height="18.0dip" app:layout_constraintBottom_toBottomOf="@id/image_bottom_guideline" app:layout_constraintEnd_toEndOf="@id/image_bottom_guideline" app:layout_constraintRight_toRightOf="@id/image_bottom_guideline">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_small" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="fill_parent" app:placeholderImage="@drawable/ic_spotify_green_16dp" app:roundAsCircle="true" style="@style/Avatar.Small" />
|
||||
<FrameLayout android:id="@id/rich_presence_image_small_wrap" android:background="?colorPrimaryCircle" android:padding="@dimen/uikit_image_border_size" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="@id/image_bottom_guideline" app:layout_constraintEnd_toEndOf="@id/image_bottom_guideline" app:layout_constraintRight_toRightOf="@id/image_bottom_guideline">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_small" android:visibility="visible" app:placeholderImage="@drawable/ic_spotify_green_24dp" app:roundAsCircle="true" style="@style/Avatar.Medium" />
|
||||
</FrameLayout>
|
||||
<LinearLayout android:id="@id/rich_presence_container_data" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintHorizontal_weight="1.0" app:layout_constraintLeft_toRightOf="@id/rich_presence_image_large" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/rich_presence_image_large" app:layout_constraintTop_toTopOf="@id/rich_presence_image_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:ellipsize="marquee" android:id="@id/rich_presence_title" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" style="@style/UserProfile.PresenceSection.Body.HeaderText" />
|
||||
<TextView android:id="@id/rich_presence_details" style="@style/UserProfile.PresenceSection.Body.Subtext" />
|
||||
<TextView android:id="@id/rich_presence_time" style="@style/UserProfile.PresenceSection.Body.Subtext" />
|
||||
</LinearLayout>
|
||||
<com.miguelgaeta.super_bar.SuperBar android:id="@id/rich_presence_superbar" android:focusable="false" android:clickable="false" android:layout_height="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/rich_presence_container_data" app:sb_barBackgroundColor="?primary_500" app:sb_barColor="?primary_000" app:sb_barControlColor="@color/transparent" app:sb_barControlRadius="4.0dip" app:sb_barControlShadowRadius="0.0dip" app:sb_barHeight="4.0dip" app:sb_barTouchEnabled="false" app:sb_barValueMax="100.0" style="@style/UiKit.SuperBar" />
|
||||
<androidx.constraintlayout.widget.Barrier android:id="@id/barrier" android:layout_width="fill_parent" android:layout_height="wrap_content" app:barrierDirection="bottom" app:constraint_referenced_ids="rich_presence_container_data,rich_presence_image_large" />
|
||||
<com.miguelgaeta.super_bar.SuperBar android:id="@id/rich_presence_superbar" android:focusable="false" android:clickable="false" android:layout_height="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/barrier" app:sb_barBackgroundColor="?primary_500" app:sb_barColor="?primary_000" app:sb_barControlColor="@color/transparent" app:sb_barControlRadius="4.0dip" app:sb_barControlShadowRadius="0.0dip" app:sb_barHeight="4.0dip" app:sb_barTouchEnabled="false" app:sb_barValueMax="100.0" style="@style/UiKit.SuperBar" />
|
||||
<FrameLayout android:id="@id/rich_presence_music_progress_container" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/rich_presence_superbar" style="@style/UiKit.ViewGroup">
|
||||
<TextView android:layout_gravity="start" android:id="@id/rich_presence_music_elapsed" style="@style/UiKit.TextView" />
|
||||
<TextView android:layout_gravity="end" android:id="@id/rich_presence_music_duration" style="@style/UiKit.TextView" />
|
||||
</FrameLayout>
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/rich_presence_play_button" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/user_activity_play_on_platform" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/rich_presence_music_progress_container" style="@style/UserProfile.PresenceSection.MaterialButton" />
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/rich_presence_play_button" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/user_activity_play_on_platform" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/rich_presence_music_progress_container" style="@style/UserProfile.PresenceSection.MaterialButton" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</LinearLayout>
|
|
@ -5,7 +5,7 @@
|
|||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/popup_icon" android:visibility="gone" android:layout_margin="@dimen/uikit_spacing_medium" app:roundAsCircle="true" style="@style/Avatar.Notification" />
|
||||
<LinearLayout android:layout_gravity="center_vertical" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_weight="1.0" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textColor="?primary_100" android:id="@id/popup_title" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Subtext.Semibold.SingleLine" />
|
||||
<com.discord.app.AppTextView android:textColor="?theme_chat_text" android:ellipsize="end" android:id="@id/popup_body" android:maxLines="3" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
|
||||
<com.discord.app.AppTextView android:textColor="?colorTextNormal" android:ellipsize="end" android:id="@id/popup_body" android:maxLines="3" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<ImageView android:layout_gravity="center|top" android:id="@id/popup_close_btn" android:src="?ic_close_24dp" android:contentDescription="@string/dismiss" style="@style/UiKit.ImageView.Clickable.Corner.TopEnd" />
|
||||
</LinearLayout>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<LinearLayout android:gravity="center_vertical" android:background="?primary_600" android:padding="@dimen/uikit_spacing_large" android:layout_height="fill_parent" android:weightSum="2.0" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<View android:layout_width="fill_parent" android:layout_height="0.0dip" android:minHeight="@dimen/uikit_spacing_large" android:layout_weight="1.0" />
|
||||
<ImageView android:layout_gravity="center_horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:src="@drawable/img_guild_use_cases" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:layout_gravity="center_horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:src="@drawable/img_guild_use_cases" android:adjustViewBounds="true" android:maxHeight="104.0dip" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<TextView android:layout_gravity="center" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/nuf_get_started" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:layout_gravity="center" android:layout_marginBottom="@dimen/uikit_spacing_xxlarge" android:text="@string/nuf_what_do_you_want" style="@style/UiKit.TextView" />
|
||||
<com.google.android.material.card.MaterialCardView android:layout_width="fill_parent" android:layout_height="wrap_content" app:cardBackgroundColor="?primary_630" app:cardCornerRadius="8.0dip" app:strokeColor="?primary_660" app:strokeWidth="1.0dip">
|
||||
|
|
|
@ -2,15 +2,19 @@
|
|||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView android:id="@id/rich_presence_header" style="@style/UserProfile.Section.Header" />
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?primary_600" style="@style/UserProfile.Section.Body.Card">
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?colorBackgroundPrimary" style="@style/UserProfile.Section.Card">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UserProfile.PresenceSection.Body">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_large" android:layout_width="32.0dip" android:layout_height="32.0dip" app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="?ic_game_icon_placeholder" app:placeholderImageScaleType="fitCenter" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_small" android:visibility="gone" app:layout_constraintBottom_toBottomOf="@id/rich_presence_image_large" app:layout_constraintEnd_toEndOf="@id/rich_presence_image_large" app:roundAsCircle="true" style="@style/Avatar.Small" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_large" android:layout_width="64.0dip" android:layout_height="64.0dip" app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="?ic_game_icon_placeholder" app:placeholderImageScaleType="fitCenter" />
|
||||
<Space android:id="@id/image_bottom_guideline" android:layout_width="@dimen/uikit_image_border_size" android:layout_height="@dimen/uikit_image_border_size" android:layout_marginLeft="@dimen/uikit_image_border_size" android:layout_marginTop="@dimen/uikit_image_border_size" app:layout_constraintLeft_toRightOf="@id/rich_presence_image_large" app:layout_constraintStart_toEndOf="@id/rich_presence_image_large" app:layout_constraintTop_toBottomOf="@id/rich_presence_image_large" />
|
||||
<FrameLayout android:id="@id/rich_presence_image_small_wrap" android:background="?colorPrimaryCircle" android:padding="@dimen/uikit_image_border_size" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="@id/image_bottom_guideline" app:layout_constraintEnd_toEndOf="@id/image_bottom_guideline" app:layout_constraintRight_toRightOf="@id/image_bottom_guideline">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_small" android:visibility="gone" app:roundAsCircle="true" style="@style/Avatar.Medium" />
|
||||
</FrameLayout>
|
||||
<LinearLayout android:id="@id/rich_presence_container_data" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" app:layout_constrainedHeight="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/rich_presence_image_large" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/rich_presence_image_large" app:layout_constraintTop_toTopOf="@id/rich_presence_image_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:ellipsize="marquee" android:id="@id/rich_presence_title" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" style="@style/UserProfile.PresenceSection.Body.HeaderText" />
|
||||
<TextView android:id="@id/rich_presence_time" style="@style/UserProfile.PresenceSection.Body.Subtext" />
|
||||
</LinearLayout>
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/rich_presence_play_button" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/user_activity_play_on_platform" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/rich_presence_container_data" style="@style/UserProfile.PresenceSection.MaterialButton" />
|
||||
<androidx.constraintlayout.widget.Barrier android:id="@id/barrier" android:layout_width="fill_parent" android:layout_height="wrap_content" app:barrierDirection="bottom" app:constraint_referenced_ids="rich_presence_container_data,rich_presence_image_large" />
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/rich_presence_play_button" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/user_activity_play_on_platform" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/barrier" style="@style/UserProfile.PresenceSection.MaterialButton" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</LinearLayout>
|
|
@ -10,7 +10,7 @@
|
|||
<TextView android:textSize="20.0sp" android:textColor="?primary_100" android:gravity="center_horizontal" android:id="@id/private_call_status_primary" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_400" android:id="@id/private_call_status_secondary" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/private_call_participant_list" android:background="?colorPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="?actionBarSize" />
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/private_call_participant_list" android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="?actionBarSize" />
|
||||
<com.discord.views.video.VideoCallParticipantView android:id="@id/private_call_pip_participant" android:layout_width="140.0dip" android:layout_height="79.0dip" android:layout_margin="16.0dip" android:layout_marginTop="32.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout" app:vcpv_is_overlay="true" app:vcpv_match_video_orientation="true" />
|
||||
<com.google.android.material.appbar.AppBarLayout android:id="@id/action_bar_toolbar_layout" android:layout_width="fill_parent" android:layout_height="?actionBarSize" app:layout_constraintTop_toTopOf="parent" style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?colorPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<include layout="@layout/layout_search_actionbar" />
|
||||
<FrameLayout style="@style/AppTheme.AppBarScrollingViewBehavior">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<View android:id="@id/suggestion_item_header_history_divider" android:background="?theme_chat_divider" android:layout_width="fill_parent" android:layout_height="1.0px" android:layout_marginTop="8.0dip" android:layout_marginBottom="16.0dip" android:layout_alignParentTop="true" />
|
||||
<View android:id="@id/suggestion_item_header_history_divider" android:background="?colorBackgroundModifierAccent" android:layout_width="fill_parent" android:layout_height="1.0px" android:layout_marginTop="8.0dip" android:layout_marginBottom="16.0dip" android:layout_alignParentTop="true" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?theme_search_suggestion_header_text_color" android:gravity="center_vertical" android:id="@id/suggestion_item_header_history_text" android:layout_width="fill_parent" android:layout_marginLeft="72.0dip" android:text="@string/search_group_header_history" android:layout_alignTop="@id/suggestion_item_header_history_clear_icon" android:layout_alignBottom="@id/suggestion_item_header_history_clear_icon" android:layout_alignParentLeft="true" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
|
||||
<ImageView android:id="@id/suggestion_item_header_history_clear_icon" android:background="?selectableItemBackgroundBorderless" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:focusable="true" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="?theme_search_suggestion_icon_clear_history" android:layout_below="@id/suggestion_item_header_history_divider" android:layout_alignParentRight="true" android:contentDescription="@string/search_clear_history" />
|
||||
</RelativeLayout>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.google.android.material.appbar.AppBarLayout android:background="?primary_630" style="@style/AppTheme.AppBarLayout">
|
||||
<com.google.android.material.appbar.AppBarLayout android:background="?toolbarColor" style="@style/AppTheme.AppBarLayout">
|
||||
<com.google.android.material.appbar.CollapsingToolbarLayout style="@style/AppTheme.CollapsingToolbarLayout">
|
||||
<com.discord.widgets.user.profile.UserProfileHeaderView android:id="@id/user_settings_profile_header_view" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="?actionBarSize" app:layout_collapseMode="parallax" app:user_profile_header_background_color="?primary_630" />
|
||||
<androidx.appcompat.widget.Toolbar android:background="?primary_630" style="@style/AppTheme.Toolbar" />
|
||||
<com.discord.widgets.user.profile.UserProfileHeaderView android:id="@id/user_settings_profile_header_view" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="?actionBarSize" app:layout_collapseMode="parallax" app:user_profile_header_background_color="?toolbarColor" />
|
||||
<androidx.appcompat.widget.Toolbar app:navigationIcon="?ic_action_bar_back" style="@style/AppTheme.Toolbar" />
|
||||
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
||||
|
@ -9,7 +9,7 @@
|
|||
<TextView android:text="@string/theme" style="@style/UiKit.Settings.Item.Header" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/settings_appearance_theme_light_radio" app:cs_text="@string/theme_light" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/settings_appearance_theme_dark_radio" app:cs_text="@string/theme_dark" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/settings_appearance_theme_pure_evil_radio" android:visibility="gone" app:cs_text="@string/theme_pure_evil_title" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/settings_appearance_theme_pure_evil_switch" app:cs_text="@string/theme_pure_evil_switch_label" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<View style="@style/UiKit.Settings.Divider" />
|
||||
<TextView android:text="@string/sync" style="@style/UiKit.Settings.Item.Header" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/settings_appearance_sync_switch" app:cs_text="@string/settings_sync" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textSize="24.0sp" android:textColor="?primary_100" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/two_fa_login_label" style="@style/UiKit.TextView" />
|
||||
<TextView android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_xlarge" android:text="@string/two_fa_login_body" style="@style/UiKit.TextView" />
|
||||
<com.discord.views.DigitVerificationView android:id="@id/user_settings_mfa_enable_input_digits" android:layout_marginTop="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup" />
|
||||
<com.discord.views.CodeVerificationView android:id="@id/user_settings_mfa_enable_input_code" android:layout_marginTop="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup" />
|
||||
</LinearLayout>
|
|
@ -2,7 +2,7 @@
|
|||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView android:id="@id/rich_presence_header" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UserProfile.Section.Header" />
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?primary_600" style="@style/UserProfile.Section.Body.Card">
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?colorBackgroundPrimary" style="@style/UserProfile.Section.Card">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.ConstraintLayout">
|
||||
<androidx.constraintlayout.widget.Guideline android:orientation="vertical" android:id="@id/start_guideline" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintGuide_begin="@dimen/uikit_spacing_large" />
|
||||
<androidx.constraintlayout.widget.Guideline android:orientation="vertical" android:id="@id/embed_guideline_right" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintGuide_end="@dimen/uikit_spacing_large" />
|
||||
|
@ -11,10 +11,10 @@
|
|||
<TextView android:textColor="?stream_preview_placeholder_color" android:id="@id/stream_preview_placeholder_caption" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/stream_preview_loading" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/stream_preview_image" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintDimensionRatio="H,16:9" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="parent" app:roundedCornerRadius="@dimen/uikit_spacing_small" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_large" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_marginTop="@dimen/uikit_spacing_large" app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintLeft_toLeftOf="@id/start_guideline" app:layout_constraintStart_toStartOf="@id/start_guideline" app:layout_constraintTop_toBottomOf="@id/stream_preview_image" app:placeholderImage="?colorPrimaryDark" app:roundedCornerRadius="@dimen/uikit_spacing_small" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_large" android:layout_width="64.0dip" android:layout_height="64.0dip" android:layout_marginTop="@dimen/uikit_spacing_large" app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintLeft_toLeftOf="@id/start_guideline" app:layout_constraintStart_toStartOf="@id/start_guideline" app:layout_constraintTop_toBottomOf="@id/stream_preview_image" app:placeholderImage="?colorBackgroundSecondary" app:roundedCornerRadius="@dimen/uikit_spacing_small" />
|
||||
<androidx.legacy.widget.Space android:id="@id/image_bottom_guideline" android:layout_width="@dimen/uikit_image_border_size" android:layout_height="@dimen/uikit_image_border_size" android:layout_marginLeft="@dimen/uikit_image_border_size" android:layout_marginTop="@dimen/uikit_image_border_size" app:layout_constraintLeft_toRightOf="@id/rich_presence_image_large" app:layout_constraintStart_toEndOf="@id/rich_presence_image_large" app:layout_constraintTop_toBottomOf="@id/rich_presence_image_large" />
|
||||
<FrameLayout android:background="?primary_600" android:padding="@dimen/uikit_image_border_size" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="@id/image_bottom_guideline" app:layout_constraintEnd_toEndOf="@id/image_bottom_guideline" app:layout_constraintRight_toRightOf="@id/image_bottom_guideline">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_small" android:visibility="gone" app:roundAsCircle="true" style="@style/Avatar.Small" />
|
||||
<FrameLayout android:id="@id/rich_presence_image_small_wrap" android:background="?primary_600" android:padding="@dimen/uikit_image_border_size" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="@id/image_bottom_guideline" app:layout_constraintEnd_toEndOf="@id/image_bottom_guideline" app:layout_constraintRight_toRightOf="@id/image_bottom_guideline">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_small" android:visibility="gone" app:roundAsCircle="true" style="@style/Avatar.Medium" />
|
||||
</FrameLayout>
|
||||
<LinearLayout android:id="@id/rich_presence_container_data" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:minHeight="80.0dip" app:layout_constraintEnd_toEndOf="@id/embed_guideline_right" app:layout_constraintLeft_toRightOf="@id/rich_presence_image_large" app:layout_constraintRight_toRightOf="@id/embed_guideline_right" app:layout_constraintStart_toEndOf="@id/rich_presence_image_large" app:layout_constraintTop_toTopOf="@id/rich_presence_image_large" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:ellipsize="marquee" android:id="@id/rich_presence_title" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" style="@style/UserProfile.PresenceSection.Body.HeaderText" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:background="?primary_630" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
<LinearLayout android:background="?colorBackgroundSecondary" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:autoLink="web" android:id="@id/dialog_url_actions_url" style="@style/UiKit.Settings.Item" />
|
||||
<View style="@style/UiKit.Settings.Divider" />
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<LinearLayout style="@style/UiKit.Copy">
|
||||
<TextView android:text="@string/verify_by_recaptcha" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:gravity="center" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/verify_by_recaptcha_description" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="@color/link_500" android:id="@id/user_captcha_help" android:padding="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/captcha_issues" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?colorTextLink" android:id="@id/user_captcha_help" android:padding="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/captcha_issues" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
<com.discord.views.DigitVerificationView android:id="@id/user_phone_digit_verification" android:paddingBottom="40.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true" />
|
||||
<com.discord.views.CodeVerificationView android:id="@id/user_phone_digit_verification" android:paddingBottom="40.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true" />
|
||||
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat.Transparent">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/primary_100" android:ellipsize="end" android:id="@id/profile_strip_name" android:layout_width="0.0dip" android:singleLine="true" app:layout_constraintBottom_toTopOf="@id/profile_strip_discriminator" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="@id/guideline" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:id="@id/profile_strip_discriminator" android:layout_width="0.0dip" android:singleLine="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="@id/guideline" app:layout_constraintTop_toBottomOf="@id/profile_strip_name" style="@style/UiKit.TextView.Subtext.Semibold" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<ImageView android:id="@id/profile_strip_search" android:src="@drawable/ic_search_items_white_a60_24dp" android:contentDescription="@string/search_recent" style="@style/UiKit.Profile.Strip.Icon" />
|
||||
<ImageView android:id="@id/profile_strip_search" android:src="@drawable/ic_search_items_white_a60_24dp" android:contentDescription="@string/quick_switcher" style="@style/UiKit.Profile.Strip.Icon" />
|
||||
<ImageView android:id="@id/profile_strip_mentions" android:src="@drawable/ic_mentions_white_a60_24dp" android:contentDescription="@string/mentions" style="@style/UiKit.Profile.Strip.Icon" />
|
||||
<ImageView android:id="@id/profile_strip_settings" android:src="@drawable/ic_settings_white_a60_24dp" android:contentDescription="@string/user_settings" style="@style/UiKit.Profile.Strip.Icon" />
|
||||
</LinearLayout>
|
|
@ -2,12 +2,12 @@
|
|||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView android:id="@id/rich_presence_header" style="@style/UserProfile.Section.Header" />
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?primary_600" style="@style/UserProfile.Section.Body.Card">
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?colorBackgroundPrimary" style="@style/UserProfile.Section.Card">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UserProfile.PresenceSection.Body">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_large" android:layout_width="32.0dip" android:layout_height="32.0dip" app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="?ic_game_icon_placeholder" app:placeholderImageScaleType="fitCenter" app:roundedCornerRadius="@dimen/uikit_spacing_small" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_large" android:layout_width="64.0dip" android:layout_height="64.0dip" app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="?ic_game_icon_placeholder" app:placeholderImageScaleType="fitCenter" app:roundedCornerRadius="@dimen/uikit_spacing_small" />
|
||||
<androidx.legacy.widget.Space android:id="@id/image_bottom_guideline" android:layout_width="@dimen/uikit_image_border_size" android:layout_height="@dimen/uikit_image_border_size" android:layout_marginLeft="@dimen/uikit_image_border_size" android:layout_marginTop="@dimen/uikit_image_border_size" app:layout_constraintLeft_toRightOf="@id/rich_presence_image_large" app:layout_constraintStart_toEndOf="@id/rich_presence_image_large" app:layout_constraintTop_toBottomOf="@id/rich_presence_image_large" />
|
||||
<FrameLayout android:background="?primary_600" android:padding="@dimen/uikit_image_border_size" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="@id/image_bottom_guideline" app:layout_constraintEnd_toEndOf="@id/image_bottom_guideline" app:layout_constraintRight_toRightOf="@id/image_bottom_guideline">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_small" android:visibility="gone" app:roundAsCircle="true" style="@style/Avatar.Small" />
|
||||
<FrameLayout android:id="@id/rich_presence_image_small_wrap" android:background="?colorPrimaryCircle" android:padding="@dimen/uikit_image_border_size" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="@id/image_bottom_guideline" app:layout_constraintEnd_toEndOf="@id/image_bottom_guideline" app:layout_constraintRight_toRightOf="@id/image_bottom_guideline">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/rich_presence_image_small" android:visibility="gone" app:roundAsCircle="true" style="@style/Avatar.Medium" />
|
||||
</FrameLayout>
|
||||
<LinearLayout android:id="@id/rich_presence_container_data" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/rich_presence_image_large" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/rich_presence_image_large" app:layout_constraintTop_toTopOf="@id/rich_presence_image_large" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:ellipsize="marquee" android:id="@id/rich_presence_title" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" style="@style/UserProfile.PresenceSection.Body.HeaderText" />
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.core.widget.NestedScrollView android:background="?primary_630_bg" style="@style/UiKit.ViewGroup.NestedScrollView"
|
||||
<androidx.core.widget.NestedScrollView android:background="?colorBackgroundSecondary" style="@style/UiKit.ViewGroup.NestedScrollView"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout android:focusable="true" android:focusableInTouchMode="true" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<FrameLayout android:background="?primary_700" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<com.discord.widgets.user.profile.UserProfileHeaderView android:id="@id/user_sheet_profile_header_view" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_constraintTop_toTopOf="parent" app:user_profile_header_background_color="?primary_700" />
|
||||
<FrameLayout android:background="?colorBackgroundTertiary" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<com.discord.widgets.user.profile.UserProfileHeaderView android:id="@id/user_sheet_profile_header_view" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_constraintTop_toTopOf="parent" app:user_profile_header_background_color="?colorBackgroundTertiary" />
|
||||
<ImageView android:layout_gravity="end|center|top" android:id="@id/user_sheet_more_button" android:background="?bg_pressed_highlight" android:padding="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:src="?ic_more" android:contentDescription="@string/more" style="@style/UiKit.ImageView.Clickable" />
|
||||
</FrameLayout>
|
||||
<View android:id="@id/user_sheet_profile_actions_divider" android:visibility="gone" style="@style/UiKit.Divider" />
|
||||
<LinearLayout android:id="@id/user_sheet_profile_actions_container" android:background="?primary_700" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<LinearLayout android:id="@id/user_sheet_profile_actions_container" android:background="?colorBackgroundTertiary" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<Button android:id="@id/user_sheet_message_action_button" android:layout_width="0.0dip" android:text="@string/user_profile_message" android:drawableTop="?ic_user_profile_action_message" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
|
||||
<Button android:id="@id/user_sheet_call_action_button" android:layout_width="0.0dip" android:text="@string/user_profile_audio" android:drawableTop="?ic_user_profile_action_call" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
|
||||
<Button android:id="@id/user_sheet_video_action_button" android:layout_width="0.0dip" android:text="@string/user_profile_video" android:drawableTop="?ic_user_profile_action_video" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
|
||||
|
@ -20,19 +20,19 @@
|
|||
<com.google.android.material.button.MaterialButton android:id="@id/user_sheet_friend_request_accept_button" android:text="@string/friend_request_accept" android:layout_weight="1.0" style="@style/UiKit.Button.Compact.Green" />
|
||||
</LinearLayout>
|
||||
<TextView android:id="@id/user_sheet_profile_voice_settings_header" android:text="@string/voice_settings" style="@style/UserProfile.Section.Header" />
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?primary_600" style="@style/UserProfile.Section.Body.Card">
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?colorBackgroundPrimary" style="@style/UserProfile.Section.Card">
|
||||
<com.discord.widgets.user.usersheet.UserProfileVoiceSettingsView android:id="@id/user_sheet_profile_voice_settings_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
<FrameLayout android:id="@id/rich_presence_container" android:visibility="gone" style="@style/UiKit.ViewGroup" />
|
||||
<LinearLayout android:id="@id/user_sheet_guild_container" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:id="@id/user_sheet_guild_header" android:contentDescription="@string/user_profile_guild_name_content_description" style="@style/UserProfile.Section.Header" />
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/user_sheet_roles_recycler" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:overScrollMode="never" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?primary_600" style="@style/UserProfile.Section.Body.Card">
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?primary_600" style="@style/UserProfile.Section.Card">
|
||||
<com.discord.widgets.user.profile.UserProfileAdminView android:id="@id/user_sheet_admin_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
</LinearLayout>
|
||||
<TextView android:id="@id/user_sheet_connections_header" android:visibility="gone" android:text="@string/connections" style="@style/UserProfile.Section.Header" />
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?primary_600" style="@style/UserProfile.Section.Body.Card">
|
||||
<androidx.cardview.widget.CardView app:cardBackgroundColor="?colorBackgroundPrimary" style="@style/UserProfile.Section.Card">
|
||||
<com.discord.widgets.user.profile.UserProfileConnectionsView android:id="@id/user_sheet_connections_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
<TextView android:id="@id/user_sheet_note_header" android:text="@string/note" style="@style/UserProfile.Section.Header" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue