making fonts get larger on larger screens

I have searched Stackoverflow and google and what I find is answers for people who want fonts to remain the same size but I want them to get bigger when the screen gets bigger. Specifically, I...

Change the height and width runtime for linearlayout in baseadapter in listview in android?

i want to change height of linearlayout which used in listview how can i change the height and width for that layout i will put my code here but is not change the height of linearlayout how to do...

How To Get which button or image is clicked in the listview android?

you can check it in image i have 2 view in listview left side imageview and right side buttonview other is textview but i have to call different activity when imageview call is start another...

How to put drawable as a background on InfoWindow (Google Maps API v2 for Android)?

This is my custom layout for my info window: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" ...

Custom ListView not populating

I've been dealing with this for a few weeks now. I've already seen all other related questions and it does not help. I'm trying to populate a custom ListView and can't for the life of me get it to...

Universal image loader imageview doesn't update itself with spinner

I'm using UIL to load thrumbs in a listview. here is the imageview and the spinner in the cell layout : <ImageView android:id="@+id/imgAlbum" ...

Android GPS accuracy in calculating distance issues

The problem I believe is well known. So what is my problem? I am writing an app that is using the GPS provider to find the location of the user and calculate the distance from the user to the end...

How to pass a read write datasource item from parent to child view in react-native?

Using react-native, how can a parent view, pass a read-write object to a child view, where it can be modified, then have the parent view re-render when the child returns to the parent view? I have...

String Alignment calculation different in R and Python

I am trying to calculate the Optimal String Alignment similarity score between two strings. However, the same measure gives two different values with R(using stringdist library) and Python(using...

List Near by places from Database Android

i have a table with list of places am using php with (constant coordinates as the users location) to get the nearest place to the user in json and passing it to android recycler view. What am...

Unable to install tensorflow on Win10 - ImportError: DLL load failed

Trying to run import tensorflow as tf but it failed. I just installed tensorflow but is not allowing to import it. This is the...

Levenshtein distance between list of number

Have this code , i want to have levenshtein distance between two list of numbers. import textdistance S1=[1,2,3,7,9,15,19,20] S2=[1,2,3,7,8,14,20] #convert lists to string Str1=‘’.join(str(e)...

Why is failing Pyspark when running an pandas_udf?

I'm getting this error when running pandas UDF in PySpark. This is the UDF that uses the external library textdistance: def algoritmos_comparacion(num_serie_rec, num_serie_exp): d =...

Use external library in pandas_udf in pyspark

It's possible to use a external library like [textdistance][1] inside pandas_udf? I have tried and I get this error: ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(),...

How do I calculate the Levenshtein distance between two Pandas DataFrame columns?

I'm trying to calculate the Levenshtein distance between two Pandas columns but I'm getting stuck Here is the library I'm using. Here is a minimal, reproducible example: import pandas as pd from...

Model not executing eagerly in tensorflow 2.0 with keras

from sklearn.model_selection import train_test_split from sklearn.metrics import mean_squared_error import statistics import keras import numpy as np import pandas as pd from keras.models...

Compare each element of CSV file to every element of a different CSV file, and find the most similar elements

I have two CSV files which I need to compare. The first one is called SAP.csv, and the second is SAPH.csv. SAP.csv has these cells: Notification Description 5000000001 Detailed Inspection...

Pandas udf loop over PySpark dataframe rows

I am trying to use pandas_udf since my data is in a PySpark dataframe but I would like to use a pandas library. I have a lot of rows so I cannot convert my PySpark dataframe into a Pandas...