We would be happy to help you out... provided you give us more
information.  Saying layout_weight isn't working properly and posting a
huge layout file is nowhere near enough information.

Maybe explain what you are expecting to happen, and what is actually
happening?  Some screenshots or other diagrams might be useful too.  From a
quick glance at your layout file, you are probably nesting layouts too much
and overcomplicating your UI.  But I'm not going to dig through your whole
layout file and try to guess what the problem is.

On Wed, Mar 2, 2016 at 12:09 PM Данила Горшков <[email protected]> wrote:

> here my xml:
>
> <?xml version="1.0" encoding="utf-8"?>
> <RelativeLayout 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:paddingBottom="@dimen/activity_vertical_margin"
>  android:paddingLeft="@dimen/activity_horizontal_margin"
>  android:paddingRight="@dimen/activity_horizontal_margin"
>  android:paddingTop="@dimen/activity_vertical_margin"
>  tools:context="com.zonkgeeks.zoiduppers.zackzoid.AnalysActivity"
>  >
>
>  <LinearLayout
>  android:orientation="vertical"
>  android:layout_width="match_parent"
>  android:layout_height="match_parent"
>  android:weightSum="2">
>
>  <LinearLayout
>  android:orientation="horizontal"
>  android:layout_width="match_parent"
>  android:layout_height="wrap_content"
>  android:layout_weight="1"
>  android:weightSum="2"
>  android:id="@+id/linearLayout"
>  android:baselineAligned="false">
>
>  <LinearLayout
>  android:id="@+id/analys_lt"
>  android:orientation="vertical"
>  android:layout_width="match_parent"
>  android:layout_height="wrap_content"
>  android:layout_weight="1">
>
>  <TextView
>  android:layout_width="wrap_content"
>  android:layout_height="wrap_content"
>  android:textAppearance="?android:attr/textAppearanceMedium"
>  android:text="@string/name_column_lt"
>  android:id="@+id/textView7"
>  android:textSize="@dimen/important_text"
>  android:layout_gravity="center_horizontal" />
>
>  <TextView
>  android:layout_width="match_parent"
>  android:layout_height="wrap_content"
>  android:textAppearance="?android:attr/textAppearanceMedium"
>  android:text="@string/empty_name_event"
>  android:id="@+id/eventsUI"
>  android:textSize="@dimen/simple_text"
>  android:scrollbars="vertical"/>
>  </LinearLayout>
>
>  <LinearLayout
>  android:id="@+id/analys_rt"
>  android:orientation="vertical"
>  android:layout_width="match_parent"
>  android:layout_height="wrap_content"
>  android:layout_weight="1">
>
>  <TextView
>  android:layout_width="wrap_content"
>  android:layout_height="wrap_content"
>  android:textAppearance="?android:attr/textAppearanceMedium"
>  android:text="@string/name_column_rt"
>  android:id="@+id/textView8"
>  android:textSize="@dimen/important_text"
>  android:layout_gravity="center_horizontal" />
>
>  <TextView
>  android:layout_width="match_parent"
>  android:layout_height="wrap_content"
>  android:textAppearance="?android:attr/textAppearanceMedium"
>  android:text="@string/empty_name_event"
>  android:id="@+id/eventsUNI"
>  android:textSize="@dimen/simple_text"
>  android:scrollbars="vertical"/>
>  </LinearLayout>
>  </LinearLayout>
>
>  <LinearLayout
>  android:orientation="horizontal"
>  android:layout_width="match_parent"
>  android:layout_height="wrap_content"
>  android:layout_weight="1"
>  android:weightSum="2"
>  android:baselineAligned="false">
>
>  <LinearLayout
>  android:id="@+id/analys_lb"
>  android:orientation="vertical"
>  android:layout_width="match_parent"
>  android:layout_height="wrap_content"
>  android:layout_weight="1">
>
>  <TextView
>  android:layout_width="wrap_content"
>  android:layout_height="wrap_content"
>  android:textAppearance="?android:attr/textAppearanceMedium"
>  android:text="@string/name_column_lb"
>  android:id="@+id/textView9"
>  android:textSize="@dimen/important_text"
>  android:layout_gravity="center_horizontal" />
>
>  <TextView
>  android:layout_width="match_parent"
>  android:layout_height="wrap_content"
>  android:textAppearance="?android:attr/textAppearanceMedium"
>  android:text="@string/empty_name_event"
>  android:id="@+id/eventsNUI"
>  android:textSize="@dimen/simple_text"
>  android:scrollbars="vertical"/>
>  </LinearLayout>
>
>  <LinearLayout
>  android:id="@+id/analys_rb"
>  android:orientation="vertical"
>  android:layout_width="match_parent"
>  android:layout_height="wrap_content"
>  android:layout_weight="1">
>
>  <TextView
>  android:layout_width="wrap_content"
>  android:layout_height="wrap_content"
>  android:textAppearance="?android:attr/textAppearanceMedium"
>  android:text="@string/name_column_rb"
>  android:id="@+id/textView10"
>  android:textSize="@dimen/important_text"
>  android:layout_gravity="center_horizontal" />
>
>  <TextView
>  android:layout_width="match_parent"
>  android:layout_height="wrap_content"
>  android:textAppearance="?android:attr/textAppearanceMedium"
>  android:text="@string/empty_name_event"
>  android:id="@+id/eventsNUNI"
>  android:textSize="@dimen/simple_text"
>  android:scrollbars="vertical"/>
>  </LinearLayout>
>
>  </LinearLayout>
>
>  </LinearLayout>
> </RelativeLayout>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/3cdb70fa-21da-427d-95ac-77ee2f620a9a%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/3cdb70fa-21da-427d-95ac-77ee2f620a9a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAOq06s8zNfQwJB5FakR-Oz9ppOkZE1ztN2cfPOsBTwY0_yAcJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to