This is the code that I have used in my Android app to display certain info related to some person's BMI.
Few minutes ago, the code was working and everything was perfect but since I have made some changes that I don't remember specifically, the TextViews are not showing up, I don't know why, I am just a beginner. Do you have any idea about this problem ?
It seems that the textviews are there since when I switched on display bounds in developer options, the bounds are being shown as intended but I don't know what has gone wrong.
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
android:clipToPadding="false"
android:layout_marginTop="16dp"
android:background="@color/transparent"
android:id="@+id/result_parent">
<TextView
android:id="@+id/result_text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
android:elevation="10dp"
android:paddingBottom="8dp"
android:gravity="center_horizontal"
android:textColor="#ffffff"
android:textSize="34sp" />
<TextView
android:id="@+id/category_text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:elevation="10dp"
android:layout_marginTop="16dp"
android:gravity="center_horizontal"
android:textColor="#ffffff"
android:textSize="34sp" />
</LinearLayout>