I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
fragment_main.xml 2 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="horizontal"
        android:baselineAligned="false" >
    
        <LinearLayout
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:orientation="vertical" >
    
            <ImageView
                android:id="@+id/main_lights"
                android:src="@drawable/routerled_r"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:scaleType="centerInside"
                android:contentDescription="@string/desc_i2p_logo" />
    
            <ToggleButton
                android:id="@+id/router_onoff_button"
                android:layout_width="match_parent"
                android:layout_height="68dp"
                android:textOff="@string/button_router_off"
                android:textOn="@string/button_router_on" />
        </LinearLayout>
    
        <ScrollView
    
    str4d's avatar
    str4d committed
            android:id="@+id/main_status_scrollview"
    
            android:layout_width="0dp"
            android:layout_height="fill_parent"
            android:layout_weight="2"
            android:fillViewport="true"
            android:padding="10dp"
            android:scrollbarStyle="outsideInset" >
    
            <LinearLayout
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical" >
    
                <TextView
                    android:id="@+id/textView4"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
    
    str4d's avatar
    str4d committed
                    android:text="@string/label_status"
    
                    android:textAppearance="?android:attr/textAppearanceLarge" />
    
                <TextView
                    android:id="@+id/main_status_text"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content" />
            </LinearLayout>
        </ScrollView>
    </LinearLayout>