removed tooltips (cf. #55)

This commit is contained in:
Josia Pietsch 2024-11-03 20:53:55 +01:00
parent 0543bcda55
commit 6376845dc9
Signed by: jrpie
GPG key ID: E70B571D66986A2D
2 changed files with 9 additions and 12 deletions

View file

@ -117,15 +117,9 @@ class ActionsRecyclerAdapter(val activity: Activity) :
viewHolder.textView.text = gesture.getLabel(activity)
val description = gesture.getDescription(activity)
viewHolder.descriptionTextView.text = description
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
viewHolder.textView.tooltipText = description
viewHolder.img.tooltipText = description
viewHolder.chooseButton.tooltipText = description
} else {
viewHolder.descriptionTextView.visibility = View.VISIBLE
viewHolder.descriptionTextView.text = description
}
if (LauncherPreferences.theme().monochromeIcons())
transformGrayscale(viewHolder.img)
updateViewHolder(gesture, viewHolder)

View file

@ -24,15 +24,18 @@
android:id="@+id/settings_actions_row_name"
android:text=""
android:textSize="20sp" />
android:textSize="20sp"
tools:text="Action label" />
<TextView
android:id="@+id/settings_actions_row_description"
android:gravity="start"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="11sp" />
android:gravity="start"
android:textSize="11sp"
android:visibility="visible"
tools:text="A verbose description of how to perform the action" />
</LinearLayout>