Skip to content
Snippets Groups Projects
Select Git revision
  • 104ead3fce1a99e82462c2d0bd95301ef2d7c460
  • master default
  • add-license-1
  • 6.2
  • 6.0
  • 5.3b
  • 5.1
  • 4.12
  • 4.4
  • 4.3
10 results

input_group.xml

Blame
  • input_group.xml 1.06 KiB
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:weightSum="9"
        android:orientation="horizontal">
    
        <TextView
            android:id="@+id/prefix_view"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>
    
        <EditText
            android:id="@+id/input_view"
            android:layout_width="0dp"
            android:layout_height="@dimen/input_height"
            android:layout_weight="7"
    
            android:paddingTop="@dimen/input_padding"
    
            android:background="@null"
            android:imeOptions="actionGo|flagNoFullscreen"
    
            android:lines="1"
            android:singleLine="true"
            android:textCursorDrawable="@drawable/cursor" />
    
        <Button
            android:id="@+id/submit_tv"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="2"
    
            android:background="@null"
            android:text="&#8626;" />
    
    </LinearLayout>