Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

android / dayu

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dayu
  • liveModule
  • src
  • main
  • res
  • layout
  • dialog_input_text.xml
Find file
Normal viewHistoryPermalink
dialog_input_text.xml 2.98 KB
Newer Older
mReturn's avatar
接入直播
b8338b29
 
mReturn committed 4 years ago
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/rl_outside_view"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal">

    <LinearLayout
        android:id="@+id/rl_inputdlg_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/color_input_dialog_background"
        android:orientation="horizontal"
        android:layout_alignParentBottom="true">

        <LinearLayout
            android:id="@+id/barrage_area"
            android:orientation="horizontal"
            android:layout_weight="0.3"
            android:layout_gravity="center_vertical"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">
            <Button
                android:id="@+id/barrage_btn"
                android:layout_width="40dp"
                android:layout_marginLeft="10dp"
                android:layout_height="25dp"
                android:layout_marginRight="10dp"
mReturn's avatar
横屏直播优化
995f3e2c
 
mReturn committed 4 years ago
29
                android:background="@drawable/barrage_slider_on" />
mReturn's avatar
接入直播
b8338b29
 
mReturn committed 4 years ago
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
        </LinearLayout>

        <View android:layout_width="0.5dp"
            android:layout_height="match_parent"
            android:layout_marginTop="10dp"
            android:layout_marginBottom="10dp"
            android:layout_marginLeft="6dp"
            android:layout_marginStart="6dp"
            android:background="@color/colorTransparentBlack"/>

        <EditText
            android:id="@+id/et_input_message"
            android:hint="@string/dialog_input_text_hint"
            android:layout_width="match_parent"
            android:layout_weight="4"
            android:layout_height="wrap_content"
            android:imeActionId="@+id/login"
mReturn's avatar
横屏直播
b6a1ddec
 
mReturn committed 4 years ago
47
            android:imeOptions="flagNoExtractUi"
mReturn's avatar
接入直播
b8338b29
 
mReturn committed 4 years ago
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
            android:inputType="text"
            android:textColor="@color/black"
            android:maxLines="1"
            android:singleLine="true" />

        <View android:layout_width="0.5dp"
            android:layout_height="match_parent"
            android:layout_marginTop="10dp"
            android:layout_marginBottom="10dp"
            android:layout_marginLeft="6dp"
            android:layout_marginStart="6dp"
            android:background="@color/colorTransparentBlack"/>

        <LinearLayout
            android:id="@+id/confirm_area"
            android:layout_width="wrap_content"
            android:layout_gravity="center"
            android:layout_height="wrap_content">
            <Button
                android:id="@+id/confrim_btn"
mReturn's avatar
横屏直播优化
995f3e2c
 
mReturn committed 4 years ago
68 69
                android:layout_width="60dp"
                android:layout_height="match_parent"
mReturn's avatar
接入直播
b8338b29
 
mReturn committed 4 years ago
70 71 72 73 74 75 76 77 78 79
                android:background="@drawable/btn_send_message"
                android:gravity="center"
                android:textColor="@color/colorAccent"
                android:text="@string/send" />
        </LinearLayout>


    </LinearLayout>

</RelativeLayout>