mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-12-26 01:18:57 -05:00
Hide features that will be implemented later
This commit is contained in:
parent
823fe6050b
commit
fa3ddfd718
@ -34,7 +34,8 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/server_title"
|
android:id="@+id/server_title"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content"
|
||||||
|
android:singleLine="true" />
|
||||||
<TextView
|
<TextView
|
||||||
android:text="Host:"
|
android:text="Host:"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
@ -42,7 +43,8 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/server_host"
|
android:id="@+id/server_host"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content"
|
||||||
|
android:singleLine="true" />
|
||||||
<TextView
|
<TextView
|
||||||
android:text="Port:"
|
android:text="Port:"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
@ -51,6 +53,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
android:id="@+id/server_port"
|
android:id="@+id/server_port"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:singleLine="true"
|
||||||
android:text="6667" />
|
android:text="6667" />
|
||||||
<TextView
|
<TextView
|
||||||
android:text="Password:"
|
android:text="Password:"
|
||||||
@ -59,22 +62,25 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/server_password"
|
android:id="@+id/server_password"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:password="true" />
|
||||||
<CheckBox
|
<CheckBox
|
||||||
android:id="@+id/server_autoconnect"
|
android:id="@+id/server_autoconnect"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Auto connect on startup" />
|
android:text="Auto connect on startup"
|
||||||
|
android:visibility="gone" />
|
||||||
<CheckBox
|
<CheckBox
|
||||||
android:id="@+id/server_usessl"
|
android:id="@+id/server_usessl"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Use SSL" />
|
android:text="Use SSL"
|
||||||
|
android:visibility="gone" />
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/server_add"
|
android:id="@+id/server_add"
|
||||||
android:drawableLeft="@android:drawable/ic_input_add"
|
|
||||||
android:drawablePadding="3px"
|
android:drawablePadding="3px"
|
||||||
android:text="Add to list"
|
android:text="Add server"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -27,9 +27,11 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<item
|
<item
|
||||||
android:id="@+id/settings"
|
android:id="@+id/settings"
|
||||||
android:title="Settings"
|
android:title="Settings"
|
||||||
android:icon="@android:drawable/ic_menu_preferences" />
|
android:icon="@android:drawable/ic_menu_preferences"
|
||||||
|
android:visible="false" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/about"
|
android:id="@+id/about"
|
||||||
android:title="About"
|
android:title="About"
|
||||||
android:icon="@android:drawable/ic_menu_help" />
|
android:icon="@android:drawable/ic_menu_help"
|
||||||
|
android:visible="false" />
|
||||||
</menu>
|
</menu>
|
@ -244,7 +244,7 @@ public class ServerListActivity extends ListActivity implements OnItemLongClickL
|
|||||||
|
|
||||||
// inflate from xml
|
// inflate from xml
|
||||||
MenuInflater inflater = getMenuInflater();
|
MenuInflater inflater = getMenuInflater();
|
||||||
inflater.inflate(R.menu.main, menu);
|
inflater.inflate(R.menu.serverlist, menu);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user