Y yhyzhj Member Apr 11, 2020 #1 i use the code: Activity.Background = pm.GetApplicationIcon("com.google.android.youtube") , can show the icon. how to let it show in listview?
i use the code: Activity.Background = pm.GetApplicationIcon("com.google.android.youtube") , can show the icon. how to let it show in listview?
mangojack Expert Licensed User Longtime User Apr 11, 2020 #2 B4X: Dim bmd As BitmapDrawable = pm.GetApplicationIcon("com.google.android.youtube") ListView1.AddTwoLinesAndBitmap("Youtube", "Icon", bmd.Bitmap) Upvote 0
B4X: Dim bmd As BitmapDrawable = pm.GetApplicationIcon("com.google.android.youtube") ListView1.AddTwoLinesAndBitmap("Youtube", "Icon", bmd.Bitmap)