|
|
@@ -1,84 +1,34 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:whatever="http://schemas.android.com/apk/res-auto"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:focusableInTouchMode="true">
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/operationLL"
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="45dp"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:background="@color/white"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:padding="10dp">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/takeOverTV"
|
|
|
- style="@style/bottomTextStyle"
|
|
|
- android:layout_weight="2"
|
|
|
- android:text="@string/take_over"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/agreeTV"
|
|
|
- style="@style/bottomTextStyle"
|
|
|
- android:layout_weight="2"
|
|
|
- android:background="@drawable/bg_transparent_bule"
|
|
|
- android:text="@string/agree"
|
|
|
- android:textColor="@drawable/text_bule_white_bg" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="@dimen/line"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:background="@color/item_line" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/disagreeTV"
|
|
|
- style="@style/bottomTextStyle"
|
|
|
- android:layout_weight="3"
|
|
|
- android:background="@drawable/bg_transparent_bule"
|
|
|
- android:text="@string/common_disagree"
|
|
|
- android:textColor="@drawable/text_bule_white_bg" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="@dimen/line"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:background="@color/item_line" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/changedealmanTV"
|
|
|
- style="@style/bottomTextStyle"
|
|
|
- android:layout_weight="5"
|
|
|
- android:background="@drawable/bg_transparent_bule"
|
|
|
- android:text="@string/common_changedealman"
|
|
|
- android:textColor="@drawable/text_bule_white_bg" />
|
|
|
-
|
|
|
-
|
|
|
- <View
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_above="@id/bottom"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="#F2F2F2"
|
|
|
+ android:focusableInTouchMode="true">
|
|
|
|
|
|
- android:layout_width="@dimen/line"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:background="@color/item_line" />
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/contentRV"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentStart="true"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:focusableInTouchMode="false" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/nextTV"
|
|
|
- style="@style/bottomTextStyle"
|
|
|
- android:layout_weight="3"
|
|
|
- android:background="@drawable/bg_transparent_bule"
|
|
|
- android:text="@string/next_article"
|
|
|
- android:textColor="@drawable/text_bule_white_bg" />
|
|
|
- </LinearLayout>
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/viewOperation"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/padding"
|
|
|
- android:layout_above="@id/operationLL"
|
|
|
android:background="#f2f2f2" />
|
|
|
|
|
|
<RelativeLayout
|
|
|
@@ -133,29 +83,80 @@
|
|
|
whatever:testType="regexp" />
|
|
|
</RelativeLayout>
|
|
|
|
|
|
-
|
|
|
<View
|
|
|
android:id="@+id/viewOperationtop"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/padding"
|
|
|
- android:layout_above="@id/opinionRL"
|
|
|
android:background="#f2f2f2" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/operationLL"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_above="@id/viewOperationtop"
|
|
|
- android:background="#F2F2F2"
|
|
|
- android:focusableInTouchMode="true">
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:padding="10dp">
|
|
|
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/contentRV"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:layout_alignParentStart="true"
|
|
|
- android:layout_alignParentTop="true"
|
|
|
- android:background="@color/base_bg"
|
|
|
- android:focusableInTouchMode="false" />
|
|
|
- </RelativeLayout>
|
|
|
-</RelativeLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/takeOverTV"
|
|
|
+ style="@style/bottomTextStyle"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:text="@string/take_over"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/agreeTV"
|
|
|
+ style="@style/bottomTextStyle"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:background="@drawable/bg_transparent_bule"
|
|
|
+ android:text="@string/agree"
|
|
|
+ android:textColor="@drawable/text_bule_white_bg" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="@dimen/line"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:background="@color/item_line" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/disagreeTV"
|
|
|
+ style="@style/bottomTextStyle"
|
|
|
+ android:layout_weight="3"
|
|
|
+ android:background="@drawable/bg_transparent_bule"
|
|
|
+ android:text="@string/common_disagree"
|
|
|
+ android:textColor="@drawable/text_bule_white_bg" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="@dimen/line"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:background="@color/item_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/changedealmanTV"
|
|
|
+ style="@style/bottomTextStyle"
|
|
|
+ android:layout_weight="5"
|
|
|
+ android:background="@drawable/bg_transparent_bule"
|
|
|
+ android:text="@string/common_changedealman"
|
|
|
+ android:textColor="@drawable/text_bule_white_bg" />
|
|
|
+
|
|
|
+
|
|
|
+ <View
|
|
|
+
|
|
|
+ android:layout_width="@dimen/line"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:background="@color/item_line" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/nextTV"
|
|
|
+ style="@style/bottomTextStyle"
|
|
|
+ android:layout_weight="3"
|
|
|
+ android:background="@drawable/bg_transparent_bule"
|
|
|
+ android:text="@string/next_article"
|
|
|
+ android:textColor="@drawable/text_bule_white_bg" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+</LinearLayout>
|