apkfuckery/com.discord/res/layout-v17/widget_voice.xml
2019-02-04 21:05:16 +01:00

19 lines
No EOL
3.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:background="@color/theme_grey_channels" android:layout_width="fill_parent" android:layout_height="180.0dip"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fresco="http://schemas.android.com/apk/res-auto">
<RelativeLayout android:id="@id/voice_info_wrap" android:layout_width="fill_parent" android:layout_height="32.0dip" android:layout_marginLeft="16.0dip" android:layout_marginTop="16.0dip" android:layout_marginRight="16.0dip">
<RelativeLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_toLeftOf="@id/voice_talking_users" android:layout_toStartOf="@id/voice_talking_users">
<LinearLayout android:layout_width="fill_parent" android:layout_height="16.0dip">
<com.facebook.drawee.view.SimpleDraweeView android:layout_gravity="center" android:id="@id/voice_connected_status" android:layout_width="8.0dip" android:layout_height="8.0dip" fresco:placeholderImage="@color/theme_status_grey" fresco:roundAsCircle="true" />
<TextView android:textSize="13.0sp" android:textColor="@color/theme_white" android:gravity="center" android:id="@id/voice_connected_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="6.0dip" android:layout_marginStart="6.0dip" fontPath="@string/font_whitney_medium" />
</LinearLayout>
<TextView android:textSize="11.0sp" android:textColor="@color/theme_white_alpha_80" android:ellipsize="end" android:gravity="center" android:id="@id/voice_connected_description" android:layout_width="wrap_content" android:layout_height="14.0dip" android:singleLine="true" android:layout_alignParentBottom="true" fontPath="@string/font_whitney_book" />
</RelativeLayout>
<android.support.v7.widget.RecyclerView android:id="@id/voice_talking_users" android:scrollbars="none" android:layout_width="176.0dip" android:layout_height="fill_parent" android:layout_marginLeft="4.0dip" android:layout_alignParentRight="true" android:overScrollMode="never" android:layout_marginStart="4.0dip" android:layout_alignParentEnd="true" />
</RelativeLayout>
<TextView android:textSize="16.0sp" android:textColor="@color/theme_white" android:gravity="center" android:id="@id/voice_connected_ptt" android:background="@drawable/drawable_button_purple" android:layout_width="fill_parent" android:layout_height="50.0dip" android:layout_marginLeft="16.0dip" android:layout_marginTop="16.0dip" android:layout_marginRight="16.0dip" android:text="@string/input_mode_ptt" android:textAllCaps="true" fontPath="@string/font_whitney_semibold" />
<LinearLayout android:id="@id/voice_controls_wrap" android:padding="16.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="14.0sp" android:textColor="@color/theme_white_alpha_40" android:gravity="center" android:id="@id/voice_connected_disconnect" android:background="@drawable/drawable_button_voice" android:layout_width="0.0dip" android:layout_height="32.0dip" android:layout_marginRight="4.0dip" android:text="@string/voice_disconnect" android:layout_weight="1.0" android:layout_marginEnd="4.0dip" fontPath="@string/font_whitney_book" />
<TextView android:textSize="14.0sp" android:textColor="@color/theme_white_alpha_40" android:gravity="center" android:id="@id/voice_connected_settings" android:background="@drawable/drawable_button_voice" android:layout_width="0.0dip" android:layout_height="32.0dip" android:layout_marginLeft="4.0dip" android:text="@string/voice_settings" android:layout_weight="1.0" android:layout_marginStart="4.0dip" fontPath="@string/font_whitney_book" />
</LinearLayout>
</LinearLayout>