- Joined
- Oct 19, 2022
- Messages
- 498
- Awards
- 4
Offline
Hey folks, just having some struggles getting some menu items to be "clickable" in Smarters v4
Have tried several combinations of android:clickable="true", but not having any success
As usual, I'm sure it's something pretty simple, that I should already know... lol
I've attached the dashboard.xml, and a snippet of the code in question
Any advice, as always; is greatly appreciated
Full dashboard XML layout file
Have tried several combinations of android:clickable="true", but not having any success
As usual, I'm sure it's something pretty simple, that I should already know... lol
I've attached the dashboard.xml, and a snippet of the code in question
XML:
<RelativeLayout android:background="@drawable/tbf_button1_new"
android:layout_width="@dimen/_30sdp"
android:layout_height="@dimen/_30sdp"
android:focusable="true"
android:layout_marginBottom="@dimen/_6sdp" >
<ImageView
android:id="@id/iv_radio"
android:layout_width="@dimen/_30sdp"
android:layout_height="@dimen/_30sdp"
android:layout_centerInParent="true"
android:clickable="true"
android:padding="@dimen/_9sdp"
android:src="@drawable/hp_radio"
android:tag="7" />
<TextView android:textSize="@dimen/_10sdp"
android:textColor="#ffffffff"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Radio"
android:layout_centerVertical="true"
android:fontFamily="@font/corsa"
android:layout_marginStart="@dimen/_5sdp"
android:layout_toEndOf="@id/iv_radio"/>
</RelativeLayout>
Any advice, as always; is greatly appreciated
Full dashboard XML layout file
Last edited: