Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java2-孔德林1507084235 #39

Open
onli-alin opened this issue Dec 31, 2015 · 0 comments
Open

Java2-孔德林1507084235 #39

onli-alin opened this issue Dec 31, 2015 · 0 comments

Comments

@onli-alin
Copy link

<LinearLayout

xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity">

<LinearLayout
    android:layout_weight="4"
    android:layout_height="0dp"
    android:layout_width="match_parent"
    android:orientation="horizontal"
    >
    <TextView
        android:layout_weight="1"
        android:layout_width="0dp"
        android:background="#f0f"
        android:layout_height="match_parent"

        />
    <TextView
        android:layout_weight="1"
        android:layout_width="0dp"
        android:background="#ff0"
        android:layout_height="match_parent"/>
    <TextView
        android:layout_weight="1"
        android:layout_width="0dp"
        android:background="#0ff"
        android:layout_height="match_parent"/>
    <TextView
        android:layout_weight="1"
        android:layout_width="0dp"
        android:background="#00f"
        android:layout_height="match_parent"/>
</LinearLayout>
<LinearLayout
    android:layout_weight="3"
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:orientation="vertical">
    <TextView
        android:background="#0f0"
        android:layout_weight="1"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        />
    <TextView
        android:layout_weight="1"
        android:background="#f00"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        />
    <TextView
        android:layout_weight="1"
        android:background="#000"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        />

</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant