cheogram/src/main/res/layout/enter_jid_dialog_gateway_list_item.xml
Stephen Paul Weber 49cbe7448e
Use a RecyclerView for list of gateway options
If there are no gateways in the current account's roster, just show the
old "Jabber ID" label.  Otherwise show a list of toggle buttons.  These
buttons show the type of their gateway and change the JID input to
not autocomplete and to show a hint matching the jabber🆔gateway
prompt.

This is just UI, submit behaviour is unchanged. List is not yet populated by
this code.
2022-03-09 15:31:18 -05:00

15 lines
583 B
XML

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingRight="5dp">
<ToggleButton
android:id="@+id/button"
android:gravity="center"
android:visibility="gone"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="?attr/edit_text_color"
android:textSize="?attr/TextSizeBody1" />
</LinearLayout>