Commit 05af78d5 authored by sshivam95's avatar sshivam95

Venter: change the position of up votes and comments in complaint card.

parent ca4fe5b6
...@@ -93,21 +93,22 @@ ...@@ -93,21 +93,22 @@
android:weightSum="2"> android:weightSum="2">
<ImageButton <ImageButton
android:id="@+id/buttonComments" android:id="@+id/buttonVotes"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="10dp" android:layout_width="10dp"
android:layout_height="40dp" android:layout_height="40dp"
android:layout_weight="1" android:layout_weight="1"
android:src="@drawable/baseline_comment_24" /> android:src="@drawable/baseline_arrow_upward_24" />
<TextView <TextView
android:id="@+id/text_comments" android:id="@+id/text_votes"
android:layout_width="20dp" android:layout_width="20dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:gravity="center_vertical"
android:textColor="@color/secondaryTextColor"
android:layout_weight="1" android:layout_weight="1"
android:text="12"/> android:gravity="center_vertical"
android:text="23"
android:textColor="@color/secondaryTextColor"/>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
...@@ -117,22 +118,21 @@ ...@@ -117,22 +118,21 @@
android:weightSum="2"> android:weightSum="2">
<ImageButton <ImageButton
android:id="@+id/buttonVotes" android:id="@+id/buttonComments"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="10dp" android:layout_width="10dp"
android:layout_height="40dp" android:layout_height="40dp"
android:layout_weight="1" android:layout_weight="1"
android:src="@drawable/baseline_arrow_upward_24" /> android:src="@drawable/baseline_comment_24" />
<TextView <TextView
android:id="@+id/text_votes" android:id="@+id/text_comments"
android:layout_width="20dp" android:layout_width="20dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="23" android:textColor="@color/secondaryTextColor"
android:textColor="@color/secondaryTextColor"/> android:layout_weight="1"
android:text="12"/>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment