Aligning Two LinearLayout Side By Side Inside a CardView
问题 I am trying to align two TextView s OR LinearLayout s side by side in order to reach this cardView: I have used layout_gravity and layout_weight attributes inorder to solve this situation, but with no luck. I am open to any other suggestions that may accomplish my goal as log as I can generate cardview dynamicaly using BaseAdapter with ListView in the Activity Code. I am looking for XML solution. Here is my xml code: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http:/