1
0
mirror of http://galexander.org/git/simplesshd.git synced 2025-01-04 04:00:55 +00:00
simplesshd/res/layout/main.xml
Greg Alexander f1c8faad21 specify the foreground color, because that was the only thing causing
trouble when running on the optimus v (the log display was black on black).
NB - this will probably fix the SDK 26 theme problem too!
2018-05-19 18:26:36 -04:00

34 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView android:id="@+id/ip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:typeface="monospace"
android:background="#ff112266"
android:textColor="#ffffffff"
android:text="IP: XXX" />
<EditText android:id="@+id/log"
android:layout_width="fill_parent"
android:layout_height="1dp"
android:layout_weight="1"
android:ellipsize="start"
android:editable="false"
android:textAppearance="?android:attr/textAppearanceSmall"
android:typeface="monospace"
android:gravity="top"
android:singleLine="false"
android:background="#00000000"
android:textColor="#ffffffff" />
<Button android:id="@+id/startstop"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Start"
android:textAppearance="?android:attr/textAppearanceLarge"
android:onClick="startstop_clicked" />
</LinearLayout>