1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-12-25 08:58:51 -05:00

Hide features that will be implemented later

This commit is contained in:
Sebastian Kaspari 2009-11-20 19:27:02 +01:00
parent 823fe6050b
commit fa3ddfd718
3 changed files with 18 additions and 10 deletions

View File

@ -34,7 +34,8 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
<EditText
android:id="@+id/server_title"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:singleLine="true" />
<TextView
android:text="Host:"
android:layout_width="fill_parent"
@ -42,7 +43,8 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
<EditText
android:id="@+id/server_host"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:singleLine="true" />
<TextView
android:text="Port:"
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:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:text="6667" />
<TextView
android:text="Password:"
@ -59,22 +62,25 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
<EditText
android:id="@+id/server_password"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:singleLine="true"
android:password="true" />
<CheckBox
android:id="@+id/server_autoconnect"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Auto connect on startup" />
android:text="Auto connect on startup"
android:visibility="gone" />
<CheckBox
android:id="@+id/server_usessl"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Use SSL" />
android:text="Use SSL"
android:visibility="gone" />
<Button
android:id="@+id/server_add"
android:drawableLeft="@android:drawable/ic_input_add"
android:drawablePadding="3px"
android:text="Add to list"
android:text="Add server"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>

View File

@ -27,9 +27,11 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
<item
android:id="@+id/settings"
android:title="Settings"
android:icon="@android:drawable/ic_menu_preferences" />
android:icon="@android:drawable/ic_menu_preferences"
android:visible="false" />
<item
android:id="@+id/about"
android:title="About"
android:icon="@android:drawable/ic_menu_help" />
android:icon="@android:drawable/ic_menu_help"
android:visible="false" />
</menu>

View File

@ -244,7 +244,7 @@ public class ServerListActivity extends ListActivity implements OnItemLongClickL
// inflate from xml
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.main, menu);
inflater.inflate(R.menu.serverlist, menu);
return true;
}