49cbe7448e
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.
15 lines
583 B
XML
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>
|