Commit 567bfc19 by Kunj Gupta

Fixed - In My Request screen, hardcode text is showing.

parent 751570e0
......@@ -89,6 +89,9 @@ public class MyRequestAdapter extends BaseAdapter {
} else if (req.getApproval().equalsIgnoreCase("rejected")){
holder.approval.setText(mContext.getResources().getString (R.string.rejected));
((GradientDrawable)holder.statusIndicator.getBackground()).setColor(Color.parseColor("#FF0000"));
} else if (req.getApproval().equalsIgnoreCase("not yet requested")) {
holder.approval.setText(mContext.getResources().getString(R.string.notrequest));
((GradientDrawable) holder.statusIndicator.getBackground()).setColor(Color.parseColor("#5CE1ED"));
}
}
return convertView;
......
......@@ -15,7 +15,6 @@
android:layout_alignParentTop="true"
android:layout_marginLeft="@dimen/my_request_left"
android:layout_marginTop="@dimen/my_request_top"
android:text="Large Text"
android:textSize="@dimen/ruquest_descps_text_size"
android:textStyle="bold" />
......@@ -27,7 +26,6 @@
android:layout_alignStart="@+id/number"
android:layout_below="@+id/number"
android:layout_marginTop="@dimen/my_request_top"
android:text="Large Text"
android:textColor="#000000"
android:textSize="@dimen/ruquest_descps_text_size"
android:textStyle="bold" />
......@@ -51,7 +49,6 @@
android:layout_marginLeft="@dimen/my_request_right"
android:layout_marginTop="@dimen/my_request_new_top"
android:layout_toRightOf="@+id/approval_image"
android:text="Large Text"
android:textColor="#8e8e8e"
android:textSize="@dimen/ruquest_status_text_size" />
</RelativeLayout>
\ No newline at end of file
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 sign in to comment